/l3/users/20-10-2014/NT-Ladm/debian4.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 |
|
#B=2
|
#echo ((A+$B))
![]() l3script: syntax error near unexpected token `(' |
#echo (($A+$B))
![]() l3script: syntax error near unexpected token `(' |
#cd /
|
#cd
|
#cat /etc/passwd > newfile
|
#ls
1.txt 2.txt 3.txt backup d1 d2 f6 f7 install newfile proj student_con test wget.txt |
#cat newfile | less
|
#sort < /etc/passwd
backup:x:34:34:backup:/var/backups:/bin/sh bin:x:2:2:bin:/bin:/bin/sh daemon:x:1:1:daemon:/usr/sbin:/bin/sh Debian-exim:x:101:103::/var/spool/exim4:/bin/false games:x:5:60:games:/usr/games:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh irc:x:39:39:ircd:/var/run/ircd:/bin/sh libuuid:x:100:101::/var/lib/libuuid:/bin/sh list:x:38:38:Mailing List Manager:/var/list:/bin/sh lp:x:7:7:lp:/var/spool/lpd:/bin/sh ... nobody:x:65534:65534:nobody:/nonexistent:/bin/sh proxy:x:13:13:proxy:/bin:/bin/sh root:x:0:0:root:/root:/bin/bash sshd:x:102:65534::/var/run/sshd:/usr/sbin/nologin student:x:1001:1001::/home/student:/bin/bash sync:x:4:65534:sync:/bin:/bin/sync sys:x:3:3:sys:/dev:/bin/sh user:x:1000:1000:user,,,:/home/user:/bin/bash uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh www-data:x:33:33:www-data:/var/www:/bin/sh |
#cat >> unsorted
![]() ^C |
#cat 1.txt 2.txt 3.txt > letter
|
#cat letter
Пнд Окт 20 11:53:38 EEST 2014 /root Пнд Окт 20 11:53:38 EEST 2014 /root Пнд Окт 20 11:53:38 EEST 2014 /root |
#date > 2.txt
|
#cat 2.txt
Втр Окт 21 17:10:08 EEST 2014 |
#$(expr `date +%m` +1) `date %d%Y%HM`
![]() expr: синтаксическая ошибка date: неверная дата «%d%Y%HM» |
#$(expr `date +%m` +1) `date %dYHM`
![]() expr: синтаксическая ошибка date: неверная дата «%dYHM» |
#$(expr `date +%m` +1) `date %d%Y%H%M`
![]() expr: синтаксическая ошибка date: неверная дата «%d%Y%H%M» |