Linux Learning Notes (i)

Source: Internet
Author: User

1, Ubuntu version of the main version of ERA name + sub-version of this month, April for the stable version, October for the beta, singular for short-term support, even for the long-term support.

2, Shell for Command parser, (Shell--unix,bash--linux), we also call bash shell.

3. Command: date--date; history--show history command; ctrl+p--list shows history commands up; ctrl+n--lists down the history command;

The cursor moves forward--ctrl+b;ctrl+f--backward, ctrl+a--moves to the beginning of the line, ctrl+e--moves to the end of the row, ctrl+h--deletes the character before the cursor, and ctrl+d--deletes the character after the cursor;

ctrl+u--Delete all of the preceding cursors. Two consecutive tab--smart prompt commands, simple padding and then pressing the TAB key to AutoFill. ctrl+l--Clear Screen

CD Directory name--directory switch; tab once auto-complete path; tab two prompt directory all subdirectories

4, directory structure, tree structure, no drive concept; ls/--view root directory;/bin--store frequently used commands, cd/bin--into the bin directory. /boot--boot entry file,/dev--device files, all section files, one file per peripheral,/etc--operating system or application software configuration file,/home--operating system user directory, is a normal user, not the root user

/lib--linux dynamic link library used under the operating system, that is, shared library;/lost+found--is generally empty,/media and/mnt--Mount peripherals, u disk, optical drive, automatic mount/media, manual mount/mnt;

/opt--third-party software directory,/proc--virtual directory,/root--superuser directory,/sbin--system Administrator's command,/user--user software Resource directory, software installed in this directory by default, can also be installed into the/OPT directory;

5, the absolute path starts from the root directory to write,/HOME/TEST/AA; the relative path is relative to the current path, BBB, relative path,. Represents the current directory,.. Represents the current top level directory,-switch in the adjacent directory, such as cd–; [email protected]: ~ $:YYB Indicates the currently logged on user, @--in, ubuntu--hostname, ~ Represents the user's home directory (host directory), $-- The current user is a normal user, #--super user, sudo su--switch to Superuser, prompt for the password of the normal user, pwd--display the current path; exit--exit the Superuser; home directory: Cd;cd~;cd/home/jia;

Linux Learning Notes (i)

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.