Shared Flashcard Set

Details

Linux CLI terms
terms from Linux CLI textbook
32
Computer Networking
Professional
06/18/2014

Additional Computer Networking Flashcards

 


 

Cards

Term
what does "netstat -r" show
Definition
kernals networking routeing table
Term
what does * mean in the "netstat -r" field
Definition
that a gateway isn't needed
Term
What is the more feature complete FTP program
Definition
lftp
Term
What issues a remote cmd
Definition
$ssh _IP ADDRES__ free
where the "free" command shows us the free ram
Term
how do I show the remote gui
Definition
$ssh -X _IP_
$xload
Term
whats the main advantage of sftp
Definition
no server needed everything is done via ssh
Term
whats the main use of "locate"
Definition
locates file on name alone
Term
whats the main reason to use find
Definition
locate file based on several attributes
Term
whats an example find cmd to find within the home directory
Definition
$find ~
Term
how do I pipe finds results into a cmd
Definition
$find ~ | we -l
Term
what are the 3 find criteria
Definition
tests
actions
options
Term
cli use find to output a directory count
Definition
$find ~ -type d | we -l
Term
what are the b,c,d,f,l types of the find command
Definition
b = block
c = character
d = directory
f = file
l = link (symbolic)
Term
what are the tests of the find cmd
Definition
name
size
type
(nst)
Term
what are the 3 logical operators
Definition
and
or
not
Term
what are the find actions
Definition
delete
ls
print
quit
Term
finds "-ok" operator does what
Definition
requires action before proceeding
Term
What does a $ mean in a shell script
Definition
It marks it as a variable
Term
Where do you place universal scripts
Definition
/usr/local/bin
Term
What's a good place to put bash scripts for admin use
Definition
/usr/local/sbin
#sbin which stands for system bin
Term
What is a variable
Definition
a value that changes ex: Title = yolo $Title
Term
What is a constant
Definition
it has a name and contains value but it never changes ex: Hello
Term
What is a value
Definition
what goes into a variable
Variable written as a value = String
Term
What is a string
Definition
a value inside a variable

ex:
title=value
string=$title
Term
What is a math variable in shell look like?
Definition
e=$((5 * 7))
Term
what does the 'touch' cmd do
Definition
update timestamp
Term
how do I copy files
Definition
mv file1 file2
Term
How do I add a user
Definition
useradd usernamehere
(then...)
passwd
Term
Modify user
Definition
usermod
Term
What is BASH
Definition
cli program that runs basic commands
Term
What does & sign do in BASH
Definition
Gives control back to CLI and backgrounds task
Term
What does "grep" do
Definition
Takes input and matches line
Ex: fstab | grep sdda
Supporting users have an ad free experience!