Professional Documents
Culture Documents
Computer Basics Workshop: Linux Command Prompt: By: Amit Goyal (MLC)
Computer Basics Workshop: Linux Command Prompt: By: Amit Goyal (MLC)
Workshop:LinuxCommand
Prompt
By:
AmitGoyal
(MLC)
BasicLinuxCommands
yppasswdtochangepasswd
lstolistfilesanddirectories
cdtochangedirectory
picoTocreateoreditafile
vimAdvancetexteditor
chmodchangefileaccesspermissions
pwdshowsthe"presentworkingdirectory"
cpcopythefiles/diectories
mvmoveorrenamethefile/directory
BasicLinuxCommands
rmremovefiles/directory
mkdirmakeanewdirectory
rmdirdeletesa(empty)directory
dateshowdateandtime
calshowcalendar
dushowfilespaceusage
logoutmakeyouexit
manshowthemanualpages
AdvanceBasicCommands
tintochecknewsgroups
telnettologinintoothercomputer/server
sshsecureloginintoothercomputer/server
fingerlookforinformationaboutusers
loggedonserver
talktalktootheruser
wShowwhoisloggedonandwhatthey
aredoing
writewritetootherusers
AdvanceBasicCommands
ftptotransferfilesfromonecomputerto
another
catprintthefile(s)onstandardoutput
aliasaliasacommand
locatelocateafilecontainingsome
expression
grepprintlinesmatchingapattern
dfshowharddiskpartitions
AdvanceBasicCommandstar
tarcompress/uncompressfiles/directories
tarxvffile.taruncompressafile'file.tar'
tarxzvffile.tar.gzuncompressafile
'file.tar.gz'
tarxjvffile.tar.bz2uncompressafile
'file.tar.bz2'
tarcvffile.tarfilecompressthefile'file'to
'file.tar'
tarczvffile.tar.gzfilecompressthefile'file'
tofile.tar.gz
tarcjvffile.tar.bz2filecompressthefile
'file'tofile.tar.bz2
Somemorefundaes
Howtouseexporttoopengraphical
applicationsfromothercomputer?
Use<TAB>forthecommandcompletion
usereversesearch"Ctrl+r"
!!getpreviouscommands