1.11 Flashcards
What does the ‘Man’ command do ?
Offers a manual or help
In Linux What’s the command for online help ?
Man grep
What Linux command lists the directory ?
Ls
In Linux What command Displays the current working directory path ?
Pwd Or Print working directory.
In Linux what command renames a file ?
Mv
“move or rename”
What Linux command coppies or duplicates directories ?
CP
Will the Rm command remove directories ?
No. All files must be deleted or a ‘-r’ wildcard must be added to delete
In Linux How do you elevate priviliges in the shell ?
Sudo command
How would you modify file settings in Linux ?
Use the Chown command
Change-ownership
In Linux How do you change the mode of a file system ?
Chmod
What does the apt-get command do ?
Manages app packages i.e. install, delete, update.
What command manages app packages on the Yellowdog distro ?
Yellowdowg Update Manager or Yum command
What Linux command allows you to Manage the network interfaces ?
IP
What Linux command allows you to View interface addresses ?
IP address
What command allows you to view the routing table ?
IP routing table
What does the following command do ?
sudo ip address add 192.168.121.241/24 dev eth0
Elevates permissions to allow you to add an IP address to a interface called ‘eth0’ i.e. an ethernet port.
In Linux What command allows you to view the file system and the amount of free space ?
df
What linux command allows you to open a process similar to windows task manager ?
The ‘Ps’ command will allow you to view the current proccesses.
What will the following command show ?
ps -e | more
It’ll show all proccesses
In Linux What command allows you to View CPU, RAM, and resource utilizations ?
Top command
How would you locate a file by name or extension ?
Use the ‘find’ command
What does the following command do ?
find . -name “*.txt”
It’ll locate any file with the extension .txt
What does the nano command do ?
Opens a full text graphical based editor
What m Linux command Syncs files between storage devices ?
Rsync
What options are there to add SMB to Linux ?
Samba
Cd
Changes the current directory.
chmod
Changes(modifies) file perissions
Chown
Changes file ownership and group