commands

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 …

How to delete directories using rmdir command in Linux? Read More »

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 …

How to create directories using mkdir command in Linux? Read More »