/l3/users/14-06-2010/nt-lnet/debian4.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 |
|
#cat /etc/xinit.conf
![]() cat: /etc/xinit.conf: No such file or directory |
#cat /etc/x
![]() cat: /etc/x: No such file or directory |
#cat /etc/passwd/
![]() cat: /etc/passwd/: Это не каталог |
#cat /etc/passwd
root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/bin/sh man:x:6:12:man:/var/cache/man:/bin/sh lp:x:7:7:lp:/var/spool/lpd:/bin/sh mail:x:8:8:mail:/var/mail:/bin/sh news:x:9:9:news:/var/spool/news:/bin/sh ... irc:x:39:39:ircd:/var/run/ircd:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh nobody:x:65534:65534:nobody:/nonexistent:/bin/sh libuuid:x:100:101::/var/lib/libuuid:/bin/sh messagebus:x:101:103::/var/run/dbus:/bin/false gdm:x:102:105:Gnome Display Manager:/var/lib/gdm:/bin/false user:x:1000:1000::/home/user:/bin/bash sshd:x:103:65534::/var/run/sshd:/usr/sbin/nologin popa3d:x:104:108::/var/lib/popa3d:/bin/false Debian-exim:x:105:109::/var/spool/exim4:/bin/false |
#grep user /etc/passwd
user:x:1000:1000::/home/user:/bin/bash |
#sort
![]() ^C |
#vim /tmp/names
![]() --- /dev/null 2010-06-15 09:50:47.839716629 +0300 +++ /tmp/names 2010-06-15 12:42:40.000000000 +0300 @@ -0,0 +1,3 @@ +Yaroslav +Sergey +Andrey |
#sort < /tmp/names
Andrey Sergey Yaroslav |
#sort < /tmp/names > /tmp/sorted
|
#sort
asd ads ds asd ads asd asd ds |
#sort < /tmp/names > /tmp/sorted
|
#ps
PID TTY TIME CMD 1461 pts/3 00:00:01 l3script 6779 pts/3 00:00:00 ps |
#ps a
PID TTY STAT TIME COMMAND 1058 hvc0 Ss+ 0:00 /sbin/getty 38400 hvc0 1059 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 1060 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 1061 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 1062 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 1063 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 1272 pts/0 Ss 0:00 bash 1282 pts/0 S 0:00 su - 1291 pts/0 S+ 0:00 -su ... 1428 pts/2 Ss 0:00 /bin/bash 1429 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//2116212161278 1460 pts/2 R+ 0:00 script -f -c l3script -q /root/.lilalo//2116212161278 1461 pts/3 Ss 0:01 l3script 1482 pts/4 Ss 0:00 /bin/bash 1483 pts/4 S+ 0:00 script -f -c l3script -q /root/.lilalo//2489332466168 1514 pts/4 S+ 0:00 script -f -c l3script -q /root/.lilalo//2489332466168 1515 pts/5 Ss 0:00 l3script 1536 pts/5 S+ 0:00 ssh 192.168.16.24 6787 pts/3 R+ 0:00 ps a |
#ps ax
PID TTY STAT TIME COMMAND 1 ? Ss 0:00 init [2] 2 ? S< 0:00 [kthreadd] 3 ? S< 0:00 [migration/0] 4 ? S< 0:00 [ksoftirqd/0] 5 ? S< 0:00 [watchdog/0] 6 ? S< 0:00 [events/0] 7 ? S< 0:00 [khelper] 19 ? S< 0:00 [xenwatch] 20 ? S< 0:00 [xenbus] ... 1514 pts/4 S+ 0:00 script -f -c l3script -q /root/.lilalo//2489332466168 1515 pts/5 Ss 0:00 l3script 1536 pts/5 S+ 0:00 ssh 192.168.16.24 1950 ? Ss 0:00 /usr/sbin/popa3d -D 2593 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 3562 ? Ss 0:52 l3-agent 4845 ? Ss 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayal 4947 ? S 0:00 [pdflush] 6033 ? Ss 0:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webm 6795 pts/3 R+ 0:00 ps ax |
#ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2040 692 ? Ss 09:50 0:00 init [2] root 2 0.0 0.0 0 0 ? S< 09:50 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S< 09:50 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S< 09:50 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S< 09:50 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S< 09:50 0:00 [events/0] root 7 0.0 0.0 0 0 ? S< 09:50 0:00 [khelper] root 19 0.0 0.0 0 0 ? S< 09:50 0:00 [xenwatch] root 20 0.0 0.0 0 0 ? S< 09:50 0:00 [xenbus] ... root 1514 0.0 0.0 4908 484 pts/4 S+ 10:10 0:00 script -f -c l3 root 1515 0.0 0.3 6124 1876 pts/5 Ss 10:10 0:00 l3script root 1536 0.0 0.3 5092 2284 pts/5 S+ 10:10 0:00 ssh 192.168.16. root 1950 0.0 0.0 2184 272 ? Ss 10:22 0:00 /usr/sbin/popa3 105 2593 0.0 0.1 6516 948 ? Ss 10:22 0:00 /usr/sbin/exim4 user 3562 0.7 1.8 16420 11200 ? Ss 10:45 0:52 l3-agent root 4845 0.0 0.1 2408 888 ? Ss 11:14 0:00 /usr/sbin/xinet root 4947 0.0 0.0 0 0 ? S 11:16 0:00 [pdflush] root 6033 0.0 1.5 13148 9144 ? Ss 11:18 0:00 /usr/bin/perl / root 6803 0.0 0.1 5384 1032 pts/3 R+ 12:44 0:00 ps axu |
#ps axuw
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2040 692 ? Ss 09:50 0:00 init [2] root 2 0.0 0.0 0 0 ? S< 09:50 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S< 09:50 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S< 09:50 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S< 09:50 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S< 09:50 0:00 [events/0] root 7 0.0 0.0 0 0 ? S< 09:50 0:00 [khelper] root 19 0.0 0.0 0 0 ? S< 09:50 0:00 [xenwatch] root 20 0.0 0.0 0 0 ? S< 09:50 0:00 [xenbus] ... root 1514 0.0 0.0 4908 484 pts/4 S+ 10:10 0:00 script -f -c l3script -q /root/.lilalo//24893324661683728532-127658 root 1515 0.0 0.3 6124 1876 pts/5 Ss 10:10 0:00 l3script root 1536 0.0 0.3 5092 2284 pts/5 S+ 10:10 0:00 ssh 192.168.16.24 root 1950 0.0 0.0 2184 272 ? Ss 10:22 0:00 /usr/sbin/popa3d -D 105 2593 0.0 0.1 6516 948 ? Ss 10:22 0:00 /usr/sbin/exim4 -bd -q30m user 3562 0.7 1.8 16420 11200 ? Ss 10:45 0:52 l3-agent root 4845 0.0 0.1 2408 888 ? Ss 11:14 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_com root 4947 0.0 0.0 0 0 ? S 11:16 0:00 [pdflush] root 6033 0.0 1.5 13148 9144 ? Ss 11:18 0:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.co root 6811 0.0 0.1 5384 1032 pts/3 R+ 12:44 0:00 ps axuw |
#ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2040 692 ? Ss 09:50 0:00 init [2] root 2 0.0 0.0 0 0 ? S< 09:50 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S< 09:50 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S< 09:50 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S< 09:50 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S< 09:50 0:00 [events/0] root 7 0.0 0.0 0 0 ? S< 09:50 0:00 [khelper] root 19 0.0 0.0 0 0 ? S< 09:50 0:00 [xenwatch] root 20 0.0 0.0 0 0 ? S< 09:50 0:00 [xenbus] ... root 1514 0.0 0.0 4908 484 pts/4 S+ 10:10 0:00 script -f -c l3 root 1515 0.0 0.3 6124 1876 pts/5 Ss 10:10 0:00 l3script root 1536 0.0 0.3 5092 2284 pts/5 S+ 10:10 0:00 ssh 192.168.16. root 1950 0.0 0.0 2184 272 ? Ss 10:22 0:00 /usr/sbin/popa3 105 2593 0.0 0.1 6516 948 ? Ss 10:22 0:00 /usr/sbin/exim4 user 3562 0.7 1.8 16420 11200 ? Ss 10:45 0:52 l3-agent root 4845 0.0 0.1 2408 888 ? Ss 11:14 0:00 /usr/sbin/xinet root 4947 0.0 0.0 0 0 ? S 11:16 0:00 [pdflush] root 6033 0.0 1.5 13148 9144 ? Ss 11:18 0:00 /usr/bin/perl / root 6819 0.0 0.1 5384 1032 pts/3 R+ 12:44 0:00 ps axu |
#ps axu | cat -n
1 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND 2 root 1 0.0 0.1 2040 692 ? Ss 09:50 0:00 init [2] 3 root 2 0.0 0.0 0 0 ? S< 09:50 0:00 [kthreadd] 4 root 3 0.0 0.0 0 0 ? S< 09:50 0:00 [migration/0] 5 root 4 0.0 0.0 0 0 ? S< 09:50 0:00 [ksoftirqd/0] 6 root 5 0.0 0.0 0 0 ? S< 09:50 0:00 [watchdog/0] 7 root 6 0.0 0.0 0 0 ? S< 09:50 0:00 [events/0] 8 root 7 0.0 0.0 0 0 ? S< 09:50 0:00 [khelper] 9 root 19 0.0 0.0 0 0 ? S< 09:50 0:00 [xenwatch] 10 root 20 0.0 0.0 0 0 ? S< 09:50 0:00 [xenbus] ... 60 root 1515 0.0 0.3 6124 1876 pts/5 Ss 10:10 0:00 l3script 61 root 1536 0.0 0.3 5092 2284 pts/5 S+ 10:10 0:00 ssh 192.168.16.24 62 root 1950 0.0 0.0 2184 272 ? Ss 10:22 0:00 /usr/sbin/popa3d -D 63 105 2593 0.0 0.1 6516 948 ? Ss 10:22 0:00 /usr/sbin/exim4 -bd -q30m 64 user 3562 0.7 1.8 16420 11200 ? Ss 10:45 0:52 l3-agent 65 root 4845 0.0 0.1 2408 888 ? Ss 11:14 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6 66 root 4947 0.0 0.0 0 0 ? S 11:16 0:00 [pdflush] 67 root 6033 0.0 1.5 13148 9144 ? Ss 11:18 0:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf 68 root 6827 0.0 0.1 5384 1032 pts/3 R+ 12:44 0:00 ps axu 69 root 6828 0.0 0.0 4876 492 pts/3 S+ 12:44 0:00 cat -n |
#ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2040 692 ? Ss 09:50 0:00 init [2] root 2 0.0 0.0 0 0 ? S< 09:50 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S< 09:50 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S< 09:50 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S< 09:50 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S< 09:50 0:00 [events/0] root 7 0.0 0.0 0 0 ? S< 09:50 0:00 [khelper] root 19 0.0 0.0 0 0 ? S< 09:50 0:00 [xenwatch] root 20 0.0 0.0 0 0 ? S< 09:50 0:00 [xenbus] ... root 1514 0.0 0.0 4908 484 pts/4 S+ 10:10 0:00 script -f -c l3 root 1515 0.0 0.3 6124 1876 pts/5 Ss 10:10 0:00 l3script root 1536 0.0 0.3 5092 2284 pts/5 S+ 10:10 0:00 ssh 192.168.16. root 1950 0.0 0.0 2184 272 ? Ss 10:22 0:00 /usr/sbin/popa3 105 2593 0.0 0.1 6516 948 ? Ss 10:22 0:00 /usr/sbin/exim4 user 3562 0.7 1.8 16420 11200 ? Ss 10:45 0:52 l3-agent root 4845 0.0 0.1 2408 888 ? Ss 11:14 0:00 /usr/sbin/xinet root 4947 0.0 0.0 0 0 ? S 11:16 0:00 [pdflush] root 6033 0.0 1.5 13148 9144 ? Ss 11:18 0:00 /usr/bin/perl / root 6836 0.0 0.1 5384 1032 pts/3 R+ 12:44 0:00 ps axu |
#ps axuw
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2040 692 ? Ss 09:50 0:00 init [2] root 2 0.0 0.0 0 0 ? S< 09:50 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S< 09:50 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S< 09:50 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S< 09:50 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S< 09:50 0:00 [events/0] root 7 0.0 0.0 0 0 ? S< 09:50 0:00 [khelper] root 19 0.0 0.0 0 0 ? S< 09:50 0:00 [xenwatch] root 20 0.0 0.0 0 0 ? S< 09:50 0:00 [xenbus] ... root 1514 0.0 0.0 4908 484 pts/4 S+ 10:10 0:00 script -f -c l3script -q /root/.lilalo//24893324661683728532-127658 root 1515 0.0 0.3 6124 1876 pts/5 Ss 10:10 0:00 l3script root 1536 0.0 0.3 5092 2284 pts/5 S+ 10:10 0:00 ssh 192.168.16.24 root 1950 0.0 0.0 2184 272 ? Ss 10:22 0:00 /usr/sbin/popa3d -D 105 2593 0.0 0.1 6516 948 ? Ss 10:22 0:00 /usr/sbin/exim4 -bd -q30m user 3562 0.7 1.8 16420 11200 ? Ss 10:45 0:52 l3-agent root 4845 0.0 0.1 2408 888 ? Ss 11:14 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_com root 4947 0.0 0.0 0 0 ? S 11:16 0:00 [pdflush] root 6033 0.0 1.5 13148 9144 ? Ss 11:18 0:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.co root 6844 0.0 0.1 5384 1032 pts/3 R+ 12:44 0:00 ps axuw |
#ssh 192.168.16.254
43 # dependent on the order the scheme first appears in config file. IE ic 44 # has a bug (it's not RFC 2617 compliant) in that it will use the bass 45 # scheme if basic is the first entry presented, even if more secure 46 # schemes are presented. For now use the order in the recommended eir settings section below. If other browsers have difficulties (don't 50 # program entry).chemes offered even if you are using basic) either 51 # put basic first, or disable the other schemes (by commenting out thh on 52 # Once an authentication scheme is fully configured, it can only be ... alias diff='colordiff' alias egrep='egrep --color=auto' alias egrepmy='egrep -v "^#|^\ *$"' alias fgrep='fgrep --color=auto' alias grep='grep --color=auto' alias ls='ls $LS_OPTIONS' alias ssh_nt='luit -encoding cp1251 ssh nt.ua -l clint' debian:~# exit logout Connection to 192.168.16.254 closed. |
#ssh 192.168.16.1
root@192.168.16.1's password: Linux debian1 2.6.26-2-xen-686 #1 SMP Tue Mar 9 20:11:42 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Jun 14 19:12:35 2010 from debian.net.nt l3-agent is already running: pid=1291; pidfile=/root/.lilalo/l3-agent.pid root@debian1:~# l3script |
#nc 192.168.16.1 10000
welcome Please, input some text: adf your text is: adf |
#nc 192.168.16.1 10000
welcome Please, input some text: sdf your text is: sdf |
#ps aux | grep /tmp/script
root 3294 0.0 0.1 4824 752 pts/3 R+ 12:51 0:00 grep /tmp/script |
#ps aux | grep -v grep |grep /tmp/script
|
#ssh 192.168.16.21
Password: Last login: Tue Jun 15 12:23:52 2010 from host206.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. l3-agent is already running: pid=10856; pidfile=/root/.lilalo/l3-agent.pid |
#exit
![]() exit Connection to 192.168.16.24 closed. |
#ssh 192.168.16.21
Password: Last login: Tue Jun 15 12:53:54 2010 from debian4.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. l3-agent is already running: pid=10856; pidfile=/root/.lilalo/l3-agent.pid |
#exit
exit Connection to 192.168.16.24 closed. |
#vim /usr/local/etc/xinetd.conf
|
#includedir /usr/local/etc/xinetd.
![]() xinet.d/ xinetd.conf |
#vim /usr/local/etc/xinetd.conf
|
#exit
exit Connection to 192.168.16.21 closed. |
#less /var/log/messages
|
#vim /usr/local/etc/xinetd.conf
|
#~
Jun 14 00:00:00 fbsd1 newsyslog[2402]: logfile turned over due to size>100K Jun 14 11:08:57 fbsd1 su: user to root on /dev/ttyp2 Jun 14 15:57:15 fbsd1 su: user to root on /dev/ttyp2 Jun 14 16:49:15 fbsd1 shutdown: power-down by root: Jun 14 16:49:17 fbsd1 syslogd: exiting on signal 15 Jun 15 06:43:34 fbsd1 syslogd: kernel boot file is /boot/kernel/kernel Jun 15 06:43:34 fbsd1 kernel: Copyright (c) 1992-2008 The FreeBSD Project. Jun 15 06:43:34 fbsd1 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jun 15 06:43:34 fbsd1 kernel: The Regents of the University of California. All rights reserved. Jun 15 06:43:34 fbsd1 kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. ... Jun 15 06:43:34 fbsd1 kernel: ums0: 3 buttons and Z dir. Jun 15 06:43:34 fbsd1 kernel: Timecounter "TSC" frequency 2327518472 Hz quality 800 Jun 15 06:43:34 fbsd1 kernel: Timecounters tick every 10.000 msec Jun 15 06:43:34 fbsd1 kernel: hptrr: no controller detected. Jun 15 06:43:34 fbsd1 kernel: ad0: 10240MB <QEMU HARDDISK 0.10.2> at ata0-master WDMA2 Jun 15 06:43:34 fbsd1 kernel: Trying to mount root from ufs:/dev/ad0s1a Jun 15 12:41:13 fbsd1 xinetd[29840]: Unable to read included directory: /usr/local/etc/xinetd.d [file=/usr/local/etc/xinetd.conf] [line=1] Jun 15 12:41:13 fbsd1 xinetd[29840]: 29840 {init_services} no services. Exiting... Jun 15 12:57:47 fbsd1 xinetd[30507]: Unable to read included directory: /usr/local/etc/xinet.d [file=/usr/local/etc/xinetd.conf] [line=1] Jun 15 12:57:47 fbsd1 xinetd[30507]: 30507 {init_services} no services. Exiting... |
#!
![]() bash: syntax error near unexpected token `newline' |
#vim /usr/local/etc/xinetd.conf
|
#/usr/local/etc/rc.d/xinetd restart
|
#less /var/log/messages
|
#vim /usr/local/etc/rc.d/xinetd
|
#grep YES /usr/local/etc/rc.d/xinetd >> /etc/rc.conf
|
#vim /etc/rc.conf
|
#/usr/local/etc/rc.d/xinetd restart
xinetd not running? Starting xinetd. |
#less /var/log/messages
|
#ls /usr/local/etc/xinetd.d/
|
#ps aux | grep xinetd
![]() |
#xcon
![]() xconsole xconv |
#xconv < /etc/inetd.conf > /tmp/xinetd
|
#vim /tmp/xinetd
|
#less /var/log/messages
|
#vim /etc/rc.conf
![]() |
#ls /usr/local/etc/xinetd.d/
|
#ls -al /usr/local/etc/xinetd.d/
total 4 drwxr-xr-x 2 root wheel 512 15 ÉÀÎ 12:55 . drwxr-xr-x 27 root wheel 1024 15 ÉÀÎ 12:59 .. |
#LANG=C
|
#ls -al /usr/local/etc/xinetd.d/
total 4 drwxr-xr-x 2 root wheel 512 Jun 15 12:55 . drwxr-xr-x 27 root wheel 1024 Jun 15 12:59 .. |
#man ls
|
#PAGER=less man ls
LS(1) FreeBSD General Commands Manual LS(1) NAME ls -- list directory contents SYNOPSIS ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] DESCRIPTION For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information. For each operand that names a file of type directory, ls displays the names of files contained within that directory, as well as any requested, asso- ... An ls command appeared in Version 1 AT&T UNIX. BUGS something other than a terminal. It is debatable whether this is a design bug. FreeBSD 6.2 October 12, 2006 FreeBSD 6.2 The exception mentioned in the -s option description might be a feature that was based on the fact that single-column output usually goes to something other than a terminal. It is debatable whether this is a design bug. FreeBSD 6.2 October 12, 2006 FreeBSD 6.2 |
#PAGER=cat man ls
LS(1) FreeBSD General Commands Manual LS(1) NAME ls -- list directory contents SYNOPSIS ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] DESCRIPTION For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information. For each operand that names a file of type directory, ls displays the names of files contained within that directory, as well as any requested, asso- ... HISTORY An ls command appeared in Version 1 AT&T UNIX. BUGS To maintain backward compatibility, the relationships between the many options are quite complex. The exception mentioned in the -s option description might be a feature that was based on the fact that single-column output usually goes to something other than a terminal. It is debatable whether this is a design bug. FreeBSD 6.2 October 12, 2006 FreeBSD 6.2 |
#PAGER=less man ls
![]() |
#PAGER=less man ls
LS(1) FreeBSD General Commands Manual LS(1) NAME ls -- list directory contents SYNOPSIS ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] DESCRIPTION For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information. For each operand that names a file of type directory, ls displays the names of files contained within that directory, as well as any requested, asso- ciated information. If no operands are given, the contents of the current directory are dis- played. If more than one operand is given, non-directory operands are displayed first; directory and non-directory operands are sorted sepa- rately and in lexicographical order. The following options are available: -A Include directory entries whose names begin with a dot (`.') |
#ls /usr/share/man/man1
![]() man1/ man1aout/ |
#ls /usr/share/man/man1/ls
![]() ls-F.1.gz ls.1.gz lsvfs.1.gz |
#ls /usr/share/man/man1/ls.1.gz
/usr/share/man/man1/ls.1.gz |
#file /usr/share/man/man1/ls.1.gz
/usr/share/man/man1/ls.1.gz: gzip compressed data, from Unix |
#zless /usr/share/man/man1/ls.1.gz
|
#file /usr/share/man/man1/ls.1.gz
![]() |
#vim /etc/rc.conf
|