Basic Commands: Difference between revisions

From HackRVA
Jump to navigation Jump to search
Basic Linux Commands
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Introduction to Linux(Linux 4 n00bs)]] 
 
;Basic Commands
;Basic Commands
; ls : list directory
; ls : list directory
Line 5: Line 6:
;mkdir : make directory
;mkdir : make directory
;touch : create a file
;touch : create a file
;echo : print the string to standard output
; >> : redirect output
;top : list processes running
;top : list processes running
;cat : print the contents of a file
;cat : print the contents of a file
Line 10: Line 13:
;rm : remove/delete
;rm : remove/delete
;more : Display output one screen at a time
;more : Display output one screen at a time
;less : Display output one screen at a time
;less : Display output one screen at a time with more features than more
;pwd : print working directory
;pwd : print working directory
;env : Environment variable
;env : Environment variable

Latest revision as of 10:15, 19 March 2016

Introduction to Linux(Linux 4 n00bs)

Basic Commands
ls
list directory
cd
change directory
mkdir
make directory
touch
create a file
echo
print the string to standard output
>>
redirect output
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 with more features than more
pwd
print working directory
env
Environment variable
export
set an environment variable
cp
copy
mv
move
shutdown
shuts down the system