"Linux command line Daquan" series (I, Shell is what)

Source: Internet
Author: User

Learn Linux, starting with the command

The graphical interface just makes simple things simpler

graphical interface can quickly handle simple things, such as opening/closing a file

Then, as transaction complexity increases, the graphical interface is cumbersome to manipulate

For example, insert a picture in Word: Toolbar--insert--picture--Browse directory--OK

This feature is not really complicated, but the whole process, click at least 4 times

and the command line, dedicated to dealing with complex things

Command line in Linux

entering the Linux command line interface, in front of it, is actually a program

its name is, Shell

shell is a program that accepts a command entered by the keyboard and submits it to the Linux operation for execution

shell from the GNU Project Bash,bash is an enhanced version of SH

Linux terminal emulator

linux release, typically with a terminal emulator (terminal emulator), is used to access the shell

The KDE environment uses Konsole, and the GNOME environment uses gnome-terminal

Shell prompt

shell prompt means that the system is ready to accept input

General format:
[user name @ machine name current working directory] $

If $ becomes #, indicates the current operator user Super Administrator privileges

Up or down in command line

up, switch to the command you just executed

down, switch to the next command in the current command (if none, no characters are displayed)

Toggle command, requires that the system has a command history (Linux typically stores up to 500 commands)

Left/Right, move cursor, movable range [command start bit, command end bit]

Simple command

date: Displays today's date and time

cal: Displays the current month calendar

ls: Displays the current directory file list (table Form)

-a Show All files (ls default does not show hidden files-to. The beginning of the file, will generally be hidden)

DF: View the disk drive's current free space

free: Displays available memory information

clear: Clears the executed command (displayed on the interface)

Exit: Exit the terminal emulator

"Linux command line Daquan" series (I, Shell is what)

Related Article

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.