/l3/users/08-04-2013/NT-Ladm/debian7.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 (local_session_id::2167847473275917809-1365590395) |
|
#echo $
$_ $L3_TAMPERED_EDITORS $BASH $LANG $BASH_ALIASES $LANGUAGE $BASH_ARGC $LINENO $BASH_ARGV $LINES $BASH_CMDS $LOGNAME $BASH_COMMAND $MACHTYPE $BASH_COMPLETION $MAIL $BASH_COMPLETION_COMPAT_DIR $MAILCHECK $BASH_COMPLETION_DIR $OPTERR ... $HISTFILE $SSH_CLIENT $HISTFILESIZE $SSH_CONNECTION $HISTSIZE $SSH_TTY $HOME $STY $HOSTNAME $TERM $HOSTTYPE $TERMCAP $IFS $UID $L3_HOME $USER $L3_PARENT_TTY $WINDOW $L3_SESSION_ID |
#set
BASH=/usr/local/bin/l3script BASHOPTS=checkwinsize:cmdhist:expand_aliases:extglob:extquote:force_fignore:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_COMPLETION=/etc/bash_completion BASH_COMPLETION_COMPAT_DIR=/etc/bash_completion.d BASH_COMPLETION_DIR=/etc/bash_completion.d BASH_LINENO=() ... LOGNAME=root MACHTYPE=i486-pc-linux-gnu MAIL=/var/mail/root MAILCHECK=60 OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPESTATUS=([0]="0") PPID=21613 |
#set |less
|
#echo $*
|
#echo $@
|
#echo $#
0 |
#echo $-
himBH |
#bash -himBH
root@debian7:~# exit exit |
#echo $$
21614 |
#ls /etc
acpi fstab logrotate.d rc3.d adduser.conf gai.conf lsb-base rc4.d adjtime groff lynx-cur rc5.d aliases group magic rc6.d alternatives group- magic.mime rc.local anacrontab grub.d mailcap rcS.d apm gshadow mailcap.order reportbug.conf apt gshadow- mailname resolv.conf at.deny gssapi_mech.conf mail.rc rmt bash.bashrc host.conf manpath.config rpc ... dhcp ld.so.cache perl trafshow dictionaries-common ld.so.conf ppp ucf.conf discover.conf.d ld.so.conf.d profile udev discover-modprobe.conf lilalo profile.d ufw dpkg locale.alias protocols updatedb.conf emacs locale.gen python vim email-addresses localtime python2.6 w3m environment logcheck rc0.d wgetrc exim4 login.defs rc1.d X11 fonts logrotate.conf rc2.d xml |
#echo $?
0 |
#ls 123
123 |
#ls 1234
ls: невозможно получить доступ к 1234: Нет такого файла или каталога |
#echo $?
2 |
#crontab -e
# Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # [ Прочитано 22 строки ] No modification made |
#EDITOR=vim
|
#crontab -e
x# Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # Сохранить измененный буфер (Ответ "Нет" УНИЧТОЖИТ ВСЕ ИЗМЕНЕНИЯ) ? No modification made |
#\
> \ > ^C |
#export EDITOR=vim
|
#crontab -e
"/tmp/crontab.hNnuGV/crontab" 22L, 888C 13 # Output of the crontab jobs (including errors) is sent through 14 # email to the user the crontab file belongs to (unless redirected). 15 # 16 # For example, you can run a backup of all your user accounts 17 # at 5 a.m every week with: 18 # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ 19 # 20 # For more information see the manual pages of crontab(5) and cron(8) 21 # 22 # m h dom mon dow command No modification made |
#w3m bash.org.ru
ÐолÑ: минÑÑ Ð·Ð° 5 не вÑÑ Ð¾Ð´Ð¸Ñ :) ÐолÑ: Ð¼Ð¾Ð¶ÐµÑ Ð±Ð¸Ð¾Ñ ÐµÐ¼Ñ Ð¿ÐµÑеÑиÑÑ? кnжеÑÑÑ :) Ðова: еÑли,ÑÑо-Ðо бол¾Ñ±- оÑÑезаÑÑ Ð½Ð°Ñик + 1208 â [:||||:] ÐоделиÑÑÑÑ 2013-04-10 10:44 #422057 SSS: Ñ Ð¾ÑеÑÑÑ ÑÑÑкÑов ли воÑей... AAA: в вигиÑоÑианÑÑ Ñ Ð¾ÑеÑÑ Ð¿Ð¾Ð´Ð°ÑÑ Ñ? иÑоге дÑÑг ÑепеÑÑÐкиÑпиÑ. ÑÑо делаÑÑ?» :) SSS: ÐеÑ. Ðн] пÐоÑÑо не Ñ Ð²Ð°1Ð°ÐµÑ Ð²Ð¸4аминов, а "виги-ÑоÑианеÑ" - ÑÑо меÑÑÐ°Ñ . ... Ðна ÑÑÑ Ð¼ÐµÐ´ÑеÑÑÑой ÑабоÑаеÑ. + 431 â [:||||:] ÐоделиÑÑÑÑ 2013-04-10 10:12 #422055 С Ñ Ð°Ð±Ñа (обÑÑжде¾Ð¸Ðµ новоÑÑи о ÐоÑджеÑÐ°Ñ ): + еÑÑÐ°Ñ . ÐÑеÑаÐдиа»Ð¾Ð³ двÑÑ ÐºÐ°Ñков око о ÐСÐÐ: ⪠â â Viewing <ЦиÑаÑник Ð ÑнеÑа> + 1159 â [:||||:] ÐоделиÑÑÑÑ°2013-04-10 10:44 #422056 + 997 â [:||||:] ÐоделиÑÑÑÑ 2013-04-10 12:13 #422064 СÑÐ¾Ñ ÑÐµÐ³Ð¾Ð´Ð½Ñ Ð² апÑеке в оÑеÑеди. ÐеÑедо мной девÑÑка (Ð) ÑовеÑÑеÑÑÑ Ñ Ð°Ð¿ÑекаÑÑей (Ð), какое лекаÑÑÑво вÑбÑаÑÑ. |
#amarao: Накатывать апдей на аппарат на расстоянии в 10-20 ае... У меня бы рука
|
##links bash.org.ru
|
#lynx bash.org.ru
|
#echo $OLDPWD
|
#cd /etc/
|
#echo $OLDPWD
/root |
#echo $PWD
/etc |
#cd $OLDPWD
|
#pwd
/root |
#vim file
--- /tmp/l3-saved-21614.15149.12018 2013-04-10 14:07:59.000000000 +0300 +++ file 2013-04-10 14:08:14.000000000 +0300 @@ -1,8 +1 @@ -lnux -widows -macos -andoid -freebsd -unix -qnx -os2 +echo 'hello world' |
#bash file
hello world |
#test -d /etc/123
|
#echo $?
1 |