pavement

Cat

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
 
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.
 
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
+
  samizdata# '''cat /etc/fstab'''
 
  # Device                Mountpoint      FStype  Options        Dump    Pass#
 
  # Device                Mountpoint      FStype  Options        Dump    Pass#
 
  /dev/da0b              none            swap    sw              0      0
 
  /dev/da0b              none            swap    sw              0      0

Revision as of 16:31, 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