PE from bash day 2 Flashcards
to close with and destroy the enemies of the united states of america
What type of loop will terminate if the command raises to be false
While
What type of loop will terminate if the command becomes true?
Until
What character can be used to match any character?
*
What command would you use in order to use the output of one command as the input for another command?
(pipe)
Where does information about the file system such as its size and block size reside?
superblock
Scripts should first be made executable by using which command?
chmod 777
what files store shell commands?
sh
Which type of input is occurring in the command: myscript < mydata.txt?
stdin (standard input)
If you wanted to hav a certain word set for a single letter (example when you use p, it really means pie), what command would you use to do this?
Alias
What is the “s’ permission bit on a file?
s indicated SUID (does not run with the privileges of the user who launched it, but with that of the file owner instead)
What utility can you use to copy a file from one machine to another?
SCP
How many types of shells are there?
dumb question but 4
A dot (.) in front of a file means that it’s what?
hidden
How many bytes is the typical size of a unix block?
1024 i guess
3 types of file permissions
read, write and execute