Skip to main content

File Manipulation Commands

Various Linux commands that let you manipulate the contents of a file.

A collection of 8 posts

Uniq command
File Manipulation Commands

uniq Command Examples

The uniq command in Linux and Unix is used for removing duplicate lines from a file. Learn how to use uniq command with these examples.

ยท Christopher Murray

sort command in Linux
File Manipulation Commands

sort Command Examples

Sort command in Linux is used for sorting the contents of the text files. This tutorial shows you some basic examples of the sort command.

ยท Christopher Murray

tr command in Linux
File Manipulation Commands

tr Command Examples

The tr command in Linux is used to perform simple but useful translations of one set of characters into another. Learn some practical examples of the tr command.

ยท Abhishek Prakash

Convert tabs into spaces
File Manipulation Commands

expand Command Examples

This tutorial teaches you to convert the tabs into spaces in Linux command line from the programming perspective.

ยท Abhishek Prakash

tee Command Examples
File Manipulation Commands

tee Command Examples

If you want to display the output of a command and save it to a file simultaneously, tee command is what you need. Learn various ways of using tee command in Linux.

ยท Abhishek Prakash

paste command in Linux
File Manipulation Commands

paste Command Examples

Learn how to use the paste utility on practical examples to merge text files, and discover a couple of tricks and pitfalls of that command at the same time.

ยท Sylvain Leroux

cut command
File Manipulation Commands

cut Command Examples

The cut command in Linux allows removing data on each line of a file. Read this tutorial to know how to use it effectively to process text or CSV data file.

ยท Sylvain Leroux

Linux grep command examples
File Manipulation Commands

grep Command Examples

The grep command is used to find patterns in files. This tutorial shows some of the most common grep command examples that would be specifically beneficial for software developers.

ยท Sylvain Leroux