09 February

Access Control List (ACL)

The standard Linux permissions are suitable for most situations but they have their own limitations. The standard permissions limit access to file owner, group owner and others. But, what-if we want to grant specific permission to another named user, other than the user-owner or another named group other than the group-owner. Access Control List (ACL) […]

05 February

Scheduling recurring tasks using crontab command

As a user if you want to schedule certain activities which should repeat themselves on their own at some time in the future i.e., you want to schedule recurring tasks then use the crontab command. In this post we will learn scheduling recurring tasks using crontab command There are different ways to use the crontab […]

27 August

How to create links using ln command in Linux?

Links in Linux are like Short-cuts in Windows. We create a shortcut for a file/folder in Windows so that the original file can be accessed from multiple locations. The same concept goes for links. Links help to access the file from multiple directories. Before we learn how to create links using ln command in Linux, […]

17 August

How to copy files using cp command in Linux?

The cp command in Linux is used to copy files and directories. Syntax $cp [OPTION]… SOURCE…Directory The SOURCE here means all the files that you want to copy and the last argument must be a Directory where you want to copy the files For Example $cp notes.txt D1 will copy the file notes.txt to directory […]

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 […]