A Comparison of Common DOS and Linux Commands
A Comparison of Common DOS and Linux Commands
A Comparison of Common DOS and Linux Commands
RedHatEnterpriseLinux4:RedHatEnterpriseLinuxStepByStepGuide
Prev Next
AppendixD.AComparisonofCommonDOSandLinux
Commands
ManyLinuxcommandstypedatashellpromptaresimilartothecommandsyouwouldtypein
DOS.Infact,somecommandsareidentical.
ThisappendixprovidescommoncommandsusedattheDOSpromptinWindowsandtheir
counterpartsinLinux.BasicexamplesofhowthecommandareusedattheLinuxshellprompt
arealsoprovided.Notethatthesecommandsusuallyhaveanumberofoptions.Tolearnmore
abouteachcommand,readitsassociatedmanpage(forexample,typemanlsattheshell
prompttoreadaboutthelscommand).
Listsfiles dir ls ls
https://access.redhat.com/documentation/enUS/Red_Hat_Enterprise_Linux/4/html/Step_by_Step_Guide/apdoslinux.html 1/2
22/03/2017 AComparisonofCommonDOSandLinuxCommands
Changes cd cd cd/directory/directory
directorieswith pathname pathname
aspecifiedpath
(absolutepath)
Notes:
a.GeditisagraphicaltexteditorothereditorsyoucanuseinplaceofGeditinclude
nanoandvi.
b.Themorepagercanalsobeusedtopagethroughafileonescreenatatime.
c.Themvcommandcanbothmoveafileand,ifyouwanttorenameafileinthesame
directory,"move"thatfiletothesamedirectorywithanewname.
TableD1.SimilarCommands
Prev Home Next
Applications Up SystemDirectories
https://access.redhat.com/documentation/enUS/Red_Hat_Enterprise_Linux/4/html/Step_by_Step_Guide/apdoslinux.html 2/2