"Пиздец!"- всем понятное слово.
И с детсва знакомо оно.
"Пиздец!" для кого то хуево.
Кому то пиздец хорошо!
Бывает "Пиздец!" очень важным!
Бывает "Пиздец!" невтерпеж.
И если "Пиздец!" кто то скажет.
Его тут же сразу поймешь.
"Пиздец!" узнаешь по размерам ...
Обычно он слишком большой
Огромный "Пиздец!" неприменно.
Гигатнский, но есть и другой...
Малюсенький еле заметный.
"Пиздец!" может вас посетить.
Опасный" Пиздец !" очень скверный
Такой может все погубить.
"Пиздец!" заменяет глаголы.
Предлоги и крики Ура!!!
"Пиздец!" уникальное слово.
И помнит его детвора.
Учитель,сантехник,строитель.
"Пиздец!" - он у каждого свой.
Важнее всего не сдaваться!
Когда он случиться с тобой!
четверг, 13 октября 2011 г.
четверг, 15 сентября 2011 г.
setxkbmap
setxkbmap -layout "us,ru" -variant winkeys -option grp:lwin_toggle terminate:ctrl_alt_bksp
- английская и русская раскладка
- тип раскладки winkey
- смена раскладки по левому Win-key
- кил иксов по Ctrl+Alt+Backspace
для Caps Lock - вместо lwin - caps
вторник, 30 августа 2011 г.
UMASK
umask || файл || папка
====== || ====== || ======
0 || 6 || 7
----------------------------------------------
1 || 6 || 6
----------------------------------------------
2 || 4 || 5
----------------------------------------------
3 || 4 || 4
----------------------------------------------
4 || 2 || 3
----------------------------------------------
5 || 2 || 2
----------------------------------------------
6 || 0 || 1
----------------------------------------------
7 || 0 || 0
====== || ====== || ======
====== || ====== || ======
0 || 6 || 7
----------------------------------------------
1 || 6 || 6
----------------------------------------------
2 || 4 || 5
----------------------------------------------
3 || 4 || 4
----------------------------------------------
4 || 2 || 3
----------------------------------------------
5 || 2 || 2
----------------------------------------------
6 || 0 || 1
----------------------------------------------
7 || 0 || 0
====== || ====== || ======
SUID и SGID
Поиск файлов с битом SUID
Установка файлу бита SGID
ls -l | grep '^...s'
Поиск файлов с битом SGIDls -l | grep '^......s'
Поиск файлов с битом SUID и SGIDls -l | grep '^...s..s'
==================================.Установка файлу бита SGID
chmod 2755 [filename] - rwxr-sr--x
chmod g+s
Установка файлу бита SUIDchmod g+s
chmod 4755 [filename] - rwsr-xr-x
chmod u+s
Установка файлу битов SUID и SGIDchmod u+s
chmod 6755 [filename] - rwsr-sr-x
chmod ug+s
chmod ug+s
среда, 17 августа 2011 г.
NOD32 update (FREEBSD+APACHE)
#!/usr/local/bin/bash
touch /root/nod32_start_$(date +%d-%m-%Y-%H:%M:%S)
export CURDIR="/usr/local/www/nod32"
export USERESET="ИМЯ"
export PASSESET="ПАРОЛЬ"
cd $CURDIR
wget -q --timestamping http://update.eset.com/eset_upd/update.ver &&
mv -f update.ver update.rar &&
cd $CURDIR/eset_upd &&
unrar e -y ../update.rar . &&
cd $CURDIR &&
mv update.rar update.ver &&
grep file= eset_upd/update.ver | \
grep "file=/download/" | \
sed -e 's/file\=/http\:\/\/um10.eset.com/' | \
grep engine3 | \
grep -v data > downlist1.txt
grep file= eset_upd/update.ver | \
grep "file=/download/" | \
sed -e 's/file\=/http\:\/\/um10.eset.com/' | \
grep engine3ess | \
grep -v data > downlist2.txt
grep file= eset_upd/update.ver | \
grep "file=/download/" | \
sed -e 's/file\=/http\:\/\/um10.eset.com/' | \
grep v3 | \
grep -v data > downlist3.txt
grep file= eset_upd/update.ver | \
grep "file=/download/" | \
sed -e 's/file\=/http\:\/\/um10.eset.com/' | \
grep emsx | \
grep -v data > downlist4.txt
cd $CURDIR/download/engine3/ &&
wget --timestamping --http-user=$USERESET \
--http-password=$PASSESET \
--input-file=../../downlist1.txt \
--user-agent="ESS Update (Windows; U; \
32bit; VDB 7001; BPC 4.0.474.0; \
OS: 5.1.2600 SP 3.0 NT; CH 0.0; LNG 1049; \
x32c; UPD http://um10.eset.com; \
APP ess; BEO 1; CPU 5964; ASP 0.0)"
cd $CURDIR/download/engine3ess/ &&
wget --timestamping --http-user=$USERESET \
--http-password=$PASSESET \
--input-file=../../downlist2.txt \
--user-agent="ESS Update (Windows; U; \
32bit; VDB 7001; BPC 4.0.474.0; \
OS: 5.1.2600 SP 3.0 NT; CH 0.0; LNG 1049; \
x32c; UPD http://um10.eset.com; \
APP ess; BEO 1; CPU 5964; ASP 0.0)"
cd $CURDIR/download/win/v3/ &&
wget --timestamping --http-user=$USERESET \
--http-password=$PASSESET \
--input-file=../../../downlist3.txt \
--user-agent="ESS Update (Windows; U; \
32bit; VDB 7001; BPC 4.0.474.0; \
OS: 5.1.2600 SP 3.0 NT; CH 0.0; LNG 1049; \
x32c; UPD http://um10.eset.com; \
APP ess; BEO 1; CPU 5964; ASP 0.0)"
cd $CURDIR/download/win/emsx/ &&
wget --timestamping --http-user=$USERESET \
--http-password=$PASSESET \
--input-file=../../../downlist4.txt \
--user-agent="ESS Update (Windows; U; \
32bit; VDB 7001; BPC 4.0.474.0; \
OS: 5.1.2600 SP 3.0 NT; CH 0.0; LNG 1049; \
x32c; UPD http://um10.eset.com; \
APP ess; BEO 1; CPU 5964; ASP 0.0)"
touch /root/nod32_end_$(date +%d-%m-%Y-%H:%M:%S)
touch /root/nod32_start_$(date +%d-%m-%Y-%H:%M:%S)
export CURDIR="/usr/local/www/nod32"
export USERESET="ИМЯ"
export PASSESET="ПАРОЛЬ"
cd $CURDIR
wget -q --timestamping http://update.eset.com/eset_upd/update.ver &&
mv -f update.ver update.rar &&
cd $CURDIR/eset_upd &&
unrar e -y ../update.rar . &&
cd $CURDIR &&
mv update.rar update.ver &&
grep file= eset_upd/update.ver | \
grep "file=/download/" | \
sed -e 's/file\=/http\:\/\/um10.eset.com/' | \
grep engine3 | \
grep -v data > downlist1.txt
grep file= eset_upd/update.ver | \
grep "file=/download/" | \
sed -e 's/file\=/http\:\/\/um10.eset.com/' | \
grep engine3ess | \
grep -v data > downlist2.txt
grep file= eset_upd/update.ver | \
grep "file=/download/" | \
sed -e 's/file\=/http\:\/\/um10.eset.com/' | \
grep v3 | \
grep -v data > downlist3.txt
grep file= eset_upd/update.ver | \
grep "file=/download/" | \
sed -e 's/file\=/http\:\/\/um10.eset.com/' | \
grep emsx | \
grep -v data > downlist4.txt
cd $CURDIR/download/engine3/ &&
wget --timestamping --http-user=$USERESET \
--http-password=$PASSESET \
--input-file=../../downlist1.txt \
--user-agent="ESS Update (Windows; U; \
32bit; VDB 7001; BPC 4.0.474.0; \
OS: 5.1.2600 SP 3.0 NT; CH 0.0; LNG 1049; \
x32c; UPD http://um10.eset.com; \
APP ess; BEO 1; CPU 5964; ASP 0.0)"
cd $CURDIR/download/engine3ess/ &&
wget --timestamping --http-user=$USERESET \
--http-password=$PASSESET \
--input-file=../../downlist2.txt \
--user-agent="ESS Update (Windows; U; \
32bit; VDB 7001; BPC 4.0.474.0; \
OS: 5.1.2600 SP 3.0 NT; CH 0.0; LNG 1049; \
x32c; UPD http://um10.eset.com; \
APP ess; BEO 1; CPU 5964; ASP 0.0)"
cd $CURDIR/download/win/v3/ &&
wget --timestamping --http-user=$USERESET \
--http-password=$PASSESET \
--input-file=../../../downlist3.txt \
--user-agent="ESS Update (Windows; U; \
32bit; VDB 7001; BPC 4.0.474.0; \
OS: 5.1.2600 SP 3.0 NT; CH 0.0; LNG 1049; \
x32c; UPD http://um10.eset.com; \
APP ess; BEO 1; CPU 5964; ASP 0.0)"
cd $CURDIR/download/win/emsx/ &&
wget --timestamping --http-user=$USERESET \
--http-password=$PASSESET \
--input-file=../../../downlist4.txt \
--user-agent="ESS Update (Windows; U; \
32bit; VDB 7001; BPC 4.0.474.0; \
OS: 5.1.2600 SP 3.0 NT; CH 0.0; LNG 1049; \
x32c; UPD http://um10.eset.com; \
APP ess; BEO 1; CPU 5964; ASP 0.0)"
touch /root/nod32_end_$(date +%d-%m-%Y-%H:%M:%S)
Подписаться на:
Сообщения (Atom)