Linux and Unix ls command tutorial with examples

ls command list all the file and directory name present in the current directory. Syntax:

Example: Print the name of all the directory and file available in the current directory.

Above command display four file and directory name. Check availability of file or directory: We can check whether a particular file or directory … Read more

Linux and Unix rmdir command tutorial with examples

rmdir stands for remove directory. In the UNIX file system, we can remove directory by using rmdir command. Syntax:

Note: In above syntax in the place of [directory name] we will specify the name of the directory to be removed. Example:

The directory abc is removed. To confirm directory is created press “ls” … Read more