/l3/users/26-03-2012/NT-BSDnet/freebsd3.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 |
|
#man 5 sswd
|
#man man
|
#info
|
#man cd
|
#cd ~
|
#pwd
/root |
#cd
|
#cd /etc
|
#cd
|
#pwd
/root |
#cd /home/user/
|
#ls
.bash_history .bashrc .l3rc .login_conf .profile .bash_profile .bashrc~ .lilalo .mail_aliases .rhosts .bash_profile~ .cshrc .login .mailrc .shrc |
#man cd
|
#cd /usr/
|
#ls -l
total 54 drwxrwxr-x 2 root operator 512 Mar 26 15:02 .snap drwxr-xr-x 2 root wheel 7168 Sep 26 2011 bin drwxr-xr-x 2 root wheel 512 Sep 25 2011 compat drwxr-xr-x 2 root wheel 512 Sep 25 2011 games drwxr-xr-x 3 root wheel 512 Sep 25 2011 home drwxr-xr-x 47 root wheel 4608 Sep 25 2011 include drwxr-xr-x 6 root wheel 11264 Sep 25 2011 lib drwxr-xr-x 5 root wheel 512 Sep 25 2011 libdata drwxr-xr-x 5 root wheel 1536 Sep 25 2011 libexec drwxr-xr-x 13 root wheel 512 Sep 25 2011 local drwxr-xr-x 2 root wheel 512 Sep 25 2011 obj drwxr-xr-x 67 root wheel 1536 Feb 12 18:39 ports drwxr-xr-x 2 root wheel 5120 Sep 25 2011 sbin drwxr-xr-x 26 root wheel 512 Sep 25 2011 share drwxr-xr-x 3 root wheel 512 Sep 25 2011 src |
#ls -la
total 58 drwxr-xr-x 17 root wheel 512 Feb 12 18:20 . drwxr-xr-x 20 root wheel 512 Nov 20 22:36 .. drwxrwxr-x 2 root operator 512 Mar 26 15:02 .snap drwxr-xr-x 2 root wheel 7168 Sep 26 2011 bin drwxr-xr-x 2 root wheel 512 Sep 25 2011 compat drwxr-xr-x 2 root wheel 512 Sep 25 2011 games drwxr-xr-x 3 root wheel 512 Sep 25 2011 home drwxr-xr-x 47 root wheel 4608 Sep 25 2011 include drwxr-xr-x 6 root wheel 11264 Sep 25 2011 lib drwxr-xr-x 5 root wheel 512 Sep 25 2011 libdata drwxr-xr-x 5 root wheel 1536 Sep 25 2011 libexec drwxr-xr-x 13 root wheel 512 Sep 25 2011 local drwxr-xr-x 2 root wheel 512 Sep 25 2011 obj drwxr-xr-x 67 root wheel 1536 Feb 12 18:39 ports drwxr-xr-x 2 root wheel 5120 Sep 25 2011 sbin drwxr-xr-x 26 root wheel 512 Sep 25 2011 share drwxr-xr-x 3 root wheel 512 Sep 25 2011 src |
#mkdir
![]() usage: mkdir [-pv] [-m mode] directory_name ... |
#pwd
/usr |
#ls -la
total 58 drwxr-xr-x 17 root wheel 512 Feb 12 18:20 . drwxr-xr-x 20 root wheel 512 Nov 20 22:36 .. drwxrwxr-x 2 root operator 512 Mar 26 15:02 .snap drwxr-xr-x 2 root wheel 7168 Sep 26 2011 bin drwxr-xr-x 2 root wheel 512 Sep 25 2011 compat drwxr-xr-x 2 root wheel 512 Sep 25 2011 games drwxr-xr-x 3 root wheel 512 Sep 25 2011 home drwxr-xr-x 47 root wheel 4608 Sep 25 2011 include drwxr-xr-x 6 root wheel 11264 Sep 25 2011 lib drwxr-xr-x 5 root wheel 512 Sep 25 2011 libdata drwxr-xr-x 5 root wheel 1536 Sep 25 2011 libexec drwxr-xr-x 13 root wheel 512 Sep 25 2011 local drwxr-xr-x 2 root wheel 512 Sep 25 2011 obj drwxr-xr-x 67 root wheel 1536 Feb 12 18:39 ports drwxr-xr-x 2 root wheel 5120 Sep 25 2011 sbin drwxr-xr-x 26 root wheel 512 Sep 25 2011 share drwxr-xr-x 3 root wheel 512 Sep 25 2011 src |
#mkdir /usr/test/{test1,test2,test3}/{1,2,3,4}
![]() mkdir: /usr/test/test1: No such file or directory mkdir: /usr/test/test1: No such file or directory mkdir: /usr/test/test1: No such file or directory mkdir: /usr/test/test1: No such file or directory mkdir: /usr/test/test2: No such file or directory mkdir: /usr/test/test2: No such file or directory mkdir: /usr/test/test2: No such file or directory mkdir: /usr/test/test2: No such file or directory mkdir: /usr/test/test3: No such file or directory mkdir: /usr/test/test3: No such file or directory mkdir: /usr/test/test3: No such file or directory mkdir: /usr/test/test3: No such file or directory |
#mkdir /usr/test/{test1,test2,test3}/{1,2,3,4} -p
![]() mkdir: /usr/test/test1: No such file or directory mkdir: /usr/test/test1: No such file or directory mkdir: /usr/test/test1: No such file or directory mkdir: /usr/test/test1: No such file or directory mkdir: /usr/test/test2: No such file or directory mkdir: /usr/test/test2: No such file or directory mkdir: /usr/test/test2: No such file or directory mkdir: /usr/test/test2: No such file or directory mkdir: /usr/test/test3: No such file or directory mkdir: /usr/test/test3: No such file or directory mkdir: /usr/test/test3: No such file or directory mkdir: /usr/test/test3: No such file or directory |
#mkdir -p r/test/{test1,test2,test3}/{1,2,3,4}
|
#mkdir s /^C
![]() |
#ls /usr/test/
test1 test2 test3 |
#ls /usr/test/ -la
![]() ls: -la: No such file or directory /usr/test/: test1 test2 test3 |
#ls -la /test/
total 10 drwxr-xr-x 5 root wheel 512 Mar 26 16:53 . drwxr-xr-x 19 root wheel 512 Mar 26 16:53 .. drwxr-xr-x 6 root wheel 512 Mar 26 16:53 test1 drwxr-xr-x 6 root wheel 512 Mar 26 16:53 test2 drwxr-xr-x 6 root wheel 512 Mar 26 16:53 test3 |
#ma nmkdir
![]() bash: ma: command not found |
#man mkdir
|
#htop
![]() bash: htop: command not found |
#top
last pid: 1741; load averages: 0.00, 0.00, 0.00 up 0+01:57:05 16:58:05 20 pr 0.0% user, 0.0% nice, 0.0% system, 8.1% interrupt, 91.9% idle 2 Mem: 25M Active, 10M Inact, 14M Wired, 3136K Cache, 60M Buf, 437M Free Swap: 1826M Total, 1826M Free 8 nanslp PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1186 root 1 4 0 35476K 21216K connec 1:36 2.98% perl5.10.1 1125 root 1 44 0 8460K 2768K select 0:00 0.00% sshd 1050 root 1 44 0 5936K 2368K select 0:00 0.00% sendmail ... 1056 smmsp 1 20 0 5936K 2304K pause 0:00 0.00% sendmail 1084 root 1 44 0 3272K 1116K select 0:00 0.00% inetd 1117 root 1 5 0 3216K 880K ttyin 0:00 0.00% getty 1124 root 1 5 0 3216K 880K ttyin 0:00 0.00% getty 1118 root 1 5 0 3216K 880K ttyin 0:00 0.00% getty 1122 root 1 5 0 3216K 880K ttyin 0:00 0.00% getty 1123 root 1 5 0 3216K 880K ttyin 0:00 0.00% getty 1119 root 1 5 0 3216K 880K ttyin 0:00 0.00% getty 1120 root 1 5 0 3216K 880K ttyin 0:00 0.00% getty 1121 root 1 5 0 3216K 880K ttyin 0:00 0.00% getty |
#rmdir
![]() usage: rmdir [-pv] directory ... |
#pwd
/usr |
#ls -la
total 62 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 -p drwxr-xr-x 19 root wheel 512 Mar 26 16:53 . drwxr-xr-x 20 root wheel 512 Nov 20 22:36 .. drwxrwxr-x 2 root operator 512 Mar 26 15:02 .snap drwxr-xr-x 2 root wheel 7168 Sep 26 2011 bin drwxr-xr-x 2 root wheel 512 Sep 25 2011 compat drwxr-xr-x 2 root wheel 512 Sep 25 2011 games drwxr-xr-x 3 root wheel 512 Sep 25 2011 home drwxr-xr-x 47 root wheel 4608 Sep 25 2011 include drwxr-xr-x 6 root wheel 11264 Sep 25 2011 lib drwxr-xr-x 5 root wheel 512 Sep 25 2011 libdata drwxr-xr-x 5 root wheel 1536 Sep 25 2011 libexec drwxr-xr-x 13 root wheel 512 Sep 25 2011 local drwxr-xr-x 2 root wheel 512 Sep 25 2011 obj drwxr-xr-x 67 root wheel 1536 Feb 12 18:39 ports drwxr-xr-x 2 root wheel 5120 Sep 25 2011 sbin drwxr-xr-x 26 root wheel 512 Sep 25 2011 share drwxr-xr-x 3 root wheel 512 Sep 25 2011 src drwxr-xr-x 5 root wheel 512 Mar 26 16:53 test |
#rmdir test
![]() rmdir: test: Directory not empty |
#rmdir^C
![]() |
#cd /usr/test/
|
#pwd
/usr/test |
#ls /usr/test/
test1 test2 test3 |
#ls /usr/test/test1
1 2 3 4 |
#rmdir/test/test1
![]() rmdir: /usr/test/test1: Directory not empty |
#rmdir /usr/test/test1 -p
![]() rmdir: /usr/test/test1: Directory not empty rmdir: -p: No such file or directory |
#rmdir -p r/test/test1
![]() rmdir: /usr/test/test1: Directory not empty |
#rmdir -p /usr/test/test1/1
![]() rmdir: /usr/test/test1: Directory not empty |
#ls /^C
![]() |
#man h
|
#echo 123123123123
123123123123 |
#pwd
/usr/test |
#cat > file
![]() sadfl;askdjf;lkasjdf asdfkjhlskjdhfkljhasdf readme jhsdkfhklajshdfkljasdf ^C |
#vi file
|
#cp
![]() usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file ... target_directory |
#man cp
|
#man mv
|
#mv
![]() usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory |
#ls
file test1 test2 test3 |
#cat file
sadfl;askdjf;lkasjdf asdfkjhlskjdhfkljhasdf readme jhsdkfhklajshdfkljasdf |
#cat file -n
![]() sadfl;askdjf;lkasjdf asdfkjhlskjdhfkljhasdf readme jhsdkfhklajshdfkljasdf cat: -n: No such file or directory |
#cat -nsb
![]() ^C |
#pwd
/usr/test |
#cat /usr/test/file
sadfl;askdjf;lkasjdf asdfkjhlskjdhfkljhasdf readme jhsdkfhklajshdfkljasdf |
#cat /usr/test/file -n
![]() sadfl;askdjf;lkasjdf asdfkjhlskjdhfkljhasdf readme jhsdkfhklajshdfkljasdf cat: -n: No such file or directory |
#cat -n r/test/file
1 sadfl;askdjf;lkasjdf 2 asdfkjhlskjdhfkljhasdf 3 readme 4 jhsdkfhklajshdfkljasdf |
#cat -nsbusr/test/file
1 sadfl;askdjf;lkasjdf 2 asdfkjhlskjdhfkljhasdf 3 readme 4 jhsdkfhklajshdfkljasdf |
#cat -nb /usr/test/file
1 sadfl;askdjf;lkasjdf 2 asdfkjhlskjdhfkljhasdf 3 readme 4 jhsdkfhklajshdfkljasdf |
#cat -b /usr/test/file
1 sadfl;askdjf;lkasjdf 2 asdfkjhlskjdhfkljhasdf 3 readme 4 jhsdkfhklajshdfkljasdf |
#cat /usr/test/file
1 sadfl;askdjf;lkasjdf 2 asdfkjhlskjdhfkljhasdf 3 readme 4 jhsdkfhklajshdfkljasdf |
#tac /usr/test/file
![]() bash: tac: command not found |
#tac -n/usr/test/file
![]() bash: tac: command not found |
#tac -n /usr/test/file
![]() bash: tac: command not found |
#more
|
#more /etc/init.d/rc
![]() |
#less /etc/inittab
![]() |
#ls /etc/
X11 localtime profile aliases locate.rc protocols amd.map login.access pwd.db apmd.conf login.conf rc auth.conf login.conf.db rc.bsdextended bluetooth mac.conf rc.conf crontab mail rc.d csh.cshrc mail.rc rc.firewall csh.login make.conf rc.firewall6 csh.logout manpath.config rc.initdiskless ... host.conf opiekeys spwd.db hostid pam.d ssh hosts passwd ssl hosts.allow pccard_ether sysctl.conf hosts.equiv periodic syslog.conf hosts.lpd pf.os termcap inetd.conf phones ttys isdn portsnap.conf zfs libalias.conf ppp lilalo printcap |
#ls -la /
total 558 drwxr-xr-x 21 root wheel 2048 Mar 26 12:00 . drwxr-xr-x 20 root wheel 512 Nov 20 22:36 .. drwxr-xr-x 2 root wheel 512 Feb 17 2011 X11 lrwxrwxrwx 1 root wheel 12 Sep 25 2011 aliases -> mail/aliases -rw-r--r-- 1 root wheel 217 Feb 17 2011 amd.map -rw-r--r-- 1 root wheel 1244 Feb 17 2011 apmd.conf -rw-r--r-- 1 root wheel 237 Feb 17 2011 auth.conf drwxr-xr-x 2 root wheel 512 Sep 25 2011 bluetooth -rw-r--r-- 1 root wheel 737 Feb 17 2011 crontab ... drwxr-xr-x 2 root wheel 512 Feb 17 2011 skel -rw-r--r-- 1 root wheel 2414 Feb 17 2011 snmpd.config -rw------- 1 root wheel 40960 Sep 26 2011 spwd.db drwxr-xr-x 2 root wheel 512 Nov 21 12:39 ssh drwxr-xr-x 2 root wheel 512 Sep 25 2011 ssl -rw-r--r-- 1 root wheel 377 Feb 17 2011 sysctl.conf -rw-r--r-- 1 root wheel 1341 Feb 17 2011 syslog.conf lrwxrwxrwx 1 root wheel 23 Sep 25 2011 termcap -> /usr/share/misc/termcap -rw-r--r-- 1 root wheel 13051 Sep 25 2011 ttys drwxr-xr-x 2 root wheel 512 Feb 17 2011 zfs |
#ls -lR /
![]() total 55 -rw-r--r-- 2 root wheel 794 Feb 17 2011 .cshrc -rw-r--r-- 2 root wheel 261 Feb 17 2011 .profile drwxrwxr-x 2 root operator 512 Sep 25 2011 .snap -r--r--r-- 1 root wheel 6191 Feb 17 2011 COPYRIGHT drwxr-xr-x 2 root wheel 1024 Sep 25 2011 bin drwxr-xr-x 8 root wheel 1024 Feb 12 15:22 boot drwxr-xr-x 2 root wheel 512 Sep 25 2011 cdrom lrwxr-xr-x 1 root wheel 10 Sep 25 2011 compat -> usr/compat dr-xr-xr-x 5 root wheel 512 Mar 26 15:01 dev ... /usr/local/man/ja/cat2: total 0 /usr/local/man/ja/cat3: total 0 /usr/local/man/ja/cat4: total 0 /usr/local/man/ja/cat5: total 0 /usr/local/man/ja/cat6: ^C |
#ls -lR /usr/test/ > less
|
#ls -lR /usr/testless
![]() ls: /usr/testless: No such file or directory |
#ls -lR /usr/test/ less
-rw-r--r-- 1 root wheel 1148 Mar 26 17:58 less /usr/test/: total 10 -rw-r--r-- 1 root wheel 74 Mar 26 17:31 file -rw-r--r-- 1 root wheel 1148 Mar 26 17:58 less drwxr-xr-x 5 root wheel 512 Mar 26 17:10 test1 drwxr-xr-x 6 root wheel 512 Mar 26 16:53 test2 drwxr-xr-x 6 root wheel 512 Mar 26 16:53 test3 /usr/test/test1: total 6 ... drwxr-xr-x 2 root wheel 512 Mar 26 16:53 3 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 4 /usr/test/test3/1: total 0 /usr/test/test3/2: total 0 /usr/test/test3/3: total 0 /usr/test/test3/4: total 0 |
#ls -lR /usr/test/ less^C
![]() |
#ls -lR /usr
![]() total 58 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 -p drwxrwxr-x 2 root operator 512 Mar 26 15:02 .snap drwxr-xr-x 2 root wheel 7168 Sep 26 2011 bin drwxr-xr-x 2 root wheel 512 Sep 25 2011 compat drwxr-xr-x 2 root wheel 512 Sep 25 2011 games drwxr-xr-x 3 root wheel 512 Sep 25 2011 home drwxr-xr-x 47 root wheel 4608 Sep 25 2011 include drwxr-xr-x 6 root wheel 11264 Sep 25 2011 lib drwxr-xr-x 5 root wheel 512 Sep 25 2011 libdata ... -r--r--r-- 1 root wheel 725 Sep 26 2011 gnutls_cipher_get_id.3.gz -r--r--r-- 1 root wheel 684 Sep 26 2011 gnutls_cipher_get_key_size.3.gz -r--r--r-- 1 root wheel 701 Sep 26 2011 gnutls_cipher_get_name.3.gz -r--r--r-- 1 root wheel 761 Sep 26 2011 gnutls_cipher_list.3.gz -r--r--r-- 1 root wheel 842 Sep 26 2011 gnutls_cipher_set_priority.3.gz -r--r--r-- 1 root wheel 782 Sep 26 2011 gnutls_cipher_suite_get_name.3.gz -r--r--r-- 1 root wheel 961 Sep 26 2011 gnutls_cipher_suite_info.3.gz -r--r--r-- 1 root wheel 669 Sep 26 2011 gnutls_compression_get.3.gz -r--r--r-- 1 root wheel 708 Sep 26 2011 gnutls_compression_get_id.3.gz -r--r--r-- 1 root wheel 7^C |
#ls -lR /usr/src
![]() total 312 -rw-r--r-- 1 root wheel 6191 Dec 31 2010 COPYRIGHT -rw-r--r-- 1 root wheel 410 Dec 21 2010 LOCKS -rw-r--r-- 1 root wheel 6931 Dec 21 2010 MAINTAINERS -rw-r--r-- 1 root wheel 12125 Dec 21 2010 Makefile -rw-r--r-- 1 root wheel 39175 Dec 22 2010 Makefile.inc1 -rw-r--r-- 1 root wheel 195338 Dec 21 2010 ObsoleteFiles.inc -rw-r--r-- 1 root wheel 3083 Dec 21 2010 README -rw-r--r-- 1 root wheel 44866 Feb 16 2011 UPDATING drwxr-xr-x 56 root wheel 1024 Sep 25 2011 sys ... -rw-r--r-- 1 root wheel 0 Feb 12 14:11 export_syms lrwxr-xr-x 1 root wheel 25 Feb 12 15:12 machine -> /usr/src/sys/i386/include lrwxr-xr-x 1 root wheel 43 Feb 12 13:46 opt_ata.h -> /usr/src/sys/i386/compile/GENERIC/opt_ata.h lrwxr-xr-x 1 root wheel 43 Feb 12 13:46 opt_cam.h -> /usr/src/sys/i386/compile/GENERIC/opt_cam.h -rw-r--r-- 1 root wheel 9109 Feb 12 13:46 pci_if.h /usr/src/sys/i386/compile/GENERIC/modules/usr/src/sys/modules/ata/atapicd: total 460 -rw-r--r-- 1 root wheel 1742 Feb 12 15:12 .depend lrwxr-xr-x 1 root wheel 12 Feb 12 15:12 @ -> /usr/src/sys ^C |
#ls -lR /usr/test
total 10 -rw-r--r-- 1 root wheel 74 Mar 26 17:31 file -rw-r--r-- 1 root wheel 1148 Mar 26 17:58 less drwxr-xr-x 5 root wheel 512 Mar 26 17:10 test1 drwxr-xr-x 6 root wheel 512 Mar 26 16:53 test2 drwxr-xr-x 6 root wheel 512 Mar 26 16:53 test3 /usr/test/test1: total 6 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 2 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 3 ... drwxr-xr-x 2 root wheel 512 Mar 26 16:53 3 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 4 /usr/test/test3/1: total 0 /usr/test/test3/2: total 0 /usr/test/test3/3: total 0 /usr/test/test3/4: total 0 |
#ls -lR /usr/etc less
![]() ls: /usr/etc: No such file or directory -rw-r--r-- 1 root wheel 1148 Mar 26 17:58 less |
#ls -lR /usr/etc more
![]() ls: /usr/etc: No such file or directory ls: more: No such file or directory |
#ls -lR /usr/etc
![]() ls: /usr/etc: No such file or directory |
#ls -l /usr
total 58 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 -p drwxrwxr-x 2 root operator 512 Mar 26 15:02 .snap drwxr-xr-x 2 root wheel 7168 Sep 26 2011 bin drwxr-xr-x 2 root wheel 512 Sep 25 2011 compat drwxr-xr-x 2 root wheel 512 Sep 25 2011 games drwxr-xr-x 3 root wheel 512 Sep 25 2011 home drwxr-xr-x 47 root wheel 4608 Sep 25 2011 include drwxr-xr-x 6 root wheel 11264 Sep 25 2011 lib drwxr-xr-x 5 root wheel 512 Sep 25 2011 libdata drwxr-xr-x 5 root wheel 1536 Sep 25 2011 libexec drwxr-xr-x 13 root wheel 512 Sep 25 2011 local drwxr-xr-x 2 root wheel 512 Sep 25 2011 obj drwxr-xr-x 67 root wheel 1536 Feb 12 18:39 ports drwxr-xr-x 2 root wheel 5120 Sep 25 2011 sbin drwxr-xr-x 26 root wheel 512 Sep 25 2011 share drwxr-xr-x 3 root wheel 512 Sep 25 2011 src drwxr-xr-x 5 root wheel 512 Mar 26 17:58 test |
#ls -lR /usr
![]() total 58 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 -p drwxrwxr-x 2 root operator 512 Mar 26 15:02 .snap drwxr-xr-x 2 root wheel 7168 Sep 26 2011 bin drwxr-xr-x 2 root wheel 512 Sep 25 2011 compat drwxr-xr-x 2 root wheel 512 Sep 25 2011 games drwxr-xr-x 3 root wheel 512 Sep 25 2011 home drwxr-xr-x 47 root wheel 4608 Sep 25 2011 include drwxr-xr-x 6 root wheel 11264 Sep 25 2011 lib drwxr-xr-x 5 root wheel 512 Sep 25 2011 libdata ... -r--r--r-- 1 root wheel 4948 Feb 17 2011 pam_ftpusers.so.4 lrwxrwxrwx 1 root wheel 14 Sep 25 2011 pam_group.so -> pam_group.so.4 -r--r--r-- 1 root wheel 4152 Feb 17 2011 pam_group.so.4 lrwxrwxrwx 1 root wheel 14 Sep 25 2011 pam_guest.so -> pam_guest.so.4 -r--r--r-- 1 root wheel 4404 Feb 17 2011 pam_guest.so.4 lrwxrwxrwx 1 root wheel 13 Sep 25 2011 pam_krb5.so -> pam_krb5.so.4 -r--r--r-- 1 root wheel 18272 Feb 17 2011 pam_krb5.so.4 lrwxrwxrwx 1 root wheel 12 Sep 25 2011 pam_ksu.so -> pam_ksu.so.4 -r--r--r-- 1 root wheel 7728 Feb 17 2011 pam_ksu.so.4 lrwxrwxrwx 1 roo^C |
#ls -l /usr/
total 58 drwxr-xr-x 2 root wheel 512 Mar 26 16:53 -p drwxrwxr-x 2 root operator 512 Mar 26 15:02 .snap drwxr-xr-x 2 root wheel 7168 Sep 26 2011 bin drwxr-xr-x 2 root wheel 512 Sep 25 2011 compat drwxr-xr-x 2 root wheel 512 Sep 25 2011 games drwxr-xr-x 3 root wheel 512 Sep 25 2011 home drwxr-xr-x 47 root wheel 4608 Sep 25 2011 include drwxr-xr-x 6 root wheel 11264 Sep 25 2011 lib drwxr-xr-x 5 root wheel 512 Sep 25 2011 libdata drwxr-xr-x 5 root wheel 1536 Sep 25 2011 libexec drwxr-xr-x 13 root wheel 512 Sep 25 2011 local drwxr-xr-x 2 root wheel 512 Sep 25 2011 obj drwxr-xr-x 67 root wheel 1536 Feb 12 18:39 ports drwxr-xr-x 2 root wheel 5120 Sep 25 2011 sbin drwxr-xr-x 26 root wheel 512 Sep 25 2011 share drwxr-xr-x 3 root wheel 512 Sep 25 2011 src drwxr-xr-x 5 root wheel 512 Mar 26 17:58 test |
#ls -l /usr/include/
total 1534 -r--r--r-- 1 root wheel 5878 Feb 17 2011 FlexLexer.h -r--r--r-- 1 root wheel 6313 Feb 17 2011 _ctype.h lrwxrwxrwx 1 root wheel 16 Sep 25 2011 _semaphore.h -> sys/_semaphore.h -r--r--r-- 1 root wheel 2183 Feb 17 2011 a.out.h lrwxrwxrwx 1 root wheel 9 Sep 25 2011 aio.h -> sys/aio.h -r--r--r-- 1 root wheel 10198 Feb 17 2011 alias.h drwxr-xr-x 2 root wheel 512 Sep 25 2011 altq -r--r--r-- 1 root wheel 3013 Feb 17 2011 ar.h -r--r--r-- 1 root wheel 26371 Feb 17 2011 archive.h ... -r--r--r-- 1 root wheel 5486 Feb 17 2011 vgl.h -r--r--r-- 1 root wheel 3514 Feb 17 2011 vis.h drwxr-xr-x 2 root wheel 512 Sep 25 2011 vm -r--r--r-- 1 root wheel 8944 Feb 17 2011 wchar.h -r--r--r-- 1 root wheel 3772 Feb 17 2011 wctype.h -r--r--r-- 1 root wheel 2830 Feb 17 2011 wordexp.h -r--r--r-- 1 root wheel 36692 Feb 17 2011 xmmintrin.h -r--r--r-- 1 root wheel 2419 Feb 17 2011 ypclnt.h -r--r--r-- 1 root wheel 9887 Feb 17 2011 zconf.h -r--r--r-- 1 root wheel 66188 Feb 17 2011 zlib.h |
#ls -lR/usr/include/
![]() total 1534 -r--r--r-- 1 root wheel 5878 Feb 17 2011 FlexLexer.h -r--r--r-- 1 root wheel 6313 Feb 17 2011 _ctype.h lrwxrwxrwx 1 root wheel 16 Sep 25 2011 _semaphore.h -> sys/_semaphore.h -r--r--r-- 1 root wheel 2183 Feb 17 2011 a.out.h lrwxrwxrwx 1 root wheel 9 Sep 25 2011 aio.h -> sys/aio.h -r--r--r-- 1 root wheel 10198 Feb 17 2011 alias.h drwxr-xr-x 2 root wheel 512 Sep 25 2011 altq -r--r--r-- 1 root wheel 3013 Feb 17 2011 ar.h -r--r--r-- 1 root wheel 26371 Feb 17 2011 archive.h ... -r--r--r-- 1 root wheel 8417 Feb 17 2011 iconv.h -r--r--r-- 1 root wheel 3678 Feb 17 2011 imgact.h -r--r--r-- 1 root wheel 5826 Feb 17 2011 imgact_aout.h -r--r--r-- 1 root wheel 3505 Feb 17 2011 imgact_elf.h -r--r--r-- 1 root wheel 1560 Feb 17 2011 inflate.h -r--r--r-- 1 root wheel 7098 Feb 17 2011 interrupt.h -r--r--r-- 1 root wheel 3320 Feb 17 2011 ioccom.h -r--r--r-- 1 root wheel 3040 Feb 17 2011 ioctl.h -r--r--r-- 1 root wheel 6978 Feb 17 2011 ioctl_compat.h ^C |
#ls -lR /usr/include/ | more
|
#ls -lR /usr/include/ | less
|
#ls /
.cshrc boot entropy media sbin .profile cdrom etc mnt sys .snap compat home proc tmp COPYRIGHT dev lib rescue usr bin dist libexec root var |
#ls -l/
![]() ls: illegal option -- / usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] |
#ls -l /
total 55 -rw-r--r-- 2 root wheel 794 Feb 17 2011 .cshrc -rw-r--r-- 2 root wheel 261 Feb 17 2011 .profile drwxrwxr-x 2 root operator 512 Sep 25 2011 .snap -r--r--r-- 1 root wheel 6191 Feb 17 2011 COPYRIGHT drwxr-xr-x 2 root wheel 1024 Sep 25 2011 bin drwxr-xr-x 8 root wheel 1024 Feb 12 15:22 boot drwxr-xr-x 2 root wheel 512 Sep 25 2011 cdrom lrwxr-xr-x 1 root wheel 10 Sep 25 2011 compat -> usr/compat dr-xr-xr-x 5 root wheel 512 Mar 26 15:01 dev ... drwxr-xr-x 2 root wheel 512 Feb 17 2011 media drwxr-xr-x 2 root wheel 512 Feb 17 2011 mnt dr-xr-xr-x 2 root wheel 512 Feb 17 2011 proc drwxr-xr-x 2 root wheel 2560 Sep 25 2011 rescue drwxr-xr-x 4 root wheel 512 Feb 12 15:10 root drwxr-xr-x 2 root wheel 2560 Sep 25 2011 sbin lrwxrwxrwx 1 root wheel 11 Sep 25 2011 sys -> usr/src/sys drwxrwxrwt 7 root wheel 512 Mar 26 17:32 tmp drwxr-xr-x 19 root wheel 512 Mar 26 16:53 usr drwxr-xr-x 23 root wheel 512 Mar 26 15:01 var |
#ls -la/
total 59 drwxr-xr-x 20 root wheel 512 Nov 20 22:36 . drwxr-xr-x 20 root wheel 512 Nov 20 22:36 .. -rw-r--r-- 2 root wheel 794 Feb 17 2011 .cshrc -rw-r--r-- 2 root wheel 261 Feb 17 2011 .profile drwxrwxr-x 2 root operator 512 Sep 25 2011 .snap -r--r--r-- 1 root wheel 6191 Feb 17 2011 COPYRIGHT drwxr-xr-x 2 root wheel 1024 Sep 25 2011 bin drwxr-xr-x 8 root wheel 1024 Feb 12 15:22 boot drwxr-xr-x 2 root wheel 512 Sep 25 2011 cdrom ... drwxr-xr-x 2 root wheel 512 Feb 17 2011 media drwxr-xr-x 2 root wheel 512 Feb 17 2011 mnt dr-xr-xr-x 2 root wheel 512 Feb 17 2011 proc drwxr-xr-x 2 root wheel 2560 Sep 25 2011 rescue drwxr-xr-x 4 root wheel 512 Feb 12 15:10 root drwxr-xr-x 2 root wheel 2560 Sep 25 2011 sbin lrwxrwxrwx 1 root wheel 11 Sep 25 2011 sys -> usr/src/sys drwxrwxrwt 7 root wheel 512 Mar 26 17:32 tmp drwxr-xr-x 19 root wheel 512 Mar 26 16:53 usr drwxr-xr-x 23 root wheel 512 Mar 26 15:01 var |
#ls -la / | more
|