/l3/users/27-3-2017/NT-Ladm/debian1.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 |
|
#alias
alias ls='ls --color' |
#ls /ect/profile.d
![]() ls: невозможно получить доступ к /ect/profile.d: Нет такого файла или каталога |
#ls /ect/profile.d/
![]() ls: невозможно получить доступ к /ect/profile.d/: Нет такого файла или каталога |
#ls /etc/profile.d/
bash_completion.sh |
#echo $HIST
![]() $HISTCMD $HISTFILE $HISTFILESIZE $HISTSIZE |
#echo $HISTSIZE
500 |
#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 ... 305 ls -a 306 vi .bashrc 307 alias 308 source .bashrc 309 alias 310 ls /ect/profile.d 311 ls /ect/profile.d/ 312 ls /etc/profile.d/ 313 echo $HISTSIZE 314 history |
#vi /etc/profile
--- /tmp/l3-saved-8457.926.2162 2017-03-28 11:25:01.487079991 +0300 +++ /etc/profile 2017-03-28 11:27:25.391125559 +0300 @@ -35,3 +35,11 @@ done unset i fi + +HISTSIZE=2000 +HISTFILESIZE=2000 +export HISTSIZE HISTFILESIZE +p +p +q +HISTSIZE= |
#echo $HISTSIZE
500 |
#echo $HISTSIZE
|
#echo $HISTSIZE
|
#echo $HISTSIZE
|
#vi /etc/profile
--- /tmp/l3-saved-10136.14008.31050 2017-03-28 11:30:03.691125952 +0300 +++ /etc/profile 2017-03-28 11:30:32.383128049 +0300 @@ -39,7 +39,4 @@ HISTSIZE=2000 HISTFILESIZE=2000 export HISTSIZE HISTFILESIZE -p -p -q -HISTSIZE= + |
#vi .bashrc
|
#[ ]
|
#cp ~ivan/.bashrc /etc/skel
|
#diff ~ivan/.bashrc ~petr/.bashrc
|
#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 ... 325 vi /etc/profile 326 exit 327 l3script 328 exit 329 echo $HISTSIZE 330 vi .bashrc 331 cp ~ivan/.bashrc ~petr 332 cp ~ivan/.bashrc /etc/skel 333 diff ~ivan/.bashrc ~petr/.bashrc 334 history |
#!313
echo $HISTSIZE 2000 |
#l3script
|
#who
![]() root pts/0 2017-03-28 11:30 (192.168.16.154) root pts/5 2017-03-28 12:16 (192.168.16.154) |
#who
root pts/0 2017-03-28 11:30 (192.168.16.154) root pts/5 2017-03-28 12:16 (192.168.16.154) |
#who
![]() root pts/0 2017-03-28 11:30 (192.168.16.154) root pts/5 2017-03-28 12:16 (192.168.16.154) |
#who
root pts/0 2017-03-28 11:30 (192.168.16.154) root pts/5 2017-03-28 12:16 (192.168.16.154) |
#ls
![]() bash echo lessfile nano run-parts uncompress busybox egrep lesskey nc sed unicode_start cat false lesspipe nc.traditional setfont vdir chgrp fgconsole ln netcat setupcon which chmod fgrep loadkeys netstat sh ypdomainname chown findmnt login nisdomainname sh.distrib zcat chvt fuser ls open sleep zcmp cp grep lsblk openvt ss zdiff cpio gunzip lsmod pidof stty zegrep dash gzexe mkdir ping su zfgrep date gzip mknod ping6 sync zforce dd hostname mktemp ps tailf zgrep df ip more pwd tar zless dir kbd_mode mount rbash tempfile zmore dmesg kill mountpoint readlink touch znew dnsdomainname kmod mt rm true domainname less mt-gnu rmdir umount dumpkeys lessecho mv rnano uname |
#ls
bash echo lessfile nano run-parts uncompress busybox egrep lesskey nc sed unicode_start cat false lesspipe nc.traditional setfont vdir chgrp fgconsole ln netcat setupcon which chmod fgrep loadkeys netstat sh ypdomainname chown findmnt login nisdomainname sh.distrib zcat chvt fuser ls open sleep zcmp cp grep lsblk openvt ss zdiff cpio gunzip lsmod pidof stty zegrep dash gzexe mkdir ping su zfgrep date gzip mknod ping6 sync zforce dd hostname mktemp ps tailf zgrep df ip more pwd tar zless dir kbd_mode mount rbash tempfile zmore dmesg kill mountpoint readlink touch znew dnsdomainname kmod mt rm true domainname less mt-gnu rmdir umount dumpkeys lessecho mv rnano uname |
#ls [a-ckl]*
![]() bash cat chmod chvt cpio kill less lessfile lesspipe loadkeys ls lsmod busybox chgrp chown cp kbd_mode kmod lessecho lesskey ln login lsblk |
#ls [a-ckl]*
bash cat chmod chvt cpio kill less lessfile lesspipe loadkeys ls lsmod busybox chgrp chown cp kbd_mode kmod lessecho lesskey ln login lsblk |
#ls [!a-ckl]*
![]() dash egrep hostname mv ping sed tailf which zmore date false ip nano ping6 setfont tar ypdomainname znew dd fgconsole mkdir nc ps setupcon tempfile zcat df fgrep mknod nc.traditional pwd sh touch zcmp dir findmnt mktemp netcat rbash sh.distrib true zdiff dmesg fuser more netstat readlink sleep umount zegrep dnsdomainname grep mount nisdomainname rm ss uname zfgrep domainname gunzip mountpoint open rmdir stty uncompress zforce dumpkeys gzexe mt openvt rnano su unicode_start zgrep echo gzip mt-gnu pidof run-parts sync vdir zless |
#ls [!a-ckl]*
dash egrep hostname mv ping sed tailf which zmore date false ip nano ping6 setfont tar ypdomainname znew dd fgconsole mkdir nc ps setupcon tempfile zcat df fgrep mknod nc.traditional pwd sh touch zcmp dir findmnt mktemp netcat rbash sh.distrib true zdiff dmesg fuser more netstat readlink sleep umount zegrep dnsdomainname grep mount nisdomainname rm ss uname zfgrep domainname gunzip mountpoint open rmdir stty uncompress zforce dumpkeys gzexe mt openvt rnano su unicode_start zgrep echo gzip mt-gnu pidof run-parts sync vdir zless |
#tree
![]() . ├── d1 │ ├── f1 │ └── f2 ├── d2 │ ├── d3 │ └── f2 ├── f2 -> /root/d2/f2 ├── install ├── MBR ├── MBR2 └── proc.txt 3 directories, 8 files |
#tree
. ├── d1 │ ├── f1 │ └── f2 ├── d2 │ ├── d3 │ └── f2 ├── f2 -> /root/d2/f2 ├── install ├── MBR ├── MBR2 └── proc.txt 3 directories, 8 files |
#tree
![]() . ├── d1 │ ├── f1 │ └── f2 ├── d2 │ ├── d3 │ └── f3 ├── f2 -> /root/d2/f2 ├── install ├── MBR ├── MBR2 └── proc.txt 3 directories, 8 files |
#tree
. ├── d1 │ ├── f1 │ └── f2 ├── d2 │ ├── d3 │ └── f3 ├── f2 -> /root/d2/f2 ├── install ├── MBR ├── MBR2 └── proc.txt 3 directories, 8 files |
#ls -l $(which vi)
![]() lrwxrwxrwx 1 root root 20 Июн 27 2014 /usr/bin/vi -> /etc/alternatives/vi |
#ls -l $(which vi)
lrwxrwxrwx 1 root root 20 Июн 27 2014 /usr/bin/vi -> /etc/alternatives/vi |
#ps ax
![]() PID TTY STAT TIME COMMAND 1 ? Ss 0:06 init [2] 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 5 ? S 0:00 [kworker/u:0] 6 ? S 0:00 [migration/0] 7 ? S 0:03 [watchdog/0] 8 ? S< 0:00 [cpuset] 9 ? S< 0:00 [khelper] 10 ? S 0:00 [kdevtmpfs] ... 10282 pts/0 S+ 0:00 script -f -c l3script -q /root/.lilalo//30140175052288627349-1490689859.script 10283 pts/1 Ss 0:00 l3script 10762 pts/1 S+ 0:00 script -f -c l3script -q /root/.lilalo//20377313061345313557-1490692455.script 10793 pts/1 S+ 0:00 script -f -c l3script -q /root/.lilalo//20377313061345313557-1490692455.script 10794 pts/4 Ss 0:00 l3script 11041 ? Ss 0:00 sshd: ivan [priv] 11043 ? S 0:00 sshd: ivan@pts/5 11044 pts/5 Ss 0:00 -bash 11125 pts/5 S+ 0:00 l3script 11166 pts/4 R+ 0:00 ps ax |
#ps ax
PID TTY STAT TIME COMMAND 1 ? Ss 0:06 init [2] 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 5 ? S 0:00 [kworker/u:0] 6 ? S 0:00 [migration/0] 7 ? S 0:03 [watchdog/0] 8 ? S< 0:00 [cpuset] 9 ? S< 0:00 [khelper] 10 ? S 0:00 [kdevtmpfs] ... 10282 pts/0 S+ 0:00 script -f -c l3script -q /root/.lilalo//30140175052288627349-1490689859.script 10283 pts/1 Ss 0:00 l3script 10762 pts/1 S+ 0:00 script -f -c l3script -q /root/.lilalo//20377313061345313557-1490692455.script 10793 pts/1 S+ 0:00 script -f -c l3script -q /root/.lilalo//20377313061345313557-1490692455.script 10794 pts/4 Ss 0:00 l3script 11041 ? Ss 0:00 sshd: ivan [priv] 11043 ? S 0:00 sshd: ivan@pts/5 11044 pts/5 Ss 0:00 -bash 11125 pts/5 S+ 0:00 l3script 11166 pts/4 R+ 0:00 ps ax |