• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/29

Click to flip

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;

29 Cards in this Set

  • Front
  • Back

Shell

what you interact with ex:


- bash


- explorer (Windows)


- KDE


- GNOME


- KSH

clear

clears the screen

echo

repeats what you type after echo




echo "Hello World"


Hello World

vi

terminal text editor


:q! - exit without save


:wq! - exit & save

grep

search tool

foreground

what you're paying attention to




fg (PID #) -> brings job to foreground

background

something running in the background




bg (PID #) -> moves job the background

printenv

lists all of your environment variables

variables & values

variable = value


DATADIR=/tmp/master/data_files (without export it is temporary)
export DATADIR=/tmp/master/data_files (permanent until end of session)

mkdir

creates a directory

touch

creates files into the present work directory

pipes

represented by |




take output of one command and input into another

redirection

take output of command and create file with info in it (represented as >)




3 types:


- append to existing file (add to the end) >>


- output to a file (overwrite if already exists) >


- send a file as input (contents of file & bring into a command) <

cat

shows contents of a file on screen

wildcards

* (represent any number of characters) and ? (represent a specific character)

multiple commands

separated by ; or &&

man pages

documentation of commands

text info pages

info of commands, more concise & easier to read

ls

list directories


ls -l long listing list


ls -a - displays hidden files (have a . in front of file name)


ls -la - displays all files as well as hidden ones

cp

copy files


-r = copies files and its sub files/directories

mv

move files


you can move a folder into a different name

rm

remove files/directores:


rm -R (recursive)


rmdir

Compression Programs

GZIP - Original, Algorithm is patented


BZIP - Newer, Smaller Files


xZ - Slightly better compression = smallest sizes

pwd

present working directory

uptime

shows how long system has been running

top

all running processes in near real time & the up time of the system as well

ps

shows your process


ps - ef -> shows all running processes

lscpu

all cpu info

uname -a

info about distro