Skip to content

TIKATEK

SQL Tech Stuff

  • View All Posts

Text manipulation Commands

Text manipulation commands in Linux are used to manipulate and process text files or streams of text data. They allow you to perform various operations such as searching, filtering, sorting, replacing, and transforming text. Here are some commonly used text manipulation commands

`cat file1 | command (sed, grep, awk, grep, etc …)> result.txt`

by admin

In the command you provided, “cat file1 | command > result.txt”, you can use various command-line utilities like “sed,” “grep,” “awk,” etc., in place of “command” to perform specific text
Read more →

cat file1 file2 .. | command > file1_out.txt

by admin

If you want to concatenate the contents of “file1” and “file2” using the “cat” command and then pass the output to another command, and finally redirect the output of that
Read more →

Recent Posts

  • How to import and export data base from Mysql
  • SQL Server Operators
  • SQL Server Window Functions
  • SQL Server Date Functions
  • SQL Server Mathematical functions
  • SQL Server Aggregate Functions
  • SQL Server String Functions
  • SQL Server System Functions
  • `init 0`(is used to initiate a system shutdown in Linux.)
  • `uname -r`(” is used to display the kernel release information in Linux.)
  • `apt-get install package_name`
  • `cat file1 | command (sed, grep, awk, grep, etc …)> result.txt`
  • cat file1 file2 .. | command > file1_out.txt
  • `badblocks -v /dev/hda1`(is used to scan for bad blocks on the device or partition “/dev/hda1” in Linux systems.)
  • `mkfs /dev/hda1`(is used to create a file system on the device or partition)
  • `mkswap /dev/hda3`
  • `dump -0aj -f /tmp/home0.bak home` (is used to create a backup of the “home” directory using the “dump” utility.)
  • `cdrecord -v gracetime = 2 dev = /dev/cdrom -eject blank = fast -force`
  • `ifconfig eth0`(command is used to display the configuration information of the network interface named eth0)
  • `iptables -t filter -L`(is used to list the current firewall rules in the “filter” table of the “iptables” utility.)
© 2025 TIKATEK • Built with GeneratePress