| /l3/users/22-06-2009/fbsd-adm/fbsd2.unix.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 |
|
|
#ls
2 2007 2008 2009 |
|
#tree 2007
2007 |-- 01 |-- 02 |-- 03 |-- 04 |-- 05 |-- 06 |-- 07 |-- 08 |-- 09 |-- 10 |-- 11 `-- 12 12 directories, 0 files |
|
#touch 2
2/ 2007/ 2008/ 2009/ |
|
#touch 2
|
|
#ls
2 2007 2008 2009 |
|
#man touch
|
|
#ls
2 2007 2008 2009 |
|
#touch 1
|
|
#ls
1 2 2007 2008 2009 |
|
#ls -l-a
ls: illegal option -- - usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] |
|
#ls -la
total 12 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:34 . drwxrwxrwt 14 root wheel 512 26 ÉÀÎ 16:30 .. -rw-r--r-- 1 root wheel 0 26 ÉÀÎ 16:34 1 drwxr-xr-x 3 root wheel 512 26 ÉÀÎ 16:17 2 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2009 |
|
#ln 1 111
|
|
#ls -la
total 12 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:34 . drwxrwxrwt 14 root wheel 512 26 ÉÀÎ 16:30 .. -rw-r--r-- 2 root wheel 0 26 ÉÀÎ 16:34 1 -rw-r--r-- 2 root wheel 0 26 ÉÀÎ 16:34 111 drwxr-xr-x 3 root wheel 512 26 ÉÀÎ 16:17 2 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2009 |
|
#chmod +x 1
|
|
#ls -la
total 12 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:34 . drwxrwxrwt 14 root wheel 512 26 ÉÀÎ 16:34 .. -rwxr-xr-x 2 root wheel 0 26 ÉÀÎ 16:34 1 -rwxr-xr-x 2 root wheel 0 26 ÉÀÎ 16:34 111 drwxr-xr-x 3 root wheel 512 26 ÉÀÎ 16:17 2 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2009 |
|
#rm 1
|
|
#ls
111 2 2007 2008 2009 |
|
#ls -la
total 12 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:35 . drwxrwxrwt 14 root wheel 512 26 ÉÀÎ 16:35 .. -rwxr-xr-x 1 root wheel 0 26 ÉÀÎ 16:34 111 drwxr-xr-x 3 root wheel 512 26 ÉÀÎ 16:17 2 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2009 |
|
#ln 1 111
ln: 1: No such file or directory |
|
#ln 111 1
|
|
#ln 1 111
ln: 111: File exists |
|
#ls -la
total 12 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:36 . drwxrwxrwt 14 root wheel 512 26 ÉÀÎ 16:35 .. -rwxr-xr-x 2 root wheel 0 26 ÉÀÎ 16:34 1 -rwxr-xr-x 2 root wheel 0 26 ÉÀÎ 16:34 111 drwxr-xr-x 3 root wheel 512 26 ÉÀÎ 16:17 2 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2009 |
|
#ln 111 222
|
|
#ls -la
total 12 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:36 . drwxrwxrwt 14 root wheel 512 26 ÉÀÎ 16:35 .. -rwxr-xr-x 3 root wheel 0 26 ÉÀÎ 16:34 1 -rwxr-xr-x 3 root wheel 0 26 ÉÀÎ 16:34 111 drwxr-xr-x 3 root wheel 512 26 ÉÀÎ 16:17 2 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2009 -rwxr-xr-x 3 root wheel 0 26 ÉÀÎ 16:34 222 |
|
#rm 111
|
|
#ls -la
total 12 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:36 . drwxrwxrwt 14 root wheel 512 26 ÉÀÎ 16:35 .. -rwxr-xr-x 2 root wheel 0 26 ÉÀÎ 16:34 1 drwxr-xr-x 3 root wheel 512 26 ÉÀÎ 16:17 2 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 16:00 2009 -rwxr-xr-x 2 root wheel 0 26 ÉÀÎ 16:34 222 |
|
#cd /
|
|
#ls
.cshrc boot etc mnt sys .mozilla cdrom home moused.core tmp .profile compat lib proc usr .snap dev libexec rescue var COPYRIGHT dist log root bin entropy media sbin |
|
#ls -l
total 283 -rw-r--r-- 2 root wheel 801 16 ÑÎ× 2008 .cshrc drwx------ 2 root wheel 512 15 ÍÁÒ 2008 .mozilla -rw-r--r-- 2 root wheel 251 16 ÑÎ× 2008 .profile drwxrwxr-x 2 root operator 512 15 ÍÁÒ 2008 .snap -r--r--r-- 1 root wheel 6192 16 ÑÎ× 2008 COPYRIGHT drwxr-xr-x 2 root wheel 1024 15 ÍÁÒ 2008 bin drwxr-xr-x 6 root wheel 512 15 ÍÁÒ 2008 boot drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 2008 cdrom lrwxr-xr-x 1 root wheel 10 15 ÍÁÒ 2008 compat -> usr/compat ... drwxr-xr-x 2 root wheel 512 16 ÑÎ× 2008 mnt -rw------- 1 root wheel 208896 15 ÍÁÒ 2008 moused.core dr-xr-xr-x 2 root wheel 512 16 ÑÎ× 2008 proc drwxr-xr-x 2 root wheel 2560 15 ÍÁÒ 2008 rescue drwxr-xr-x 5 root wheel 512 22 ÉÀÎ 09:11 root drwxr-xr-x 2 root wheel 2560 15 ÍÁÒ 2008 sbin lrwxrwxrwx 1 root wheel 11 15 ÍÁÒ 2008 sys -> usr/src/sys drwxrwxrwt 14 root wheel 512 26 ÉÀÎ 16:35 tmp drwxr-xr-x 17 root wheel 512 15 ÍÁÒ 2008 usr drwxr-xr-x 25 root wheel 512 26 ÉÀÎ 14:30 var |
|
#mount
/dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s2e on /tmp (ufs, local, soft-updates) /dev/ad0s2f on /usr (ufs, local, soft-updates) /dev/ad0s2d on /var (ufs, local, soft-updates) |
|
#cd /etc/
|
|
#ls
X11 login.conf.db protocols aliases mac.conf pwd.db amd.map mail rc apmd.conf mail.rc rc.bsdextended auth.conf make.conf rc.conf bluetooth manpath.config rc.d crontab manpath.config.bak rc.firewall csh.cshrc manpath.config.bak.xorg rc.firewall6 csh.login master.passwd rc.initdiskless csh.logout motd rc.resume ... hosts pccard_ether spwd.db hosts.allow periodic ssh hosts.equiv periodic.conf ssl hosts.lpd pf.conf sysctl.conf inetd.conf pf.os syslog.conf isdn phones termcap lilalo portsnap.conf ttys locate.rc ppp usbd.conf login.access printcap login.conf profile |
|
#less resolv.conf
|
|
#less fstab
|
|
#cd /tmp/
|
|
#mkdir -p /scripting/{perl,python}
|
|
#ls
.ICE-unix 2007 .X11-unix 2008 .XIM-unix 2009 .font-unix fam-user .snap lilalo-install-temp-1212 1 lilalo-install-temp-1241 |
|
#cd /
|
|
#ls
.cshrc boot etc mnt scripting .mozilla cdrom home moused.core sys .profile compat lib proc tmp .snap dev libexec rescue usr COPYRIGHT dist log root var bin entropy media sbin |
|
#tree scripting/
scripting/ |-- perl `-- python 2 directories, 0 files |
|
#rmdir scripting/
rmdir: scripting/: Directory not empty |
|
#rm -rfi /scripting/
remove /scripting/? y remove /scripting/perl? y remove /scripting/python? y |
|
#ls
.cshrc boot etc mnt sys .mozilla cdrom home moused.core tmp .profile compat lib proc usr .snap dev libexec rescue var COPYRIGHT dist log root bin entropy media sbin |
|
#cd /
|
|
#cd tmp
|
|
#mkdir -p scripting/{perl,python}
|
|
#ls
.ICE-unix 2008 .X11-unix 2009 .XIM-unix fam-user .font-unix lilalo-install-temp-1212 .snap lilalo-install-temp-1241 1 scripting 2007 |
|
#tree scripting/
scripting/ |-- perl `-- python 2 directories, 0 files |
|
#tree scripting
scripting |-- perl `-- python 2 directories, 0 files |
|
#ls -lr scripting/
total 4 drwxr-xr-x 2 root wheel 512 26 ÉÀÎ 16:44 python drwxr-xr-x 2 root wheel 512 26 ÉÀÎ 16:44 perl |
|
#ls -la scripting/
total 8 drwxr-xr-x 4 root wheel 512 26 ÉÀÎ 16:44 . drwxrwxrwt 15 root wheel 512 26 ÉÀÎ 16:44 .. drwxr-xr-x 2 root wheel 512 26 ÉÀÎ 16:44 perl drwxr-xr-x 2 root wheel 512 26 ÉÀÎ 16:44 python |
|
#ls -ld scripting
drwxr-xr-x 4 root wheel 512 26 ÉÀÎ 16:44 scripting |
|
#cp -r /etc /tmp/etc-backup
|
|
#ls
.ICE-unix 2008 .X11-unix 2009 .XIM-unix etc-backup .font-unix fam-user .snap lilalo-install-temp-1212 1 lilalo-install-temp-1241 2007 scripting |
|
#less etc-backup/
|
|
#ls etc-backup/
X11 login.conf.db protocols aliases mac.conf pwd.db amd.map mail rc apmd.conf mail.rc rc.bsdextended auth.conf make.conf rc.conf bluetooth manpath.config rc.d crontab manpath.config.bak rc.firewall csh.cshrc manpath.config.bak.xorg rc.firewall6 csh.login master.passwd rc.initdiskless csh.logout motd rc.resume ... hosts pccard_ether spwd.db hosts.allow periodic ssh hosts.equiv periodic.conf ssl hosts.lpd pf.conf sysctl.conf inetd.conf pf.os syslog.conf isdn phones termcap lilalo portsnap.conf ttys locate.rc ppp usbd.conf login.access printcap login.conf profile |
|
#rm -rf etc-backup
|
|
#ls
.ICE-unix 2008 .X11-unix 2009 .XIM-unix fam-user .font-unix lilalo-install-temp-1212 .snap lilalo-install-temp-1241 1 scripting 2007 |
|
#ls -lt
total 26 drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 16:44 .X11-unix drwxr-xr-x 4 root wheel 512 26 ÉÀÎ 16:44 scripting drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:36 1 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2009 drwxrwxr-x 2 root operator 512 26 ÉÀÎ 14:32 .snap drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .ICE-unix drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .XIM-unix drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .font-unix drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 lilalo-install-temp-1241 drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 lilalo-install-temp-1212 drwx------ 2 user wheel 512 15 ÍÁÒ 2008 fam-user |
|
#ls -ld
drwxrwxrwt 15 root wheel 512 26 ÉÀÎ 16:46 . |
|
#ls -lt
total 26 drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 16:44 .X11-unix drwxr-xr-x 4 root wheel 512 26 ÉÀÎ 16:44 scripting drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:36 1 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2007 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2009 drwxrwxr-x 2 root operator 512 26 ÉÀÎ 14:32 .snap drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .ICE-unix drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .XIM-unix drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .font-unix drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 lilalo-install-temp-1241 drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 lilalo-install-temp-1212 drwx------ 2 user wheel 512 15 ÍÁÒ 2008 fam-user |
|
#ls -lrt
total 26 drwx------ 2 user wheel 512 15 ÍÁÒ 2008 fam-user drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 lilalo-install-temp-1212 drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 lilalo-install-temp-1241 drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .font-unix drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .XIM-unix drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .ICE-unix drwxrwxr-x 2 root operator 512 26 ÉÀÎ 14:32 .snap drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2009 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2008 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2007 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:36 1 drwxr-xr-x 4 root wheel 512 26 ÉÀÎ 16:44 scripting drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 16:44 .X11-unix |
|
#man ls
|
|
#/by
bash: /by: No such file or directory |
|
#man ls
|
|
#ls -lh
total 26 drwxrwxrwt 2 root wheel 512B 26 ÉÀÎ 14:30 .ICE-unix drwxrwxrwt 2 root wheel 512B 26 ÉÀÎ 16:48 .X11-unix drwxrwxrwt 2 root wheel 512B 26 ÉÀÎ 14:30 .XIM-unix drwxrwxrwt 2 root wheel 512B 26 ÉÀÎ 14:30 .font-unix drwxrwxr-x 2 root operator 512B 26 ÉÀÎ 14:32 .snap drwxr-xr-x 6 root wheel 512B 26 ÉÀÎ 16:36 1 drwxr-xr-x 14 root wheel 512B 26 ÉÀÎ 15:57 2007 drwxr-xr-x 14 root wheel 512B 26 ÉÀÎ 15:57 2008 drwxr-xr-x 14 root wheel 512B 26 ÉÀÎ 15:57 2009 drwx------ 2 user wheel 512B 15 ÍÁÒ 2008 fam-user drwxr-xr-x 2 root wheel 512B 28 ÍÁÒ 2008 lilalo-install-temp-1212 drwxr-xr-x 2 root wheel 512B 28 ÍÁÒ 2008 lilalo-install-temp-1241 drwxr-xr-x 4 root wheel 512B 26 ÉÀÎ 16:44 scripting |
|
#ls -lh /etc
total 528 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 X11 lrwxrwxrwx 1 root wheel 12B 15 ÍÁÒ 2008 aliases -> mail/aliases -rw-r--r-- 1 root wheel 209B 16 ÑÎ× 2008 amd.map -rw-r--r-- 1 root wheel 1,2K 16 ÑÎ× 2008 apmd.conf -rw-r--r-- 1 root wheel 231B 16 ÑÎ× 2008 auth.conf drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 bluetooth -rw-r--r-- 1 root wheel 737B 16 ÑÎ× 2008 crontab -rw-r--r-- 1 root wheel 108B 16 ÑÎ× 2008 csh.cshrc -rw-r--r-- 1 root wheel 481B 16 ÑÎ× 2008 csh.login ... drwxr-xr-x 2 root wheel 512B 16 ÑÎ× 2008 skel -rw-r--r-- 1 root wheel 2,4K 16 ÑÎ× 2008 snmpd.config -rw------- 1 root wheel 40K 15 ÍÁÒ 2008 spwd.db drwxr-xr-x 2 root wheel 512B 27 ÍÁÒ 2008 ssh drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 ssl -rw-r--r-- 1 root wheel 367B 16 ÑÎ× 2008 sysctl.conf -rw-r--r-- 1 root wheel 1,3K 16 ÑÎ× 2008 syslog.conf lrwxrwxrwx 1 root wheel 23B 15 ÍÁÒ 2008 termcap -> /usr/share/misc/termcap -rw-r--r-- 1 root wheel 13K 16 ÑÎ× 2008 ttys -rw-r--r-- 1 root wheel 1,4K 16 ÑÎ× 2008 usbd.conf |
|
#man ls
|
|
#man ls
|
|
#ls -lhir /etc
total 528 47173 -rw-r--r-- 1 root wheel 1,4K 16 ÑÎ× 2008 usbd.conf 47174 -rw-r--r-- 1 root wheel 13K 16 ÑÎ× 2008 ttys 47190 lrwxrwxrwx 1 root wheel 23B 15 ÍÁÒ 2008 termcap -> /usr/share/misc/termcap 47172 -rw-r--r-- 1 root wheel 1,3K 16 ÑÎ× 2008 syslog.conf 47171 -rw-r--r-- 1 root wheel 367B 16 ÑÎ× 2008 sysctl.conf 47127 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 ssl 47126 drwxr-xr-x 2 root wheel 512B 27 ÍÁÒ 2008 ssh 47188 -rw------- 1 root wheel 40K 15 ÍÁÒ 2008 spwd.db 47170 -rw-r--r-- 1 root wheel 2,4K 16 ÑÎ× 2008 snmpd.config ... 47134 -rw-r--r-- 1 root wheel 110B 16 ÑÎ× 2008 csh.logout 47133 -rw-r--r-- 1 root wheel 481B 16 ÑÎ× 2008 csh.login 47132 -rw-r--r-- 1 root wheel 108B 16 ÑÎ× 2008 csh.cshrc 47131 -rw-r--r-- 1 root wheel 737B 16 ÑÎ× 2008 crontab 47114 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 bluetooth 47130 -rw-r--r-- 1 root wheel 231B 16 ÑÎ× 2008 auth.conf 47129 -rw-r--r-- 1 root wheel 1,2K 16 ÑÎ× 2008 apmd.conf 47128 -rw-r--r-- 1 root wheel 209B 16 ÑÎ× 2008 amd.map 47193 lrwxrwxrwx 1 root wheel 12B 15 ÍÁÒ 2008 aliases -> mail/aliases 47113 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 X11 |
|
#ls -lhirt /etc
total 528 47125 drwxr-xr-x 2 root wheel 512B 16 ÑÎ× 2008 skel 47119 drwx------ 2 root wheel 512B 16 ÑÎ× 2008 ntp 47173 -rw-r--r-- 1 root wheel 1,4K 16 ÑÎ× 2008 usbd.conf 47174 -rw-r--r-- 1 root wheel 13K 16 ÑÎ× 2008 ttys 47172 -rw-r--r-- 1 root wheel 1,3K 16 ÑÎ× 2008 syslog.conf 47171 -rw-r--r-- 1 root wheel 367B 16 ÑÎ× 2008 sysctl.conf 47170 -rw-r--r-- 1 root wheel 2,4K 16 ÑÎ× 2008 snmpd.config 47109 -rw-r--r-- 1 root wheel 72K 16 ÑÎ× 2008 services 47168 -rw-r--r-- 1 root wheel 1,6K 16 ÑÎ× 2008 rpc ... 47188 -rw------- 1 root wheel 40K 15 ÍÁÒ 2008 spwd.db 47184 -rw-r--r-- 1 root wheel 40K 15 ÍÁÒ 2008 pwd.db 47469 -rw-r--r-- 1 root wheel 1,6K 15 ÍÁÒ 2008 passwd 47466 -rw------- 1 root wheel 1,8K 15 ÍÁÒ 2008 master.passwd 47113 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 X11 47126 drwxr-xr-x 2 root wheel 512B 27 ÍÁÒ 2008 ssh 47477 drwxr-xr-x 2 root wheel 512B 28 ÍÁÒ 2008 lilalo 47462 -rw-r--r-- 1 root wheel 391B 22 ÉÀÎ 09:13 rc.conf 47476 -rw-r--r-- 1 root wheel 25B 26 ÉÀÎ 14:30 resolv.conf.save 47189 -rw-r--r-- 1 root wheel 40B 26 ÉÀÎ 14:30 resolv.conf |
|
#ls -lhit /etc
total 528 47189 -rw-r--r-- 1 root wheel 40B 26 ÉÀÎ 14:30 resolv.conf 47476 -rw-r--r-- 1 root wheel 25B 26 ÉÀÎ 14:30 resolv.conf.save 47462 -rw-r--r-- 1 root wheel 391B 22 ÉÀÎ 09:13 rc.conf 47477 drwxr-xr-x 2 root wheel 512B 28 ÍÁÒ 2008 lilalo 47126 drwxr-xr-x 2 root wheel 512B 27 ÍÁÒ 2008 ssh 47113 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 X11 47466 -rw------- 1 root wheel 1,8K 15 ÍÁÒ 2008 master.passwd 47469 -rw-r--r-- 1 root wheel 1,6K 15 ÍÁÒ 2008 passwd 47184 -rw-r--r-- 1 root wheel 40K 15 ÍÁÒ 2008 pwd.db ... 47167 -rw-r--r-- 1 root wheel 2,3K 16 ÑÎ× 2008 remote 47168 -rw-r--r-- 1 root wheel 1,6K 16 ÑÎ× 2008 rpc 47109 -rw-r--r-- 1 root wheel 72K 16 ÑÎ× 2008 services 47170 -rw-r--r-- 1 root wheel 2,4K 16 ÑÎ× 2008 snmpd.config 47171 -rw-r--r-- 1 root wheel 367B 16 ÑÎ× 2008 sysctl.conf 47172 -rw-r--r-- 1 root wheel 1,3K 16 ÑÎ× 2008 syslog.conf 47174 -rw-r--r-- 1 root wheel 13K 16 ÑÎ× 2008 ttys 47173 -rw-r--r-- 1 root wheel 1,4K 16 ÑÎ× 2008 usbd.conf 47119 drwx------ 2 root wheel 512B 16 ÑÎ× 2008 ntp 47125 drwxr-xr-x 2 root wheel 512B 16 ÑÎ× 2008 skel |
|
#ls -lhis /etc
total 528 47113 2 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 X11 47193 0 lrwxrwxrwx 1 root wheel 12B 15 ÍÁÒ 2008 aliases -> mail/aliases 47128 2 -rw-r--r-- 1 root wheel 209B 16 ÑÎ× 2008 amd.map 47129 2 -rw-r--r-- 1 root wheel 1,2K 16 ÑÎ× 2008 apmd.conf 47130 2 -rw-r--r-- 1 root wheel 231B 16 ÑÎ× 2008 auth.conf 47114 2 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 bluetooth 47131 2 -rw-r--r-- 1 root wheel 737B 16 ÑÎ× 2008 crontab 47132 2 -rw-r--r-- 1 root wheel 108B 16 ÑÎ× 2008 csh.cshrc 47133 2 -rw-r--r-- 1 root wheel 481B 16 ÑÎ× 2008 csh.login ... 47125 2 drwxr-xr-x 2 root wheel 512B 16 ÑÎ× 2008 skel 47170 4 -rw-r--r-- 1 root wheel 2,4K 16 ÑÎ× 2008 snmpd.config 47188 40 -rw------- 1 root wheel 40K 15 ÍÁÒ 2008 spwd.db 47126 2 drwxr-xr-x 2 root wheel 512B 27 ÍÁÒ 2008 ssh 47127 2 drwxr-xr-x 2 root wheel 512B 15 ÍÁÒ 2008 ssl 47171 2 -rw-r--r-- 1 root wheel 367B 16 ÑÎ× 2008 sysctl.conf 47172 2 -rw-r--r-- 1 root wheel 1,3K 16 ÑÎ× 2008 syslog.conf 47190 0 lrwxrwxrwx 1 root wheel 23B 15 ÍÁÒ 2008 termcap -> /usr/share/misc/termcap 47174 14 -rw-r--r-- 1 root wheel 13K 16 ÑÎ× 2008 ttys 47173 2 -rw-r--r-- 1 root wheel 1,4K 16 ÑÎ× 2008 usbd.conf |
|
#ls -lhis /etc/
Display all 100 possibilities? (y or n) |
|
#ls -lhis /etc
|
|
#man ls
|
|
#ls -lhiR /etc
47225 -r-xr-xr-x 1 root wheel 2,2K 16 ÑÎ× 2008 bridge 47226 -r-xr-xr-x 1 root wheel 301B 16 ÑÎ× 2008 bsnmpd 47227 -r-xr-xr-x 1 root wheel 646B 16 ÑÎ× 2008 bthidd 47228 -r-xr-xr-x 1 root wheel 374B 16 ÑÎ× 2008 ccd 47229 -r-xr-xr-x 1 root wheel 1,3K 16 ÑÎ× 2008 cleanvar 47230 -r-xr-xr-x 1 root wheel 1,7K 16 ÑÎ× 2008 cleartmp 47231 -r-xr-xr-x 1 root wheel 432B 16 ÑÎ× 2008 cron 47232 -r-xr-xr-x 1 root wheel 444B 16 ÑÎ× 2008 devd 47233 -r-xr-xr-x 1 root wheel 1,4K 16 ÑÎ× 2008 devfs 47234 -r-xr-xr-x 1 root wheel 1,1K 16 ÑÎ× 2008 dhclient ... 47472 -rw------- 1 root wheel 668B 27 ÍÁÒ 2008 ssh_host_dsa_key 47473 -rw-r--r-- 1 root wheel 609B 27 ÍÁÒ 2008 ssh_host_dsa_key.pub 47470 -rw------- 1 root wheel 534B 27 ÍÁÒ 2008 ssh_host_key 47471 -rw-r--r-- 1 root wheel 338B 27 ÍÁÒ 2008 ssh_host_key.pub 47474 -rw------- 1 root wheel 1,6K 27 ÍÁÒ 2008 ssh_host_rsa_key 47475 -rw-r--r-- 1 root wheel 401B 27 ÍÁÒ 2008 ssh_host_rsa_key.pub 47197 -rw-r--r-- 1 root wheel 3,2K 27 ÍÁÒ 2008 sshd_config /etc/ssl: total 8 47195 -rw-r--r-- 1 root wheel 7,7K 16 ÑÎ× 2008 openssl.cnf |
|
#man ls
|
|
#find /etc -type d | ls -li
total 26
32901 drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .ICE-unix
32897 drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 16:53 .X11-unix
49345 drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .XIM-unix
49346 drwxrwxrwt 2 root wheel 512 26 ÉÀÎ 14:30 .font-unix
3 drwxrwxr-x 2 root operator 512 26 ÉÀÎ 14:32 .snap
49344 drwxr-xr-x 6 root wheel 512 26 ÉÀÎ 16:36 1
32896 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2007
16448 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2008
49349 drwxr-xr-x 14 root wheel 512 26 ÉÀÎ 15:57 2009
32898 drwx------ 2 user wheel 512 15 ÍÁÒ 2008 fam-user
16449 drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 lilalo-install-temp-1212
16451 drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 lilalo-install-temp-1241
16470 drwxr-xr-x 4 root wheel 512 26 ÉÀÎ 16:44 scripting
|