/l3/users/27-11-2017/NT-Ladm/debian3.net.nt/root :1 :2 :3 :4 :5 |
|
#update the values of LINES and COLUMNS.
![]() cp: после «/root/.vimrc» пропущен операнд, задающий целевой файл Попробуйте «cp --help» для получения более подробного описания. |
#cp ~/ .vimrc
![]() cp: пропускается каталог «/root/» |
#cp ~/ .vimrc .
![]() cp: пропускается каталог «/root/» cp: не удалось выполнить stat для «.vimrc»: Нет такого файла или каталога |
#cp ~/.vimrc .
|
#cd
|
#history
1 ifconfig 2 vim /etc/network/interfaces 3 nano /etc/network/interfaces 4 /etc/init.d/networking restart 5 ifconfig 6 route 7 ping 192.168.13.253 8 shutdown -r now 9 exit 10 ping ya.ru ... 217 echo $HISTSIZE 218 cd /etc/skel/ 219 vi .bshrc 220 vi .bashrc 221 cp ~/.vimrc 222 cp ~/ .vimrc 223 cp ~/ .vimrc . 224 cp ~/.vimrc . 225 cd 226 history |
#!235
l3script: !235: event not found |
#!235
l3script: !235: event not found |
#!216
echo $HISTSIZE 2000 |
#!226
history 1 ifconfig 2 vim /etc/network/interfaces 3 nano /etc/network/interfaces 4 /etc/init.d/networking restart 5 ifconfig 6 route 7 ping 192.168.13.253 8 shutdown -r now 9 exit ... 219 vi .bshrc 220 vi .bashrc 221 cp ~/.vimrc 222 cp ~/ .vimrc 223 cp ~/ .vimrc . 224 cp ~/.vimrc . 225* ! 226 history 227 echo $HISTSIZE 228 history |
#!?-a
ifconfig -a | sed s/00:16:4a:00:0.:a0/00:16:4a:00:0.:a$i/g eth0 Link encap:Ethernet HWaddr 00:16:3e:00:00:03 inet addr:192.168.13.3 Bcast:192.168.13.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe00:3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:63548 errors:0 dropped:0 overruns:0 frame:0 TX packets:55338 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8941889 (8.5 MiB) TX bytes:6428107 (6.1 MiB) Interrupt:72 ... RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:74 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
#!?-a
ifconfig -a | sed s/00:16:4a:00:0.:a0/00:16:4a:00:0.:a$i/g eth0 Link encap:Ethernet HWaddr 00:16:3e:00:00:03 inet addr:192.168.13.3 Bcast:192.168.13.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe00:3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:63599 errors:0 dropped:0 overruns:0 frame:0 TX packets:55418 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8944716 (8.5 MiB) TX bytes:6440846 (6.1 MiB) Interrupt:72 ... RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:74 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
#!?-l
ls -l /bin/*sh -rwxr-xr-x 1 root root 975488 Сен 25 2014 /bin/bash -rwxr-xr-x 1 root root 106920 Мар 1 2012 /bin/dash lrwxrwxrwx 1 root root 21 Ноя 28 09:26 /bin/ksh -> /etc/alternatives/ksh lrwxrwxrwx 1 root root 4 Сен 25 2014 /bin/rbash -> bash lrwxrwxrwx 1 root root 22 Ноя 28 09:26 /bin/rzsh -> /etc/alternatives/rzsh lrwxrwxrwx 1 root root 4 Мар 1 2012 /bin/sh -> dash lrwxrwxrwx 1 root root 21 Ноя 28 09:26 /bin/zsh -> /etc/alternatives/zsh |
#history -w
|
#history --help
![]() l3script: history: --: неправильная опция history: usage: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...] |
#help history
history: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...] Display or manipulate the history list. Display the history list with line numbers, prefixing each modified entry with a `*'. An argument of N lists only the last N entries. Options: -c clear the history list by deleting all of the entries -d offset delete the history entry at offset OFFSET. -a |