linux basic commands

Learn about linux basic commands, we have the largest and most updated linux basic commands information on alibabacloud.com

Linux basic commands

Wget is a free tool that automatically downloads files from the webThe TAR-ZCXF command is to pack the files and compress them first.The TAR-ZVXF command is to unzip and repackage this file.CD: Return to the previous levelExit the file being edited:

Linux basic Commands

Do mobile phone testing, or to understand some of the Linux commands, it is convenient to view or find the files inside the phone.In some cases, you cannot find it through the file browser, and you have to open the root permission to view it through

Linux basic commands

1 Modifying folder permissionssudo chmod-r ugo+rw /data/shareUsing the command above still cannot modify the file under the folder, use the following command in the window to use root identity, thereby changing the properties through the window

Linux basic commands

Explanation of the command line 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/themes/ Default/images/word.gif ") no-repeat center;border:1px solid #ddd;" Width= "" height= ", alt="

Linux basic Commands

1 Switch Directory CDCD app: Switch to App directoryCd.. : Switch to the previous level directoryCD/: Switch to the system root directory2 Listing file lists LSls[parameter] [path or file name]Ls:Ls-a: Show All Files or directories (including hidden

Linux basic commands

Ctrl+alt+t: Virtual machine Open command lineVirtual machine root user forgot password: reset password: sudo passwd root-switch to ROOT-SU root1. Basic shortcut keysCtrl+d keyboard input end or exit terminalCTRL + A moves the cursor to the input

Linux basic commands

Create a new directory: mkdirFormat is mkdir [directory name]MkDir can build multi-level catalogs[Email protected] ~]$ mkdir C[Email protected] c]$ mkdir-p C1/C2/C3 Create a new document: Touch[[email protected] c]$ Touch pri[[email protected] c]$

Linux basic Commands (2)

1. If a > and a file name are appended to any of the commands (not necessarily pre-existing), the result of the command is sent to the file. Such as: $ls/usr/bin > ~/unknown If the file already exists, the output of the LS command overwrites the

Linux basic commands

Linux basic commandsThe system used to manage files in the operating system is called the "file system" and the file system manages the files in a grouped manner, specifically through directories (or folders) to manage thousands of files. The Linux

Linux basic commands

To create a file in bulk:User action:File operation:Directory Operations:Cat: Preview File contents (TAC: Flashback preview file content)More, Less: Paging to view file contentsHead-n: View the first few lines of a fileTail-n: See the file after a

Linux basic Commands-logoff, shutdown, reboot

One, logout, shutdown, restart Unregister the system's logout command 1,logout Logout is the relative operation of landing, after the landing system, to leave the system, the user simply issued the Logout command can be: [Root@localhost Root]

Linux basic Commands (-)

Recently learning Linux, the teacher class said the estimated class is forgotten, is now ready to prepare for a rainy days.Ps1=x//Modify the terminal promptsu root//switch user ssh [email protected]192.168.116.129//Encrypt remote connectionYum-y

Linux basic commands (partial)

Help: Assistance commandsUse format:Help plus the commands you need to see, such as help PWDWill get a description of the relevant commandCommand--help, such as LS--helpwill see the use of related commandsMan: Help manual commandMan plus commands to

Linux basic Commands (i)

The birth of Unix, January 1, 1970User--------> Kernel-------"HardwareThe name/version of the release is determined by the issuer–red Hat Enterprise Linux 5/6/7–suse Linux Enterprise 12–debian Linux 7.8–ubuntu Linux 14.10/15.04is a complete Linux

Linux basic commands

A 1:ls directory and file under the specified path2:ls-l can display file detail properties650) this.width=650; "title=" 36017290510466862.png "src=" https://s1.51cto.com/oss/201711/19/ Ee72d2a591b98a2c65e282696fa0dae5.png-wh_500x0-wm_3-wmp_4-s_85199

Linux Basic Commands-redirect

the direction of the arrows is the flow of dataNumber Description: 0 for standard input, 1 for standard correct output, and 2 for standard error output.The 2&1> or 2&1>> indicates that the standard correct output is the same as the standard error

Linux basic commands

CD command: Switch directories(1) Switch to directory/usr/localCd/usr/local(2) Go to the current upper directoryCd..(3) Go back to your home folderCD ~ls command: View files and directories(4) View directory/usr for all filesCd/usrLs-almkdir command:

Linux basic commands in a detailed

1 Traversing a directoryAbbreviation of Cd:change Dicrectory. Or./represents the current directory,.. Or.. /represents the previous table of contents, CD-Represents the last directory entered.2 List of files and directoriesLs:list, the file under

Linux basic commands

CD command: Switch directories(1) Switch to directory/usr/localCd/usr/local(2) Go to the current upper directoryCd..(3) Go back to your home folderCD ~ls command: View files and directories(4) View directory/usr for all filesLs-l/usrmkdir command:

Linux basic commands

1.zip Commandzip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.2.unzip Commandunzip-o-d/home/sunny myfile.zipUnzip

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

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.