Cyber 1-2 Flashcards
Mkdir
Make directory
Touch
Create file
Osint
Open source intelligence
Ls
List, list contents of directory
Man
Manual, for commands, will display what commands do and their options.
Ls -l
Long list, gives some info on all items in directory
Dark blue in linux
Directory
Green in linux
Executable file
RWX on ls -l list
Read, write, executable file
Ls -a
Used to read everything in a directory, even hidden files
Ssh
Secure shell, used to remote into other systems
Clear
Will clear screen
Tab
Will automatically complete long commands
Dpad up and down
Historical commands for fast retrieval
History command
Will show everything that has been run
Cd
Change directory
Pwd
Shows the working directory
Cd .. or cd../..
Move back 1 or 2 directories
Cd ~
Home directory
Cd /
Change to root directory
Bin
All binary files on system, commands, apps, etc. Green = executable files, teal=link file
Etc
Config files
Opt
3rd party, non os files
Tmp
Temporary directory, deleted when system reboots
Usr
User files
Var
Log files
Media
Removable media devices
Mnt
Where you mount media devices to. Not like PC where automatic
File command
Lists what a file is
Tree command
Shows the path from the current file to where you are at.
Cp
Copy file
*
Wildcard. Use to copy anything starting or ending with *. Ex. *config. Or use alone to move everything
Mv
Move files
Rm
Remove files
Sudo
Commands for super user access, will need password