Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ pwd
- /etc/network
- $ cat ../inittab
- cat: can't open '../inittab': No such file or directory
- $ cat /etc/inittab
- <inittab output ...>
- $ ls ..
- default/ inputrc moduli random-seed ssh_config sshd_config
- dhcp/ issue mtab@ resolv.conf@ ssh_host_dsa_key ssl/
- fstab ld.so.conf network/ rsyslog.conf ssh_host_dsa_key.pub sysconfig/
- fstab.bak ld.so.conf.d/ nsswitch.conf rsyslog.d/ ssh_host_ecdsa_key ts.conf
- group logrotate.conf os-release screenrc* ssh_host_ecdsa_key.pub udev/
- hostname logrotate.d/ passwd securetty ssh_host_key
- hosts ltrace.conf passwd- services ssh_host_key.pub
- init.d/ memstat.conf profile shadow ssh_host_rsa_key
- inittab mke2fs.conf protocols shadow- ssh_host_rsa_key.pub
- $ cd / ; ls -lid /etc
- 1547 drwxr-xr-x 12 root root 0 Jan 1 00:49 /etc/
- $ cd /etc ; ls -lid .
- 1547 drwxr-xr-x 12 root root 0 Jan 1 00:49 ./
- $ cd /etc/network ; ls -lid ..
- 1547 drwxr-xr-x 12 root root 0 Jan 1 00:49 ../
- $ cd usr/
- $ ls ../etc
- ls: ../etc: No such file or directory
- $ cd ../etc
- $ cd network/
- $ ls ..
- default/ inputrc moduli random-seed ssh_config sshd_config
- dhcp/ issue mtab@ resolv.conf@ ssh_host_dsa_key ssl/
- fstab ld.so.conf network/ rsyslog.conf ssh_host_dsa_key.pub sysconfig/
- fstab.bak ld.so.conf.d/ nsswitch.conf rsyslog.d/ ssh_host_ecdsa_key ts.conf
- group logrotate.conf os-release screenrc* ssh_host_ecdsa_key.pub udev/
- hostname logrotate.d/ passwd securetty ssh_host_key
- hosts ltrace.conf passwd- services ssh_host_key.pub
- init.d/ memstat.conf profile shadow ssh_host_rsa_key
- inittab mke2fs.conf protocols shadow- ssh_host_rsa_key.pub
- $ ls ../../usr
- ls: ../../usr: No such file or directory
- $ df
- Filesystem Size Used Available Use% Mounted on
- devtmpfs 204.2M 0 204.2M 0% /dev
- tmpfs 251.7M 0 251.7M 0% /dev/shm
- tmpfs 251.7M 76.0K 251.6M 0% /tmp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement