Basic Commands: Difference between revisions

From HackRVA
Jump to navigation Jump to search
(Created page with "ls - list directory cd - change directory mkdir - make directory touch - create a file top - list processes running cat - print the contents of a file tail/head - print part...")
 
(Basic Linux Commands)
Line 1: Line 1:
ls - list directory
cd - change directory
mkdir - make directory
touch - create a file
top - list processes running
cat - print the contents of a file
tail/head -  print part of the contents of a file
rm - remove/delete


more - Display output one screen at a time
;Basic Commands
less - Display output one screen at a time
; ls : list directory
pwd - print working directory
;cd : change directory
env - Environment variable
;mkdir : make directory
export - set an environment variable
;touch : create a file
cp - copy
;top : list processes running
mv - move
;cat : print the contents of a file
shutdown
;tail/head :  print part of the contents of a file
;rm : remove/delete
;more : Display output one screen at a time
;less : Display output one screen at a time
;pwd : print working directory
;env : Environment variable
;export :set an environment variable
;cp : copy
;mv : move
;shutdown : shuts down the system

Revision as of 10:28, 19 March 2016

Basic Commands
ls
list directory
cd
change directory
mkdir
make directory
touch
create a file
top
list processes running
cat
print the contents of a file
tail/head
print part of the contents of a file
rm
remove/delete
more
Display output one screen at a time
less
Display output one screen at a time
pwd
print working directory
env
Environment variable
export
set an environment variable
cp
copy
mv
move
shutdown
shuts down the system