pavement

Cat

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m
Line 11: Line 11:
 
  /dev/cd0                /cdrom          cd9660  ro,noauto      0      0
 
  /dev/cd0                /cdrom          cd9660  ro,noauto      0      0
  
[[category: system commands]]
+
[[category: System Commands]]

Revision as of 20:08, 25 August 2004

Found in /bin/cat, when cat is given a file as an argument, it will print out the file contents to your console, or it can be redirected to another file or process.

samizdata# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/da0b               none            swap    sw              0       0
/dev/da1b               none            swap    sw              0       0
/dev/da0a               /               ufs     rw              1       1
/dev/da0d               /tmp            ufs     rw              2       2
/dev/da1e               /usr            ufs     rw              2       2
/dev/da1d               /var            ufs     rw              2       2
/dev/cd0                /cdrom          cd9660  ro,noauto       0       0
Personal tools