Summary of the daily operation of Ubuntu using terminal

Source: Internet
Author: User

After entering the terminal, it is already in your home directory, enter the PWD command, you can see what directory you are in now.

Frequently used terminal shortcut keys:

Create a new tag for the terminal: ALT + SHIFT + t

Switching between tabs: Alt + PG up (or PG DN)

Delete a tag: shift+ctrl+w

Move cursor to start position: Ctrl + A

Cursor moves to the very end: Ctrl+e

Delete all content from here to the end: Ctrl+k

Delete all content from here to start: Ctrl+u

The terminal scrolls up and down: SHIFT+PGUP/PGDN

Switch to the corresponding tab: ALT + number

Hold down the ALT key and the corresponding letter appears at the top left of the computer screen, and the alt is the equivalent of clicking the button. such as ALT + F, the file button is opened.

Terminal command:

Go to the previous level directory of the current directory :CD. (CD and.. There are spaces between them)

Go to the previous Action directory: CD-

change file name: MV Oldfilename NewFileName

Create a file: Touch filename

Delete a file: RM MySQL

This article is from the "program Ape's Cultivation" blog, please be sure to keep this source http://zhoum1118.blog.51cto.com/10054110/1651260

Summary of the daily operation of Ubuntu using terminal

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.