In the last post, I talked about command line tools that I use very often for search files. In this post, I will talk about command line tools for manipulating files or text content. Don’t forget to use man command to find detailed usage of a command. The following are commands that I use often to manipulate the content of a file or text input: echodisplay a line of text catconcatenate files and print on the standard output sedstream editor for filtering and transforming text sortsort lines...| Tech Notes from Steven
The command line utilities that I use most for searching/finding files in Linux operating systems are: findsearch for files in a directory grepprint lines matching a pattern locatefind files by name find The basic format of a find command is: find [location] [criteria] [actions] Some common examples are listed below: Find files by some name pattern: find /etc -name"*.conf" Find files by size find /var/log -size +1M There are other really useful filter options like: -empty, -newer, -perm, -typ...| Tech Notes from Steven
Asciinema is an open-source terminal recording tool that makes it super easy to share your command-line work with others.| Asciinema – Record and Share Your Terminal Sessions in Linux
In this article, you will learn how to install the dig and nslookup commands, which are used for network troubleshooting and gathering information about domains| How to Install and Use dig and nslookup Commands in Linux
Learn how to use the awk command in Linux with real-world examples. Master advanced text processing, pattern scanning, data extraction, and scripting with awk.| linuxhint.com
Nmap, short for Network Mapper, is an open-source and highly versatile tool used by Linux system and network administrators.| 24 Nmap Commands Every Linux Admin Should Use for Network Security
Creating users in Linux/Unix is a straightforward task. However, adding multiple users across multiple servers can be a time-consuming task, so you can automate this with a shell script to … The post How to Create Users using Shell Script in Linux first appeared on 2DayGeek.| 2DayGeek
It is a best practice to backup a configuration file before performing any activity on a Linux system, which helps you to compare the configuration files in case of any … The post How to Backup Configuration Files on Remote Linux System first appeared on 2DayGeek.| 2DayGeek
In this article, we will look at how to find a process name by its process identification number (PID) with the help of commands such as ps, top, and pidof.| How to Find a Process Name Using PID Number in Linux
Rsync Command in Linux:| Learnitguide.net - Learn Linux, DevOps and Cloud
Learn how to install, remove, and manage .deb packages in Debian-based systems using dpkg commands with real-world examples.| 15 Useful ‘dpkg’ Commands for Debian and Ubuntu Users [With Examples]