WOW.js + Animate.CSS
itspec.org

  itspec@itspec.org    +7 (926) 697-78-81

 1

,

:

sudo su -

sudo apt-get install ubuntu-desktop - .

sudo nano /etc/network/interfaces - (NANO),

sudo /etc/init.d/networking restart - ( Start Stop)

sudo apt-get update -

sudo apt-get remove mc - . MC

sudo apt-get install arno-iptables-firewall -

sudo dpkg-reconfigure arno-iptables-firewall -

adduser test -

usermod -a -G sudo test - root

wget http://www.webmin.com/download/deb/webmin-current.deb - . webmin

sudo mkdir /home/ftp - . FTP Home

sudo chmod 755 /home/ftp -

cd /home . /home

passwd it - IT. root

mkdir dir1 dir1

pwd

rm -f file1 'file1'

rmdir dir1 'dir1'

cp file1 file2 file1 file2

cp dir/* . dir

cp -a /tmp/dir1 . dir1

cp -a dir1 dir2 dir1 dir2

shutdown -h now init 0 telinit 0

shutdown -h hours:minutes &

shutdown -c

shutdown -r now reboot

logout

 VpN

(LAN WiFi):

ifconfig eth0 eth0

ifup eth0 () eth0

ifdown eth0 () eth0

dhclient eth0 eth0 dhcp-.

netstat -rn

hostname

host www.example.com host 192.0.43.10 www.example.com IP-

ip link show

mii-tool eth0 eth0

ethtool eth0 eth0 ,

netstat -tupn TCP UDP IP- PID' ,

netstat -tupln TCP UDP IP- PID' ,

tcpdump tcp port 80 TCP- 80 ( HTTP)

iwlist scan ,

iwconfig eth1 eth1

IPTABLES (firewall):

iptables -nL

sudo ufw allow 22 -

sudo ufw deny 22 -

sudo ufw allow proto tcp from 192.168.0.2 to any port 22 - 22 192.168.0.2

sudo ufw status -


:

top , ( )

ps -eafw , ()

ps -e -o pid,args --forest PID'

pstree

kill -9 98989 kill -KILL 98989 PID 98989 ( )

kill -TERM 98989 PID 98989

kill -1 98989 kill -HUP 98989 PID 98989

lsof -p 98989 , PID 98989

lsof /home/user1 /home/user1

strace -c ls >/dev/null , ls

strace -f -e open ls >/dev/null

watch -n1 'cat /proc/interrupts'

last reboot

last user1 user1

lsmod

free -m

smartctl -A /dev/hda /dev/hda SMART

smartctl -i /dev/hda SMART /dev/hda

tail /var/log/dmesg

tail /var/log/messages
         putty.org.ru



,

16.08.2018
+ 0 -
Администратор
service --status-all проверить все сервисы

Оставить комментарий

Имя:
Email:
Комментарий:
- я не робот
- подписаться на обновления
eComment v.1.9.0