You are viewing a single comment's thread from:

RE: Useful commands for the GNOME Terminal 3.18.3 (Linux Mint, Ubuntu, Kubuntu, Xubuntu) in 2018

in #utopian-io7 years ago (edited)

Not a bad set of commands but you seem to want to use sudo to much. You only really need sudo if you don't have permission to do something. For example you use sudo to create a directory. You only need to do this if the location where you're trying to use is not user writable. This is a strong hint that this is probably not where you want to create a directory.

In general if you don't know you need sudo, don't use it and if you do need it think hard about why.

You can do a lot of damage to your system with sudo if you're not very careful.

Sort:  

Thanks for pointing out the thing about sudo. You are right.

However I usually don't use sudo to create directory/folder, so that was a typo.
I edited the post.
I also added the "How to remove/delete a directory/folder in terminal?" question and answer right after the "How to make/create a directory/folder in terminal?" question and answer, because I forgot that at the time of the writing of the post.