12 August

How to delete directories using rmdir command in Linux?

rmdir command in Linux is used to delete empty directories. Empty directory means a directory which do not have files or sub-directories. So, lets learn how to use mkdir command in Linux. Syntax $rmdir [OPTION]…DIRECTORY… Example The example above shows the deletion of directory Dir using rmdir command in Linux. Options used with rmdir in […]

10 August

How to create directories using mkdir command in Linux?

mkdir command in Linux is used to create new directories. What you call Folders in Windows are called Directories in Linux. Creating directories is important as they help to organize the files. So, lets learn how to use mkdir command in Linux. Syntax mkdir [OPTION]…DIRECTORY… creates directories if they do not already exist. Example the […]

08 August

How to use man command in Linux?

man is the system’s manual pager. The man command in Linux is an interface to the on-line reference manuals. It is best place to understand any command in Linux. So, lets see how to use man command in Linux? Syntax $man <argument> Example $man ls will display the manual page for ls command Description A […]

06 August

How to delete files using rm command in Linux?

Use rm command in Linux is used to delete the files. Although by default it can remove files only but rm command can also be used to delete directories using certain options (a less known fact to beginners). Syntax rm [OPTION]…[FILE]… Example The ls shows that originally there are three files. Then we use the […]

30 July

How to use head and tail Command in Linux

In this post we are going to discuss – How to use head and tail Command in Linux head The head command is used to output a subset of lines from the file starting from the top. By default it will output the first 10 lines. Syntax of head command $head [OPTION]…[FILE]… Example $head grepfile […]

27 July

5 Basic Linux Commands for Beginners

So, now that you know how to get to command line the next step is to start using it. We will discuss 5 basic Linux commands for beginners. Understanding the General Command Syntax Any command will have the following syntax command options arguments command: refers to the command name. For example, ls, pwd, date, chmod […]

24 July

Accessing Command Line in Linux

The power of Linux lies in its command line. So, the first thing to know is – how to access command line in Linux? There are two ways of accessing command line in Linux:1. Opening an application (called Terminal) within the GUI2. Opening one of the Virtual Consoles 1. Opening an application (called Terminal) within […]

19 July

Prerequisites For Learning Linux

Planning to learn Linux! Wonder what you all hardware, software or personal skills to require before you begin. So, lets discuss the prerequisites for learning Linux. What is Linux? Linux is an open-source Operating System which helps you to operate your computer/laptop. So, its objective is similar to that of Windows/macOS. There are many Linux […]

07 July

How to use grep command in Linux?

grep command in Linux is used to search for patterns within a file i.e., it will help to your search for content within a file. For example, if you want to search for “help” within a file f1.txt, then you can use grep command. A pattern is different from a word. For example, the as […]