Linux Command 50 article

Source: Internet
Author: User
Tags bz2 clear screen gpg

1. DMESG: Used to view kernel's spit out some info. It seems that the master will use this command to install force;

2. Udevadm Monitor: Root kernel about, kernel see all Io in and out

3. Lsof: Sometimes umount a path will encounter device busy error, this time can use this command to find out which process is using that directory, so you can kill him, in order to successfully umount device;

4. du-d 1-h: View the size (GB) of each folder in the current directory;

5. kill-9 + PID, kill a process;

6. Netstat-anutp|grep: Find Port

7. scp:copy file to server or copy from server to local;

8. Less: Continuous paging, cat ****|less,

9. Cat * * *: Print and Eject

MORE: Flip Screen

11.ssh [email protected]: SSH link to target

12.chown-r Owner:owner folder: Modify Owner

Fdisk-l: View all storage device

Mkfs.vfat-f 32/dev/sdb-i: Formatted as FAT32

DD if=./xx.bin of=/dev/sdb bs=8m iflag=fullblock oflag=dsync:dd bin file to storage device

GPG-O * * * * * * * *--decrypt ****.GPG:GPG Asymmetric, decryption, with your public key encryption of things only with your private key can be decrypted;

Top: Task Manager

DF: View the usage status for each directory

Clear: Clear Screen

Shutdown-r now, restart immediately.

Mkdir-p/mnt/sdb/try/banon, creating a multilevel directory

Apt-get update:update

Apt-get Install Pip:install pip

IW wlan0 scan:command Direct scan around WiFi

Rm-rf/mnt/sdb/try/banon: Delete Folder + sub-folder

Tar jcvf study.tar.bz2 study1 study2 study3: Archive

Tar jxvf study.tar.bz2: Unzip

Nslookup:dns.

Ifconfig: View IP/network devices

Touch: Create File

echo $x: Output to screen

Whereis: Find

Find/-name abc*-type D: finding

Dpkg-i package.deb Install/update a deb Package

sudo su-: Switch to root

Ping 10.17.63.251: Check whether the network is unblocked

Iwconfig. View the SSID of the current link

History + ID: Lazy

Ctrl + z---BG, switch to background

Max. sudo: Run as root

A. Cut: Cut

A. Sort: Category

Uniq: Compare only the adjacent item, so use the sort first

Halt: Shutdown

command& let the process run in the background

Grep-nri hhhhhhh: Finding a file containing "hhhhh"

CD + ENTER: Back to the current user's home

Tail: Show back

Tail-f file: Monitor a continuously growing document

A. Head: Show the front

Vimdiff file1 file2: Comparing the similarities and differences of a file

A. Tee: Colleagues who display results to the screen can also be saved to a file

Shouts

Linux Command 50

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.