/l3/users/10-08-2009/nt-fbsdnet/fbsd1.net.nt/user :1 :2 :3 :4 |
|
$dpkg -i xpdf
bash: dpkg: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
$sudo ifconfig -a
Password: Sorry, try again. Password: re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$man re
|
$man -a re
|
$d
daemon declare djpeg dasher derdump dmesg date desktop-file-install dmidecode db41_archive desktop-file-validate dnssec-keygen db41_checkpoint devd dnssec-signzone db41_deadlock devdump do db41_dump devfs domainname db41_dump185 devinfo done db41_load df dprofpp db41_printlog dga dtd2rng ... dbus-binding-tool diff3 dump dbus-cleanup-sockets dig dumpfs dbus-daemon digictl dumphint dbus-launch dirmngr dumpon dbus-monitor dirmngr-client dumpreg dbus-send dirname dvd+rw-booktype dbus-uuidgen dirs dvd+rw-format dc disco dvd+rw-mediainfo dcadec diskinfo dvd-ram-control --More-- |
$d
daemon declare djpeg dasher derdump dmesg date desktop-file-install dmidecode db41_archive desktop-file-validate dnssec-keygen db41_checkpoint devd dnssec-signzone db41_deadlock devdump do db41_dump devfs domainname db41_dump185 devinfo done db41_load df dprofpp db41_printlog dga dtd2rng ... dbus-cleanup-sockets dig dumpfs dbus-daemon digictl dumphint dbus-launch dirmngr dumpon dbus-monitor dirmngr-client dumpreg dbus-send dirname dvd+rw-booktype dbus-uuidgen dirs dvd+rw-format dc disco dvd+rw-mediainfo dcadec diskinfo dvd-ram-control dconschat disklabel dvdnav-config dd disown dvipdf |
$d
bash: d: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
$sudo
sudo: dpkg: command not found |
$echo $
$BASH $HOME $PPID $BASH_ARGC $HOSTNAME $PS1 $BASH_ARGV $HOSTTYPE $PS2 $BASH_COMMAND $IFS $PS4 $BASH_LINENO $L3_HOME $PWD $BASH_SOURCE $L3_PARENT_TTY $RANDOM $BASH_SUBSHELL $L3_SESSION_ID $SECONDS $BASH_VERSINFO $L3_TAMPERED_EDITORS $SHELL $BASH_VERSION $LANG $SHELLOPTS $BLOCKSIZE $LINENO $SHLVL $COLUMNS $LINES $TERM $COMP_WORDBREAKS $LOGNAME $TERMCAP $DIRSTACK $MACHTYPE $UID $DISPLAY $MAIL $USER $EUID $MAILCHECK $WINDOWID $FTP_PASSIVE_MODE $MM_CHARSET $XTERM_LOCALE $GROUPS $OPTERR $XTERM_SHELL $HISTCMD $OPTIND $XTERM_VERSION $HISTFILE $OSTYPE $_ $HISTFILESIZE $PATH $editor_file $HISTSIZE $PIPESTATUS $editor_name |
$echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/user/bin |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -d
re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 |
$ifconfig -l
re0 re1 re2 plip0 lo0 |
$sudo vim /etc/rc.conf
|
$ssh 192.168.16.1
The authenticity of host '192.168.16.1 (192.168.16.1)' can't be established. DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.1' (DSA) to the list of known hosts. user@192.168.16.1's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 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 Aug 10 12:01:18 2009 from 192.168.16.7 l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid |
$grep iface /etc/defaults/rc.conf
|
$grep ifconfig /etc/defaults/rc.conf
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO). pfsync_ifconfig="" # Additional options to ifconfig(8) for pfsync ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. #ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry. #ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. #ipv6_ifconfig_ed0="fec0:0:0:5::1 prefixlen 64" # Sample manual assign entry #ipv6_ifconfig_ed0_alias0="fec0:0:0:5::2 prefixlen 64" # Sample alias entry. |
$grep ifconfig /etc/defaults/rc.conf
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO). pfsync_ifconfig="" # Additional options to ifconfig(8) for pfsync ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. #ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry. #ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. #ipv6_ifconfig_ed0="fec0:0:0:5::1 prefixlen 64" # Sample manual assign entry #ipv6_ifconfig_ed0_alias0="fec0:0:0:5::2 prefixlen 64" # Sample alias entry. |
$sudo vim /
|
$grep named /etc/defaults/rc.conf
# named. It may be possible to run named in a sandbox, man security for named_enable="NO" # Run named, the DNS server (or NO). named_program="/usr/sbin/named" # path to named, if you want a different one. #named_flags="" # Flags for named named_pidfile="/var/run/named/pid" # Must set this in named.conf as well named_uid="bind" # User to run named as named_chrootdir="/var/named" # Chroot directory (or "" not to auto-chroot it) named_chroot_autoupdate="YES" # Automatically install/update chrooted # components of named. See /etc/rc.d/named. named_symlink_enable="YES" # Symlink the chrooted pid file |
$sudo vim /etc/rc.conf
|
$sudo vim /etc/rc.conf
|
$sudo vim /etc/rc.conf
|
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$sudo /etc/rc
rc rc.conf rc.firewall rc.initdiskless rc.sendmail rc.subr rc.bsdextended rc.d/ rc.firewall6 rc.resume rc.shutdown rc.suspend |
$sudo /etc/rc
rc rc.conf rc.firewall rc.initdiskless rc.sendmail rc.subr rc.bsdextended rc.d/ rc.firewall6 rc.resume rc.shutdown rc.suspend |
$sudo /etc/rc
rc rc.conf rc.firewall rc.initdiskless rc.sendmail rc.subr rc.bsdextended rc.d/ rc.firewall6 rc.resume rc.shutdown rc.suspend |
$sudo /etc/rc.d/ne
netif netoptions network_ipv6 newsyslog |
$sudo /etc/rc.d/netif
Usage: /etc/rc.d/netif [fast|force|one](start|stop|restart|rcvar|cloneup|clonedown) |
$sudo /etc/rc.d/ne
netif netoptions network_ipv6 newsyslog |
$sudo /etc/rc.d/netif
Usage: /etc/rc.d/netif [fast|force|one](start|stop|restart|rcvar|cloneup|clonedown) |
$screen -x
|
$sudo /etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$sudo /etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$sudoen -x
Password: sudo: screen: command not found |
$sudo vim /etc/rc.conf
|
$screen
|
$ifconfig re1 alias 10.0.0.1
ifconfig: ioctl (SIOCAIFADDR): permission denied |
$sudo ifconfig re1 alias 10.0.0.1
|
$sudo ifconfig re1 alias 10.0.0.1
|
$ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=0.063 ms ^C --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.063/0.063/0.063/0.000 ms |
$ping 172.16.0.1
PING 172.16.0.1 (172.16.0.1): 56 data bytes 64 bytes from 172.16.0.1: icmp_seq=0 ttl=64 time=0.060 ms ^C --- 172.16.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.060/0.060/0.060/0.000 ms |
$sudo vim /etc/rc.conf
|
$sudo vim /etc/rc.conf
|
$sudo /etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$sudo /etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$grep ifconfig /etc/defaults/rc.conf
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO). pfsync_ifconfig="" # Additional options to ifconfig(8) for pfsync ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. #ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry. #ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. #ipv6_ifconfig_ed0="fec0:0:0:5::1 prefixlen 64" # Sample manual assign entry #ipv6_ifconfig_ed0_alias0="fec0:0:0:5::2 prefixlen 64" # Sample alias entry. |
$grep ifconfig /etc/defaults/rc.conf
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO). pfsync_ifconfig="" # Additional options to ifconfig(8) for pfsync ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. #ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry. #ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. #ipv6_ifconfig_ed0="fec0:0:0:5::1 prefixlen 64" # Sample manual assign entry #ipv6_ifconfig_ed0_alias0="fec0:0:0:5::2 prefixlen 64" # Sample alias entry. |
$ifconfig re1
|
$ifconfig re1
|
$sudo vim /etc/rc.conf
|
$sudo vim /etc/rc.conf
|
$sudo /etc/rc.d/netif restart
Stopping network:ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$sudo /etc/rc.d/netif restart
Stopping network:ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ether 00:16:4e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
$screen -x
|
$ping -s 6550716.55
ping: packet size too large: 65507 > 56: Operation not permitted |
$ping -s 6550716.55
ping: packet size too large: 65507 > 56: Operation not permitted |
$sudo -s 65507 192.168.16.55
Password: PING 192.168.16.55 (192.168.16.55): 65507 data bytes ^C --- 192.168.16.55 ping statistics --- 35 packets transmitted, 0 packets received, 100% packet loss |
$sudo -s 65507 192.168.16.55
Password: PING 192.168.16.55 (192.168.16.55): 65507 data bytes ^C --- 192.168.16.55 ping statistics --- 35 packets transmitted, 0 packets received, 100% packet loss |
$sudo ping -s 65507 192.168.16.55
PING 192.168.16.55 (192.168.16.55): 65507 data bytes c^C --- 192.168.16.55 ping statistics --- 35 packets transmitted, 0 packets received, 100% packet loss |
$sudo ping -s 65507 192.168.16.55
PING 192.168.16.55 (192.168.16.55): 65507 data bytes c^C --- 192.168.16.55 ping statistics --- 35 packets transmitted, 0 packets received, 100% packet loss |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig re1 192.168.18.158 255.255.255.224
ifconfig: ioctl (SIOCDIFADDR): permission denied |
$ifconfig re1 192.168.18.158 255.255.255.224
ifconfig: ioctl (SIOCDIFADDR): permission denied |
$sudonfig re1 192.168.18.158 255.255.255.224
Password: |
$sudonfig re1 192.168.18.158 255.255.255.224
Password: |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 inet 192.168.18.158 netmask 0xffffff00 broadcast 255.255.255.224 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 inet 192.168.18.158 netmask 0xffffff00 broadcast 255.255.255.224 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$sudo ifconfig re1 192.168.18.158 netmask 55.224
|
$sudo ifconfig re1 192.168.18.158 netmask 55.224
|
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.158 netmask 0xffffffe0 broadcast 192.168.18.159 ether 00:16:4e:00:01:01 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.158 netmask 0xffffffe0 broadcast 192.168.18.159 ether 00:16:4e:00:01:01 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ping 192.168.18.129
PING 192.168.18.129 (192.168.18.129): 56 data bytes ^C --- 192.168.18.129 ping statistics --- 28 packets transmitted, 0 packets received, 100% packet loss |
$ping 192.168.18.129
PING 192.168.18.129 (192.168.18.129): 56 data bytes ^C --- 192.168.18.129 ping statistics --- 28 packets transmitted, 0 packets received, 100% packet loss |
$sudo ifconfig re1 192.168.18.157netmask 255.255.255.224
|
$sudo ifconfig re1 192.168.18.157netmask 255.255.255.224
|
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.21 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.157 netmask 0xffffffe0 broadcast 192.168.18.159 ether 00:16:4e:00:01:01 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
Время первой команды журнала | 07:28:21 2009- 8-10 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:21:29 2009- 8-10 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 26.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 9.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.79 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008