I have some questions about some Terminal commands:
Why must you do
sudo apt-get updatebefore installing an program or after downloading something? Does it update Ubuntu then?What is the different between
sudo gedit /location/to/afile.txtandgksu gedit /location/to/afile.txt?Why people don't use
-yon the end of a command, like for example insudo apt-get install programx -y.What does the
-iand-l(are there any more) mean in a Terminal?How can I unpack any .zip or .tar.gz file in a Terminal?
aptis doing what it should or something utterly stupid (its very good at that) 4. depends on the program - runCOMMAND --help,COMMAND -horman COMMANDto find what those options do for that command 5. http://askubuntu.com/questions/262068/how-to-extract-a-tar-gz-file and http://askubuntu.com/questions/86849/how-to-unzip-a-zip-file-from-the-terminal – Wilf Jun 02 '14 at 08:19