pavement

DOS to FreeBSD cheat sheet

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m (Added further entries)
m (Added type)
Line 20: Line 20:
 
|
 
|
 
|-
 
|-
| Delete
+
| del
 
| del
 
| del
 
| [[rm]]
 
| [[rm]]
Line 26: Line 26:
 
|-
 
|-
 
| Directory listing
 
| Directory listing
| Dir
+
| dir
 
| [[ls]]
 
| [[ls]]
 
|
 
|
Line 46: Line 46:
 
|-
 
|-
 
| File pager
 
| File pager
| More
+
| more
 
| [[more]]
 
| [[more]]
 
| The commands share the same name and function but are implemented differently
 
| The commands share the same name and function but are implemented differently
Line 58: Line 58:
 
| ren
 
| ren
 
| [[mv]]
 
| [[mv]]
 +
|
 +
|-
 +
| List contents of a file
 +
| type
 +
| [[cat]]
 
|
 
|
 
|}
 
|}

Revision as of 15:01, 10 May 2008

The following article contains list of commands available on Microsoft's DOS and Windows platforms and the equivalent command on FreeBSD. This can be considered a 'cheat-sheet' for quick reference.

The list is sorted alphabetically by the DOS command name.

Name DOS FreeBSD Notes
Setting file attributes attrib chmod See also related chown
Check Disk chkdsk fsck
del del rm
Directory listing dir ls
Disk Partitioning fdisk fdisk See also disklabel
Formating a disk format newfs
Make a directory mkdir mkdir
File pager more more The commands share the same name and function but are implemented differently
Moving file(s) move mv
Renaming file(s) ren mv
List contents of a file type cat
Personal tools