Basic Linux Operations

Source: Internet
Author: User

Ubuntu shortcut keys:

1. Open Terminal:ctrl+alt+t

Linux Common Commands :

1.ifconfig: View IP address

2, in putty enter ip address, port number 22 ssh linux Span style= "Font-family:consolas" >ssh protocol

3,ps-elf|grep ssh: see if there is an ssh protocol, when there is a sshd-d Process, the description protocol exists. There is no need to install, protocol installation, need under root privileges.

4. Configure password for root:sudo passwd climbing

5, switch to root permissions:su

6. Install ssh protocol:apt-get install SSH

7. Abort the current program CTRL + C

8. cut back from the root user user :su user ( user is your own installation time username )

9, installation vim:apt-get install vim

vim format setting:vim ~/.VIMRC

One, install g++ compiler:apt-get Install g++

View The version number of g++ and gcc , if not compiled correctly, the version number may be different, resulting in an inability to compile.

Vim Internal command:

U undo

middle of mouse wheel (right button later) : Paste

wq! Save Exit

Basic Linux Operations

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.