operating systems exam Flashcards
Get root privilege for one command only
sudo <mycommand></mycommand>
Update the repository.
sudo apt update
Get an app from the repository
sudo apt install <name></name>
Remove an app from the repository
sudo apt remove <name></name>
Clear the screen
clear
prints the full name (the full path) of current/working directory
pwd
list the names and features of files and directories
ls
list information about files and directories within the file system
ls -l
change current working directory
cd
prints the previously used directory and changes to it.
cd -
to display the contents of a file
cat <filename></filename>
o see the virtual memory swap file called swapfile in the root directory
ls –l /
To see disk information
sudo fdisk -l
what is an iso file
An ISO file is an exact copy of an entire optical disk such as a CD, DVD, or Blu-ray archived into a single file.
display the contents of a directory in ascending order alphabetically
dir
go back to the parent directory
cd..
go back to the root directory
cd /
sudo apt install <filename></filename>
installs an application
display the free disc space of a specific file system.
df -l