Linux/unix command

Source: Internet
Author: User

uname-R shows the kernel version being usedDateShow system date cal -Display the 2007 Calendar Table CD: Return to the previous level directorypwdShow work Pathlsviewing files in a directorymkdirDIR1 Create a call'Dir1'The directory' mkdirDir1 Dir2 Simultaneous creation of two directoriesmkdir-p/tmp/dir1/Dir2 Creating a directory treeRM-F file1 Delete a call'file1'of the file' MVDir1 New_dir Rename/move a directoryCPfile1 file2 Copy a fileCP dir/*. Copy all files in a directory to the current working directory Touchfindfind/usr/bin-type f-mtime-10 Search for files created or modified within 10 days chmod 777unrar x file1.rar decompression rar package TA IL-2 File1 View the last two lines of a file

References from @http://www.php100.com/html/webkaifa/linux/2009/1106/3485.html

Linux/unix command

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.