[Original] Linux Tips Summary

xiaoxiao2021-03-06  56

Linux skills summary Author: NIOS September 23, 2004 0:33:20 Find SUID, GUID-bit $ ls -l | grep '^ ... s' $ ls -l | grep' ^ ... s..s '

Mirror DD for floppy disk

Enable SWAP partition MK SWAPSWAPON

Monitor SWAP District Free

DNS profile /etc/resolv.conflinuxd DNS is implemented by bind

Su - root -c "command"

Continuous execution of cmd && cmd && cmd

Find all .C files, Hello string, grep hello * .c -r, in the current directory (including subdirectory)

Modify host name / etc / sysconfig / network

Start text interface / etc / inittabid: x: initdefault: change 5 is 3

Let a program continue to run after logging in # cmd # DISOWN or # NOHUP CMD &

Handmade Gateway Route Add Default GW IP

Change Gateway #vi /etc/sysconfig/network-scripts/IFCFG-TH0#/etc/init.d/network restart

Tracking routing #traceroute ip

Start FTP Service /etc/init.d/vsftpd start

Install software rpm -ihv package. Rpm

Where is the software installation? RPM -QP | aaa.rpm

The software is reversed RPM-E bag name. Rpm

转载请注明原文地址:https://www.9cbs.com/read-114074.html

New Post(0)