This is a part three of a short video series discussing some basics of using the Linux command line.
Aimed at users new to the Linux command line this tutorial gives advice and information for using the Linux command line after connecting to the terminal or via ssh.
yum update && yum upgrade
- Updates software repository and if successful upgrades installed software on the system.
df -h
-View space available on the server in a human readable format.
lsblk
- list disks, partitions and volumes for the server.
lscpu
- Details of server cpus.
top
- View live system usage information
free
- View available and used memory.
ssh [email protected]
- Connect via SSH from one Linux machine to another (in this case connect to the root user account for myserver.serverdown.co.uk)
ss -plnt
- List processes listening on TCP along with their port numbers.
hotnamectl set-hostname chosenhostname.serverdown.co.uk
- Set the hostname on a Centos system.
hotnamectl status
- Check the hostname of the system
- Part 1 of this series (Video)
- Part 2 of this series (Video)