User Types (sudo, su, id, w, who and id commands)

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)”

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)”

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”

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”