Ubuntu VirtualBox Commands 9A 9C 9D
Ubuntu VirtualBox Commands 9A 9C 9D
which
Command: which ls
history
Command: history
id
Command: id
lpstat
Command: lpstat -p
Explanation: Displays printer status. Install with: sudo apt install cups
lpq
Command: lpq
Explanation: Displays the print queue. Install with: sudo apt install cups-bsd
cat
cmp
tar
Command: tar -cvf archive.tar file1.txt file2.txt
find
Explanation: Finds all '.txt' files recursively from the current directory.
vim
Explanation: Opens file1.txt in the vim editor. Install with: sudo apt install vim
gzip
bzip2
unzip
Explanation: Extracts files from a .zip archive. Install with: sudo apt install unzip
who
Command: who
whoami
Command: whoami
su
Command: su -
Explanation: Switches to the root user or another user.
sudo
login
logout
Command: logout