Solaris/linux command line simple manual __linux

Source: Internet
Author: User
Tags readable disk usage

1. The system
# passwd: Change Password
# exit: Exiting the system

2. Document
# cp: Copy files or directories, parameters:-A recursive directory,-I override confirmation
# mv: Change the name to move
# rm: Delete, Parameters:-R Recursive Delete

3. Table of Contents
# mkdir: Creating a Table of contents
# rmdir: Delete Empty directory
# CD: Changing working directory
# pwd: View current path
# ls: Column directory, parameters:-A All files,-C sorted by time,-l details

4. The text
# Sort: Sorting
# Uniq: Delete duplicate rows

5. Backup compression
# tar: File, Parameters:-C Create New file,-R append to end,-t list file content,-u update files, x release files, f use files or devices,-m multiple volumes,-v detailed report,-W per step confirmation. Example Tar cvf text.tar *.txt
# gzip: Compression decompression, Parameters:-D decompression,-R recursive compression
# Unzip: Uncompressed, Parameters:-D directory,-X decompression

6. Permissions
# chmod: Change permissions, R readable, W writable, x executable. 0 means no permissions, 1 for executable, 2 for writable, 4 for readable, and then add. For example, if you want the owner of a file to have read/write two permissions, you need to have 4 (readable) +2 (writable) =6 (read/write).
# chgrp: Changing the owning user group
# Chown: Change the Lord

7. Management
# Wall: Send information to all logged-in users
# write: Send a message to a user
# MESG y: setting allows others to send their own messages
# Sync: Cache Sync Checksum
# Shutdown: Shutdown, Parameters:-R reboot, H-shutdown does not restart,-F fast shutdown,-C cancellation shutdown
# Free: View memory
# Uptime: Show system run time
# DF: Disk footprint, Parameters:-A displays all file systems
# du: Disk usage
# dd: Copy-and-format conversion
# Fdformat: Low-grid floppy
# Echo: Display text
# cal: Calendar
# Date: system date and time
# Clear: Clean screen

8. My Memories by Tom2sun
# Who: View current users
# finger: View other user information
# rlogin: Remote Login
# rcp: remote replication
# netstat: Network status
# Cat: Full display at once
# more: Split-screen display
# file: Listing files types
# grep: Finding content
# Find: Finding Files
# PS: Current run program, parameter-a shows all processes
# at: Time, command, Ctrl+d end
# LP: Printing
# Nice: Specify priority
# Renice: Adjust priority
# Kill: Terminate Process
# Man: Get command Help
# Touch: Change the time record
# ln: Links
# MOUNT-T Vfat/dev/hda1/mnt/dos: Mounting DOS partitions (not applicable to Unix-center)

9. FTP
# ftp: Start FTP program
Ftp>
Open: Opening
Close: Off
Bye: Leave
Get: Download
Put: Upload
Mget/mput: Multiple file downloads/uploads
Reget: Resuming downloads
Binary: Binary transfer file
ASCII:ASCII Code Transfer
CDS: Changing Remote directories
LCD: Change Local Directory
mkdir: Building a Directory
RmDir: Delete Directory
Delete: Deleting files
Mdelete: Delete multiple at once
Rename: Renaming
Status: Display status
Prompt: Interactive
Hash: 1024 bytes per transfer display # (hash)
Size: Display file size
Reset: RESET

Vi. VI
A,i: Enter the input state
ESC: Return to command status
: Command mode
q!: Exit

11. Fast Keys and other
ALT+F1~F6: Access to multiple virtual consoles (not applicable to Unix-center)
TAB: Command Completion
End: Background process

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.