Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
27 Cards in this Set
- Front
- Back
What are the 3 address classes of IPv4 address? Which one is most commonly used? |
Class A: 255.0.0.0 Class B: 255.255.0.0 Class C: 255.255.255.0 |
|
What does the command "ip a" do? |
Shows you network info, the equivalent of ipconfig in Windows. |
|
Where are the network scripts in linux? |
cd /etc/sysconfig/network-scripts |
|
What does the "ls" command do? |
Lists all the current files and directories in the current working directory. |
|
What does the command “nmcli d” do? |
shows all network adaptors and their names in linux |
|
What command restarts the network adaptors? |
systemctl restart network |
|
ifdown "adaptor name" |
Brings down the network |
|
ifup "adaptor name" |
Brings up the network |
|
"dev" directory? |
Where all keyboard devices cetera |
|
"home" directory |
users profiles |
|
"lib" directory in root? |
Code behind the application, which helps you to use the program |
|
"meda" directory |
where media is handled |
|
"mnt" in root directory |
for mounting |
|
"proc" directory |
processor information |
|
"sbin" directory? |
executables are stored |
|
"usr" directory in root? |
For users to play in |
|
* "var" directory in root? |
Var has a lot of important stuff in it. Almost all programs have LOG files in var. Website based data also goes into var. |
|
What does the command "cat" do? |
prints text file into console |
|
What does the "tail" command do?(what does the -f parameter do?) |
Prints last few lines of file into console. -f allows you to see the events into the log file in real time.
|
|
How to get help on a command? |
use --help after command like "cat --help" |
|
What does "grep" do? |
Allows you to search for the file |
|
cat <filename> | grep -i "" |
|
|
What does the "head" command do? |
Prints first 10 lines of the file into console . |
|
What does the command "mkdir" do? |
Makes directory in pwd. mkdir
|
|
what does the "touch" command do? |
creates a file. touch |
|
What does the "rm" command mean? |
to remove a file or directory. rm |
|
What does the "mv" command mean? |
moves the directory |