[oracle@localhost orcl]$ su - root
Password:
[root@localhost ~]# cd /etc/fstab
-bash: cd: /etc/fstab: Not a directory
[root@localhost ~]# cat /etc/fstab
/dev/VolGroup00/LogVol01 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol00 swap swap defaults 0 0
[root@localhost ~]# vi /etc/fstab
/dev/VolGroup00/LogVol01 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol00 swap swap defaults 0 0
shmfs /dev/shm tmpfs size=7g 0
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/fstab" 8L, 566C written
[root@localhost ~]# cat /etc/fstab
/dev/VolGroup00/LogVol01 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol00 swap swap defaults 0 0
shmfs /dev/shm tmpfs size=7g 0
[root@localhost ~]# mount -a
[root@localhost ~]#