| random linux commands public |
| 1 | tac file1 rpm -ivh --nodeps package.rpm top lspci -tv pwd yum search package_name iptables -t filter -A FORWARD -p tcp -- |
| 2 | rar a file1.rar test_file logout userdel -r user1 ifdown eth0 tcpdump tcp port 80 rpm -q package_name --scripts |
| 3 | iptables -t nat -F rpm -qi package_name iptables -t filter -F tar -cvfj archive.tar.bz2 dir1 iwconfig eth1 |
| 4 | sed -n '5p;5q' example.txt shutdown -h now dpkg -i package.deb cdrecord arch ls -lh traceroute www.ya.ru |
| 5 | less file1 rpm --checksig package.rpm fuser rar a file1.rar file1 file2 dir1 rm -rf dir1 dir2 yum update |
| 6 | uname -m iptables -F recode ..HTML < page.txt > page.html cd yum install package_name kill -HUP 98989 |
| 7 | locate rm -f file1 rpm -U package.rpm apt-get autoclean apt-get clean chmod go-rwx directory1 iwlist scan |
| 8 | gzip -9 file1 ps -eafw ln file1 lnk1 dpkg -L package_name passwd smbclient apt-get update groupdel group_name |
| 9 | bunzip2 file1.bz2 netstat -tupn rpmbuild --rebuild package_name.src.rpm wget -r www.example.com lsattr |
| 10 | route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1 groupmod -n new_group_name old_group_name mkdir dir1 dir2 |
| 11 | rpm -Vp package.rpm gzip file1 alias hh='history' rpm -q package_name --whatrequires usermod kill -KILL 98989 |
| 12 | rpm -F package.rpm dos2unix filedos.txt fileunix.txt ifconfig eth0 192.168.1.1 netmask 255.255.255.0 |
| 13 | dpkg -r package_name tree init 0 chgrp group1 file1 kill -9 98989 pwck comm -1 file1 file2 yum list |
| 14 | unzip file1.zip rpm -qa sort file1 file2 chown user1:group1 file1 dmidecode -q iptables -nL swapon |
| 15 | netstat -rn tar -xvf archive.tar more file1 mkdir dir1 ls -F cat last user1 chown -R user1 directory1 |
| 16 | uname -r du -sh dir1 host www.yandex.ru -j DNAT --to-destination 10.0.0.2:22 grpck ls mii-tool eth0 |
| 17 | useradd user1 tar -xvfz archive.tar.gz which halt strace lsusb -tv dhclient eth0 nmblookup -A ip_addr |
| 18 | ln -s file1 lnk1 watch yum clean packages tar -cvf archive.tar file1 file2 dir1 whereis halt passwd user1 |
| 19 | dpkg -s package_name lstree rpm -qc package_name cp -a dir1 dir2 iptables -t filter -A INPUT -p tcp --dport telnet -j ACCEPT |
| 20 | apt-cdrom install package_name shutdown -r now find route add ls -a head -2 file1 rpm -V package_name apt-get install package_name |
| 21 | route -n df -h gpg -c file1 mv dir1 new_dir mkfs cal 2007 unix2dos fileunix.txt filedos.txt zip -r file1.zip file1 file2 dir1 |
| 22 | iptables -t filter -X mkswap tail zip file1.zip file1 comm -2 file1 file2 lsmod rpm -ql package_name |
| 23 | tar -cvfz archive.tar.gz dir1 gpg file1.gpg rmdir dir1 cp file1 file2 dpkg -l iptables -t filter -A OUTPUT -p tcp --dport http -j DROP |
| 24 | rpm -Va gunzip file1.gz nbtscan ip_addr mkisofs netstat -tupln ps -e -o pid,args --forest touch -t 0712250000 fileditest |
| 25 | date kill -1 98989 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -t nat -L chage -E 2005-12-31 user1 |
| 26 | rpm -e package_name.rpm smartctl rpm -qp package.rpm -l grep pstree rpm -ivh package.rpm ifup eth0 |
| 27 | hostname date 041217002007.00 tar -cvf archive.tar file1 chown user1 file1 shutdown -c chattr groupadd group_name |
| 28 | yum update package_name tail -2 file1 ifconfig eth0 promisc apropos paste -d '+' file1 file2 apt-get purge package_name |
| 29 | iptables -t filter -nL tar -xvfj archive.tar.bz2 sed -e '1d' result.txt comm -3 file1 file2 mke2fs |
| 30 | umount bzip2 file1 yum remove package_name ifconfig eth0 -promisc telinit 0 newgrp kill -TERM 98989 |
| 31 | lsof -p 98989 man ping last reboot ls -l ethtool eth0 sed -n '1,8p;5q' example.txt apt-get upgrade |
| 32 | smbget whatis ...keyword apt-get check rm -rf dir1 fsck free -m shutdown -h hours:minutes & rpm -q package_name --whatprovides |
| 33 | host 93.158.134.3 cd-paranoia -B apt-get remove package_name paste file1 file2 rpm -q package_name --changelog |
| 34 | mount reboot yum clean headers yum clean all ip link show unrar x file1.rar ifconfig eth0 rpm -qa gpg-pubkey clock -w tar -tf archive.tar |
Комментарии