There are three basic types of Linux user accounts: administrative (root), regular, and service. The Linux administrative root account is automatically created when you install Linux, and it has administrative privileges for all services on Linux Operating System. The root account is also known as super user Regular users have the necessary privileges to performContinue reading “User Types (sudo, su, id, w, who and id commands)”
Author Archives: Farzand Ali
wc and nl commands in Linux (word count)
6 WC Command Examples to Count Number of Lines, Words, Characters in Linux The wc (word count) command in Unix/Linux operating systems is used to find out number of newline count,word count, byte and characters count in a files specified by the file arguments. The syntax of wc command as shown below. # wc [options]Continue reading “wc and nl commands in Linux (word count)”
cut command in Linux
10 Practical Linux Cut Command Examples to Select File Columns Linux command cut is used for text processing. You can use this command to extract portion of text from a file by selecting columns. This tutorial provides few practical examples of cut command that you can use in your day to day command line activities.Continue reading “cut command in Linux”
sort command in Linux
14 Useful Examples of Linux ‘sort’ Command Sort is a Linux program used for printing lines of input text files and concatenation of all files in sorted order. Sort command takes blank space as field separator and entire Input file as sort key. It is important to notice that sort command don’t actually sort theContinue reading “sort command in Linux”
grep command in Linux
12 Practical Examples of Linux grep Command Have you ever been confronted with the task of looking for a particular string or pattern in a file, yet have no idea where to start looking? Well then, here is grep to the rescue! grep is a powerful file pattern searcher that comes equipped on everyContinue reading “grep command in Linux”
find command in Linux
Ten ‘Find’ Command Examples for Beginners find command is used for locate files in a directory hierarchy on Linux/Unix systems. You can search for files according to name, owner, group, type, permissions, date and other criteria. The search is recursive in that it will search all sub directories too. If you are a beginner, the following examples will makeContinue reading “find command in Linux”
Tail command in Linux
10+ useful tail command’s switches with example – Unix/Linux The tail command By default, the tail command prints the last 10 lines from the file which is given followed by the tail command. In the case of more than one file with tail command displays separate output with a header identifying the file name. TailContinue reading “Tail command in Linux”
Linux head Command Options with Examples – Display First Part of Files
In Linux system, we have some alternatives about how to display a content of text files. We can use cat command, more command or less command. Another command to do it is head command. What is head command Head is command that will print only the first part of a text file. So when youContinue reading “Linux head Command Options with Examples – Display First Part of Files”
less command in linux with examples
less is part of the GNU project and is free software. It is a program similar to more, but which allows backward movement in the file as well as forward movement. Also, less does not have to read the entire input file before starting, so with large input files it starts up faster than textContinue reading “less command in linux with examples”
tcpdump command
12 Tcpdump Commands – A Network Sniffer Tool In our previous article, we have seen 20 Netstat Commands to monitor or mange Linux network. This is our another ongoing series of packet sniffer tool called tcpdump. Here, we are going to show you how to installtcpdump and then we discuss and cover some useful commandsContinue reading “tcpdump command”