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...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
ls - list directory
[[Introduction to Linux(Linux 4 n00bs)]] 
cd - change directory
 
mkdir - make directory
;Basic Commands
touch - create a file
; ls : list directory
top - list processes running
;cd : change directory
cat - print the contents of a file
;mkdir : make directory
tail/head - print part of the contents of a file
;touch : create a file
rm - remove/delete
;echo : print the string to standard output
 
; >> : redirect output
more - Display output one screen at a time
;top : list processes running
less - Display output one screen at a time
;cat : print the contents of a file
pwd - print working directory
;tail/head : print part of the contents of a file
env - Environment variable
;rm : remove/delete
export - set an environment variable
;more : Display output one screen at a time
cp - copy
;less : Display output one screen at a time with more features than more
mv - move
;pwd : print working directory
shutdown
;env : Environment variable
;export :set an environment variable
;cp : copy
;mv : move
;shutdown : shuts down the system

Latest revision as of 11: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