Linux Flashcards
Linux
Open source os
Gnu public license
License for linux software
How many distributions
Over 600
Daily use
Looking at an error log
Verify access
Working with distros for specific functionality
Package Manager
Software that helps users uninstall or install software
Shell
The terminal
Kernel
The part of Linux that does memory and resource management
Peripheral devices
All non-essential hardware
Parent distros
The top levels from which other distros are derived
Red hat is a parent of…
CentOS
Slackware is a parent of…
SUSE
Debian is a parent of…
Ubuntu and Kali
KALI Linux
Used for cybersecurity
Penetration test
Simulated attack to determine OS weaknesses
Metasploit
Software on Kali for finding vulnerabilities
Burp Suite
Good for finding vulnerabilities
John the ripper
Guesses passwords
Digital forensics
Collecting and analyzing data to figure out what happened after an attack
tcpdump
Captures network traffic
Wire shark
Used to visualize and analyze network traffic
Autopsy
Analyzes hard drives and smart phones
Ubuntu is used for
Cloud computing, as a server
Parrot is
Just like Kali, but easier to use
Red Hat is
Not free, and is for enterprise
CentOS is
Like Kali
Standard output
What the OS responds as a shell
Cat
Display contents of file
More (filename)
Browse through a text file
Less (filename)
Same as more, but additional features
Head (filename)
Output the top portion of the file
Tail (filename)
Output the ending of the file
Number of lines from head and tail
10 (can be increased with -n)
Tail -f
Shows files that are changing in real time
nano
A command to start editing with nano
vim
A better version of the vi editor
Vim command mode commands
Vim insert mode
Line Mode
Line mode 2
Deleting text in vim
Changing text in vim
Yanking files with vim
Vim undo and redo
Searching with vim
C-<char></char>
Like control
M-<char></char>
Meta key (alt key)
C-h
Help in emacs
C-x C-c
Exit emacs
C-x C-s
Save a file
C-h t
Built in tutorial for emacs
C-h k <key></key>
Describes the purpose of a key in emacs
C-p
Previous line
C-n
Next line in emacs
C-b
Back one character in emacs
C-f
Forward one character in emacs
M-f
Forward one word in emacs
M-b
Back one word in emacs
C-a
Go to beginning of line
C-e
End of the line in emacs
M-<
Beginning of file in emacs
M->
End of a file in emacs
C-d
Delete a character
M-d
Delete a word in emacs
C-k
Kill a line in emacs
C-y
Paste
C-x u
Undo
C-s
Start a forward search in emacs
C-r
Start a reverse search in emacs
C- u 3 command
Does the command 3 times
rm file
Delete a file
rm -r directory
Delete the directory and all files inside
rm -f file
Force delete a file without asking for permission or confirmation
cp source file destination file
Copy one file to another
cp srcffile destdirectory
Copy a src file to a destination directory
mv
Rename or move a file (can overwrite other files)
sort file
Sorts into alphabetical
tar
Like zipping or unzipping
tar options
Compression
Checking disk usage