I've deliberately summed up some of the common Ubuntu commands
sudo apt-get install software name installation software command
sudo nautilus Open file (with root permission)
SU root switches to "root"
LS lists the current directory file (excluding hidden files)
Ls-a list current directory files (including hidden files)
Ls-l list the files in the current directory for more information
Cd.. Back to the top-level directory of the current directory
CD-Back to the same directory
CD ~ or CD back to the current user's host directory
mkdir directory name Create a directory
RmDir Empty directory name Delete an empty directory
RM FileName File name Delete a file or multiple files
RM-RF non-empty directory name delete everything under a non-empty directory
MV Path/Document/warp/file movement relative to the path of the file to the absolute path
MV FileName New name renamed in current directory
Find Road via-name "string" finds paths in the range of files and directories that meet string matches
Fdisk-l Viewing system partition information
FDISK FDISK/DEV/SDB partition a new SCSI hard drive
Chown chown Root/home Change the owner of/home to the root user
CHGRP chgrp root/home Change the home/home group to the root group
Useradd Create a new user
Groupadd group name to create a new group
PASSWD User name create password for user
passwd-d User name Delete user password can also login
Passwd-s User name Inquiry account password
Usermod-l new username old user name renamed to User
Userdel–r User name Delete user everything
TAR-C Create Package –x release Package-v Display command procedure –z represents a compressed package
TAR–CVF benet.tar/home/benet Pack The/home/benet directory
TAR–ZCVF BENET.TAR.GZ/MNT Package and compress the directory
TAR–ZXVF benet.tar.gz Compressed Package file decompression and recovery
TAR–JXVF benet.tar.bz2 Decompression
Make compilation
Make install installs the compiled source package
Reboot Init 6 Restart Linux system
Halt Init 0 shutdown–h now shut down the Linux system
Uname-a Viewing the kernel version
Cat/etc/issue View Ubuntu version
LSUSB Viewing USB devices
sudo ethtool eth0 view NIC status
Cat/proc/cpuinfo Viewing CPU information
LSHW Viewing current hardware information
sudo fdisk-l viewing disk information
Df-h viewing the remaining space on the hard disk
Free-m View Current Memory usage
PS-A See which processes are currently in progress
Configuration ip:vim/etc/network/interfaces eth0: external eth1: Internal DNS (114.114.114.114 8.8.8.8)
Dns:vim/etc/resolv.conf
Restart:/etc/init.d/networking restart
Allow Ssh:vi/etc/ssh/sshd-config
Restart SSH:/etc/init.d/ssh restart
System upgrade: sudo apt-get update
Summed up the common Ubuntu commands