DOS to FreeBSD cheat sheet
From FreeBSDwiki
(Difference between revisions)
DrModiford (Talk | contribs) m (Added type) |
DrModiford (Talk | contribs) m (Correction on 'del') |
||
Line 20: | Line 20: | ||
| | | | ||
|- | |- | ||
− | | | + | | Deleting file(s) |
| del | | del | ||
| [[rm]] | | [[rm]] |
Revision as of 15:02, 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 | |
Deleting file(s) | 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 |