06 Flashcards
(55 cards)
What acronym is used for /etc/passwd?
Never pass up good chicks doing shots
What is the acroynym for /etc/shadow?
You have lost many matches, winning is everything
What is the acroynym for /etc/group?
Good pussy get’s soupy
What command changes permissions?
chmod
What are the different file types a file can have?
-(ordinary) b(device block) l(symbolic link) d(directory) c(character)
What are the two different ways to use chmod? Explain syntax
symbolic, numerically
chmod u=rw g=r o-w /my/file.txt
chmod 764 /myfile.txt
What do each of the permissions mean for diretories? RWX
R=Can read contents of directory
W= a;ter the contents within
X= can change into the directory, using cd
How do you get the version of powershell?
get-host
how do you get the ipaddress of powershell?
ipconfig
What command gives you help about windows cmdlets/concepts
get-help
How do you get a list of all the commands in windows powershell?:
get-command
How do you clear the screen in windows powershell?
clear-host
How do you get the path of the current working directory? In windows powershell
get-location
How do you set the path in windows powershell?
set-location
how do get a list of directory contents in windows powershell? /syntax
get-childitem
get-childitem path=C:\Windows\system32
How do you create a new diretory/file in powershell? /syntax
new-item
new-item -path=C:\Users\Bubo -name=baby -Itemtype=directory/file
How do you rename an item in windows powershell?
rename-item -path -newname
How do you copy an item in windows powershell?
copt-item -path -destination -recurse
How do you remove an item in windows PowerShell??
remove-item -path -include(if looking for anyhting specific)
How do you get a tasklist in Powershell?
get-process
How do you kill a process in Powershell?
stop-process -name -ID
What kind of OS does basic phones use? What about advanced phones?
Real-time OS, General-purpose OS
What’s multi-factor authentication? What are the three things it uses?
needing more then one way to properly authenticate (something you know, password) (something you have, token) (Something you are, fingerprints)
What are some android alternatives?
Lineage OS, Replicant