Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
215 Cards in this Set
- Front
- Back
?
|
Shell wildcard exactly one character
|
|
*
|
shell wildcard matches any group of 0 or more characters
|
|
acpi
|
Shows information from the /proc filesystem, such as battery status or thermal information
|
|
adduser user group
|
command to add user to a group
|
|
& after command
|
To start a program directly in background mode so that it doesn't lock your terminal
|
|
alpine
|
Alpine Linux is an independent, non-commercial, general purpose Linux distribution designed for power users who appreciate security, simplicity and resource efficiency.
|
|
alt-F2
|
to bring up a run command prompt in kde
|
|
Alt-F7
|
Switch back to X window from terminal
|
|
anacron
|
can be used to execute commands periodically, with a frequency
|
|
apmd
|
an monitoring daemon for the Advanced Power Management subsystem
|
|
apt-get
|
The apt-get utility is a package management program. Works with Ubuntu’s Advanced Packaging Tool library. Performs installation, removal, upgrade of new software packages. Also can upgrade entire operating system.
|
|
aptitude
|
is now the recommended utility for package management
|
|
aptitude dist-upgrade
|
intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary.
|
|
aptitude upgrade
|
upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded
|
|
apt-spy
|
creates sources.list automatically, based on latency and bandwidth
|
|
arp
|
to check a network card and get the address quick (not always IP)
|
|
cat /proc/cpuinfo
|
to get info on the cpu
|
|
cat /proc/version
|
Linux version and other info
|
|
cd
|
Change directory to the current user's home directory
|
|
cd /
|
go to root directory (not root's home)
|
|
cd ..
|
Change directory to the parent directory
|
|
cd ~foo
|
Change directory to the home directory of the user foo
|
|
cd /foo/foo
|
go to /foo/foo directory
|
|
cd /home
|
command to change current dir to /home
|
|
cd /home
|
enter to directory '/home'
|
|
cfdisk
|
ncurse partitioning tool
|
|
clear
|
cmd to empty terminal window
|
|
>cmd --help
|
to get help with a command
|
|
commandname --help OR -h
|
brief help for command
|
|
configure-debian
|
central configuration program for packages using debconf
|
|
cp lorem.txt copy_of_lorem.txt
|
cmd to copy a file
|
|
cream
|
gui for vim
|
|
cron
|
time-based job scheduler
|
|
crontab
|
list of commands that you want to run on a regular schedule, and also the name of the command used to manage that list. crontab stands for "cron table,"
|
|
Ctrl-Alt-Del
|
key combination to shutdown computer
|
|
Ctrl-Alt-F1
|
To switch to a virtual terminal
|
|
Ctrl-Alt-F1..F6
|
switch to console mode
|
|
Ctrl-Alt-F1 through F6
|
Switch to other pseudo-terminals
|
|
Ctrl-Alt-F7
|
switch to desktop mode
|
|
Ctrl-C
|
Terminate a running program
|
|
Ctrl-D
|
exit shell
|
|
Ctrl-H or backspace
|
Erase a character before cursor
|
|
Ctrl-U
|
Erase line before cursor
|
|
date
|
command for date and time
|
|
df
|
cmd to find out disk space
|
|
df -h
|
outputs the disk free in a more user-friendly readable format
|
|
DHCP
|
Dynamic Host Configuration Protocol
|
|
dir
|
cmd to display directory contents
|
|
dmesg
|
Diagnostics and troubleshooting - give us details about hardware drivers connected to, disconnected from a machine and any errors when hardware driver is loaded into the kernel.
|
|
dpkg --configure -a
|
configures all partially installed packages
|
|
dpkg --configure -a
|
configures all partially installed packages
|
|
dpkg -i
|
used to install .deb pkg, as in #dpkg -i fetchmail_6.2.5-4_i386.deb
|
|
dpkg -i package.deb
|
To view versions of all installed packages
|
|
dpkg-reconfigure
|
reconfigure an already installed package
|
|
dpkg-reconfigure --all
|
reconfigure all packages
|
|
du -h /bin
|
cmd Estimate file space usage
|
|
/etc/
|
the place for the system wide configuration files
|
|
/etc/apt
|
has the apt configuration folders and files
|
|
/etc/apt/sources.list
|
debian list of repositories, used by apt, aptitude
|
|
/etc/apt/sources.list
|
file where list of repositories is kept, for apt
|
|
/etc/init.d/networking start
|
command to start the networking service
|
|
/etc/init.d/networking stop
|
command to stop the networking services
|
|
/etc/network/interfaces
|
location of network settings, config
|
|
/etc/network/interfaces
|
This file describes the network interfaces available on your systemand how to activate them
|
|
exit
|
Close shell. If this is your login shell, you will log out
|
|
fbpanel
|
simple, lightweight panel good for openbox, etc.
|
|
find hello*
|
cmd Search for files in a directory hierarchy
|
|
finger
|
to see who's on the system
|
|
finger username
|
to see a users info who's on the system
|
|
FOSS
|
free and open source
|
|
free
|
Display amount of free and used memory in the system
|
|
free
|
shows memory, swap, buffers
|
|
gdm
|
gnome's graphical login daemon
|
|
gnome-system-log
|
gnome app to display log files
|
|
gparted
|
gui partition tool
|
|
grep
|
search with files?
|
|
groups
|
Outputs the user groups of which your account belongs to
|
|
groups
|
command to see what groups you belong to
|
|
--help
|
typing a command followed by _____ will usually display a short summary of the command's usage
|
|
history
|
in shell command for the BASH environment that shows the last run commands
|
|
/home/
|
the directory which contains all the home directories for all non-privileged users
|
|
hostname
|
Outputs the machines hostname on the network
|
|
htop
|
top with more features
|
|
id
|
id tells you what user you are and what group you are in
|
|
id username
|
Print user id (uid) and his/her group id (gid), effective id (if different than the real id) and the supplementary groups
|
|
ifconfig
|
command allows the operating system to setup network interfaces and allow the user to view information about the configured network interfaces
|
|
ifconfig [network device] down
|
command to bring a net interface down
|
|
ifdown eth0
|
to bring down eth0
|
|
ifup eth0
|
to bring up eth0
|
|
iotop
|
app to monitor hard disk read/write
|
|
ips
|
an intelligent ps-like program which displays process status
|
|
iwconfig
|
command to get wifi, wireless interface info
|
|
iwlist scan
|
show wireless networks
|
|
iwlist wlan0 scan
|
Give the list of Access Points and Ad-Hoc cells in range (ESSID, Quality, Frequency, Mode etc.
|
|
kdm
|
kde's graphical login daemon
|
|
kmenuedit
|
to edit kde menu
|
|
ksysguard
|
kde gui tool to monitor and kill processes
|
|
ksystemlog
|
kde app to display log files
|
|
last
|
Show listing of last logged in users
|
|
lenny
|
debian testing
|
|
lenny
|
debian testing
|
|
ln -s data.txt symlink.txt
|
Make links between files
|
|
logout
|
to leave session
|
|
logout
|
to logoff the system
|
|
ls
|
List directory contents
|
|
ls -alt /usr/bin
|
to see a list of all files (including .rc files) and all directories located in the current or specified directory
|
|
lshw-gtk
|
gui for hardware info
|
|
ls -la
|
show all files and directories with detail info
|
|
ls -lh /var/lib/mlocate/mlocate.db
|
finds size of a file
|
|
lsmod
|
Show the kernel modules currently loaded
|
|
ls | more
|
Lists files and directories page after page
|
|
lspci
|
displays devices, pci
|
|
lsusb
|
shows usb devices
|
|
lsusb
|
to get a list of detected devices
|
|
LVM
|
Logical Volume Manager
|
|
macchanger
|
program to change MAC address
|
|
man bash
|
Opens the manual page for a software or function, in this case for 'bash'
|
|
man command
|
to pull up information about a Linux command
|
|
man command_name
|
displays the man or manual of that command
|
|
man command OR info command
|
to see documentation on most commands
|
|
man hier
|
info about filesystem hierarchy
|
|
man x
|
to retrieve man pages for a command
|
|
mc
|
command to run midnight commander file manager
|
|
midnight commander (mc)
|
probably the mostly commonly used ncurses, menu driven file manager
|
|
mkdir
|
create directory
|
|
mkdir foobar
|
Makes a directory
|
|
mlocate foo
|
cli search for foo
|
|
mount
|
cmd to list mounted partitions
|
|
mount /dev/hda2 /mnt/hda2
|
mount disk called hda2 - verify existence of the directory '/ mnt/hda2'
|
|
mount /dev/xxx
|
Mount the device xxx |
|
multitail
|
allows you to monitor logfiles and command output in multiple window (splitscreen)
|
|
mutt
|
email, esp. good for reading system message reports
|
|
mv lorem.txt ipsum.txt
|
to move a file
|
|
nano /etc/security/access.conf
|
cmd and filename to start a common, basic text editor on most Linux systems
|
|
nano /etc/X11/xorg.conf
|
manually edit xorg.cong file
|
|
netstat
|
Summary of network connections and status of sockets
|
|
netstat -a
|
find all open ports
|
|
nslookup www.hostname.com
|
Checks the domain name and IP information of a server
|
|
passwd
|
change password
|
|
passwd
|
to change your current password
|
|
passwd user1
|
change a user password (only by root)
|
|
pcmanfm
|
fast lightweight file manager
|
|
pid
|
process ID
|
|
ping
|
can be used to test reachability of IP addresses
|
|
ping -c 2 127.0.0.1
|
to ping a host
|
|
ping IP or hostname, www.yahoo.com
|
Sends test packets to a specified server to check if it is responding properly
|
|
POP3
|
protocol for receiving mail, "fetching"
|
|
postfix
|
|
|
poweroff, halt or shutdown -h now
|
3 possible commands to shutdown computer
|
|
/proc
|
a pseudo-filesystem and contains information about the system and running processes
|
|
ps
|
list every process associated with the specific user running on the server
|
|
ps aux
|
get a list of all running processes
|
|
pstree
|
shows the running processes as a tree
|
|
pstree -ua
|
to get a full tree of processes by user along with the parameters
|
|
pwd
|
Outputs the name of current working directory
|
|
q
|
press this letter to exit many shell programs, such as top
|
|
reboot
|
alternate command to reboot
|
|
reboot OR shutdown -r now
|
2 commands to reboot the system
|
|
rkhunter
|
rootkit finder
|
|
rm -r my_directory
|
Remove the directory and its contents recursively
|
|
rm -v file.txt
|
Remove verbosely, explain what is being done
|
|
rm /xxx/xxx
|
to delete a file or directory?
|
|
route
|
command to get routing table
|
|
route -n
|
command to get routing table with all IP addresses
|
|
rox, rox-filer
|
fast lightweight file manager, single click capable
|
|
rwho -a
|
Determine all users logged on your network
|
|
shutdown -h now
|
Bring the system down in a secure way
|
|
shutdown -h now
|
shutdown computer
|
|
shutdown -r now
|
reboot
|
|
sid
|
debian unstable also known as
|
|
SMTP
|
protocol for sending mail
|
|
ssh
|
should be used in place of Telnet for enhance security
|
|
ssh
|
a network protocol that allows data to be exchanged using a secure channel between two computers
|
|
SSH
|
secure shell protocol
|
|
synaptic
|
popular gui apt package manager
|
|
syslogd
|
system logs messages from this daemon
|
|
TAB
|
Complete input of the filename to the command line
|
|
tail /foo/foo
|
outputs the last part of file foo
|
|
tail /var/log/messages
|
displays last several lines of system messages
|
|
tail /var/log/messages
|
to view last several lines of system messages
|
|
tar
|
Gnu Tar archives can contain multiple files and directories, file permissions can be preserved and it supports multiple compression formats. The name tar stands for "Tape Archiver", the format is an official POSIX standard.
|
|
top
|
get a view of how the system is performing, see which processes are hogging all the memory
|
|
top
|
gives you a summary view of the system including number of users, memory usage, CPU usage, and active processes
|
|
traceroute hostname
|
shows the existing network routing from you to a remote or local server
|
|
tty
|
shows you which terminal (screen or window) you are in
|
|
umount /dev/hda2
|
unmount disk called hda2 - exit from mount point '/ mnt/hda2' first
|
|
uname -a
|
Outputs operating system, hostname, kernel version, date and timp, and processor
|
|
uname -m
|
show architecture of machine
|
|
uname -r
|
gives kernel version
|
|
up-arrow
|
Start command history search
|
|
updatedb
|
to update databases used by locate commands, locate, slocate, mlocate
|
|
update-grub
|
to update grub menu, esp. after add or remove kernels
|
|
update-menus
|
automatically generates menus of installed programs for window managers and other menu programs. It should be run whenever a menufile(5) or menu-method file is changed. update-menus will be run automatically when Debian packages that contain menu files are installed on or removed from the system.
|
|
useradd user1
|
create a new user
|
|
users
|
Print the user names of users currently logged in to the current host
|
|
/usr/share/doc/
|
program's documentation directory
|
|
/var/log
|
directory where logs are found
|
|
vim
|
editor based on vi
|
|
w
|
Show who is logged on and what they are doing
|
|
watch -d netstat -tupa
|
monitor your network connection
|
|
wget
|
free utility for non-interactive download of files from the Web
|
|
who
|
Outputs who is currently logged into the system
|
|
whoami
|
Outputs your username / the name of your account
|
|
whowatch
|
monitor who's logged on
|
|
yacpi
|
watch acpi, battery, ac, cpu
|
|
aptitude clean
|
removes all cached package files
|
|
kcron
|
kde task scheduler
|
|
cron
|
linux primary task scheduler
|
|
netstat -a
|
find all open ports, active Internet connections
|
|
netstat -l --inet
|
find listening ports
|
|
unhide
|
a forensic tool to find processes and TCP/UDP ports hidden by rootkits, Linux kernel modules or by other techniques
|
|
unhide proc
|
unhide option, comparing the output of /proc and /bin/ps
|
|
unhide sys
|
unhide option, comparing the information gathered from /bin/ps with the one gathered from system calls (syscall scanning)
|
|
unhide brute
|
unhide option, full scan of the process ID space (PIDs bruteforcing)
|
|
unhide-tcp
|
identifies TCP/UDP ports that are listening but are not listed in /bin/netstat through brute forcing of all TCP/UDP ports available
|