![]() ![]() The -r option tells the rm command to remove the content of a directory recursively. To remove a directory and their contents use the following command. The rm command is very useful when it comes to removing files or an entire directory including everything in it such as files and subdirectories. ![]() It tells the user that a new directory has been created with the use of the mkdir command. In short words the above output is very self explanatory. Running the above command on my system gives me the following output on my Ubuntu console. A simple example of such usage is show below. You can also use the -v while working with the mkdir command to print a useful message for each directory you create. In the above command mkdir is the command, and linuxcommands is the name of the directory you want to create. If you would like to create a new directory on your linux machine you can do it right now by using the following command. The mkdir command is used to create a new directory. It is time to show you guys some other useful linux commands that have helped me working on my ubuntu system. Do you know how to create a new directory, do you know how to remove it? Can you empty your trash from the commandline? ![]() ![]() To be honest this is only the beginning of working with the linux console. You know how to list files in a directory by using the ls command, you know how to change the working directory by using the cd command, you can download a file with the wget utility and maybe you understand how to properly use the grep command to find different files on your linux computer. Some Basic Linux Commands I Have Used During My Linux Journey – Part 1.At least you know what are you doing most of the time with your system. it comes a point where you say to yourself: Damn I have learned some many commands, I went from being a total newbie to an intermediate linux user. As you keep working on linux you get better and better on the command line. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |