Prepare a file for printing
Jun 11,93The pr command prepares a text file for printing in Linux. By default, pr adds headers that include the filename, …
Read MoreConvert tabs to spaces
Jun 11,93To convert tabs in a text file to spaces, you can use the expand command. To convert each tab to …
Read MoreMerge files line by line
Jun 11,93To merge files line by line, you can use the paste command. By default, the corresponding lines of each file …
Read MoreJoin lines of two files
Jun 4,93The join command joins lines of two files on a common field. By default, fields are separated by spaces, although …
Read MoreRemove duplicate lines from a text file
Jun 4,93The uniq command is used to remove duplicate lines from a text file in Linux. By default, this command discards all …
Read MoreShow the full path of shell commands
Jun 4,93The which command shows the full path of shell commands in Linux. This command searches only paths set in the …
Read More