UBUNTU - cheatsheet for terminal

By ReachOutForBits | internetthing | 26 Sep 2020


If you ever needed a quick look at some powerful commands from Ubuntu just for some quick tech work - this list should help just enough:

1.     sudo apt update

This command does not update your computer but rather "pulls" information from Ubuntu servers and lets you know if you can upgrade

2.      sudo apt-get full-upgrade

This command does updates through an upgrade process where updates are downloaded and then the machine you are updating runs an upgrade process in terminal and will inform you of any information's like bugs or failures

3.       sudo nano /etc/hosts/

This command will allow you to open your hosts file and then edit any contents. remember to press ctrl+x to save your edits!

4.        sudo apt-get install packageexample*

This command will let you download a package for install, make sure you have all dependencies or else your program may fail! other common issues are improper build environments, and missing module!!!!!!   learn about your environments as Ubuntu can become highly customizable; but with great power comes great responsibility!

5.         ip addr show

This command will show you your IP ADDRESS; also - ip route show - is a part of this set of commands

6.         --help

This command usually prompts a program in terminal to show a help file, some programs have a MAN file

7.        sudo apt remove packageexample*

This command does exact opposite of install. It removes.

8.        reboot

This command will allow you to reboot --whereas-- shutdown - will schedule a shutdown - usually within a minute

9.      exit

This command will close your terminal window

-----

just as a side note:

the up and down arrows can be used to "sift" thru previous commands

How do you rate this article?

3


ReachOutForBits
ReachOutForBits

Crypto-currency enthusiast, hodler, speculator, predictor and analyst. Enjoys earning, and coffee. dis place is awezum! KILLING CORONAVIRUS WITH COMPUTERS SINCE 2020


internetthing
internetthing

Random-ish reports, analysis, tests, reviews, opinions, new things and new sites - Basically anything publish0x will allow me to write and post about. Ready to read yet?

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.