Common sense of Ubuntu use to understand 2

Source: Internet
Author: User

1. In a Linux system, all directories (partitions) are anchored in/followed by the directory.

Use the "cd" command to switch directories. The way to switch directories: (1) absolute paths, starting with the root directory/, (2) relative to the directory, not starting with the root directory.
Note: interpolation: The path in window is: \ as the directory delimiter. But win's directory segmentation requirements are not strict, both can use/can also use \, but win regular directory segmentation should use \.

"Relative path" means method 4:
(1) "." : Symbol, representing "current directory";
(2) ".." : "dot" symbol, which means "previous level";
(3) "~":"wave" symbol, representing "user home directory" meaning, such as the root user's home directory is:/root, JC User's home directory is generally:/home/jc/;
(4) "-":"link" symbol, on behalf of "the previous use of the record" meaning, this failure is very convenient, you can jump back after jumping. 2. Telnet
General Linux is used as a server, that is, only remotely to operate the server, or use local Linux direct login. Ruan CHENGFA Login is available in the following ways:
(1) Directly using the system SSH or telnet command can directly log on to the remote machine; If you are logged in to Linux in a win-only environment, the first thing you can do is to open the command prompt character to log in using the Windows built-in telnet command. The second is the use of remote login software "putty" (http://putty.nl/download.html),
Note: In general, the Telnet service in the Win7 system is not open by default and needs to be opened manually.

Enter again: Telnet, then call the console of Telnet in win.

  

You can test the active connection communication between the host system win and the virtual machine system Ubuntu.

One of the features of the linux/unix-like system is that through the network, you can use other computers whenever and wherever you want. From "Remote login" to use your home or Office Linux host, you can open "telnet" or "sshd" services to guide the "remote login" function, these services are equal to other computers can be directly on the network to log on to the host to use.

(2) If the actual server log on locally, the general preset can be logged in the terminal (virtual Console) There are six, divided from VT1 (virtual-telnet 1) to VT6, and VT7 is usually used as a X-window (graphical desktop) login and use, If you want to switch to the pseudo-terminal you are using, you can switch to the second virtual Console (tty2) by pressing "ctrl"+"alt"+"f2" on the keyboard, so "f1" to "f7" will allow you to switch from Ttyl to Tty7.

3. Login operation

The first time you log in to the system, it is recommended that you change your login password first, which is the base and security reason. passwd Change the password.

  

Endl

Www.icmzn.com finishing.

Common sense of Ubuntu use to understand 2

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.