DOS to FreeBSD cheat sheet
From FreeBSDwiki
(Difference between revisions)
DrModiford (Talk | contribs) m (Added further entries) |
DrModiford (Talk | contribs) m (Removed from the category listing (didn't look right) and...) |
||
| (3 intermediate revisions by one user not shown) | |||
| Line 20: | Line 20: | ||
| | | | ||
|- | |- | ||
| − | | | + | | Deleting file(s) |
| del | | del | ||
| [[rm]] | | [[rm]] | ||
| Line 26: | Line 26: | ||
|- | |- | ||
| Directory listing | | Directory listing | ||
| − | | | + | | dir |
| [[ls]] | | [[ls]] | ||
| | | | ||
| Line 46: | Line 46: | ||
|- | |- | ||
| File pager | | File pager | ||
| − | | | + | | 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]] | ||
| | | | ||
|} | |} | ||
| + | |||
| + | While this is a list of known Microsoft specific commands available on DOS and Windows operating systems it may be of relevance to users of similar Digital Research's DR-DOS, IBM's PC-DOS and others. | ||
Latest revision as of 15:19, 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 |
While this is a list of known Microsoft specific commands available on DOS and Windows operating systems it may be of relevance to users of similar Digital Research's DR-DOS, IBM's PC-DOS and others.