Intro to Linux & understanding Commands Flashcards
what is linux?
an open source operating system based on UNIX
what is a the linux kernel?
it is a program that makes up the core of an operating system
what does the kernel do?
Handles res of start-up process
handles input/output from other programs
manages memory & hardware peripherals(keyboards, mouses, monitors. speakers, printers etc)
LS
Lists directory contents
cd
Changes the current directory
pwd
displays present, working directory
cat
concatenates(omits) and displays files
echo
displays arguments(line of text or variable value) to the screen
man
Displays the online manual.
exit
Exits the shell or your current session.
Clear
clears the screen
how to build a command
what to do»_space;>how to do»>what to do it with
Command Options Arguments
touch
Created an empty file(vi)
id
Prints real and effective user and group[s ids.
who
shows who is logged on