basic linux commands list

Want to know basic linux commands list? we have a huge selection of basic linux commands list information on alibabacloud.com

Common basic commands for Linux 01

--r--. 1rootroot 0mar1813:39b-rw-r--r--. 1rootroot1715mar 1813:43passwd[[emailprotected]~]#touch-rapasswd[[ emailprotected]~]#Nbsp;lltotal4-rw-r--r--. 1rootroot0mar1813:39 a-rw-r--r--. 1rootroot0Mar1813:39 B-rw-r--r--. 1rootroot1715mar1813:39passwd update passwd timestamp is equivalent to a[[ Emailprotected]~]#touch-t201808070605.05123[[emailprotected]~] #lltotal0-rw-r--r--. 1rootroot0Aug72018 123 Create a file with a timestamp of August 07, 2018 06:05 123RmDirRole: Delete Empty directoryCommon

Common basic commands for Linux 11

[[emailprotected]/]# Getfacl123#file:123#owner:root#group:rootuser::rw-user:jacken: rw-group::r--mask::rw-other::r--[[emailprotected]/]#su-user1[[email protected]~]$echo "HI" >/123-bash:/123:permissiondenied[[ emailprotected]~]$exitlogout[[emailprotected]/]#su-jacken[[ emailprotected]~]$echo "HI" >/123[[emailprotected]~]$ Cat/123hi[[emailprotected]~]$[[emailprotected]/]#setfacl-x u:jacken/123[[emailprotected]/]#getfacl/123getfacl:removing leading '/' fromabsoluTepathnames#file:123#owner:root#gro

Common basic commands for Linux 14

, remember that this parameter is the last parameter, can only be followed by the file name -t View -z call gzip Properties -j Call bzip2 property -x extract -r append file to the end of the compressed archive -u update the files in the original package --exclude file: Do not package the document during compression! Instance: tar-cfall.tar*.jpg all. jpg files into a package named All.tar tar-rf all.tar*.gif add all the. gif files to the All.tar package. -R is meant to increase th

Basic Linux Commands

=" Https://s2.51cto.com/wyfs02/M01/07/E2/wKiom1nTiv3iJnoKAAFt4tmkIO0504.png "title=" 2017-10-03_210246.png "alt=" Wkiom1ntiv3ijnokaaft4tmkio0504.png "/>650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/A6/94/wKioL1nTitSy4sx1AADMCW86jks502.png "title=" 2017-10-03_210336.png "alt=" Wkiol1ntitsy4sx1aadmcw86jks502.png "/>650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/07/E2/wKiom1nTi0aBG3aIAADLA7Y2M-o656.png "title=" 2017-10-03_210418.png "alt=" Wkiom1nti0abg3aiaadla7y2m-o656.p

Summary of common basic commands for Linux

1. Directory Management Command: (LS, CD, pwd, mkdir, rmdir, tree)LS: View directory informationCD: Enter a directoryPWD: View the current directory pathmkdir: Creating a DirectoryRmDir: Delete Empty directoryTree: View Directory Branches tree2. File Management: (Touch, stat, file, type, RM, CP, MV, Nano, VIM)Touch: Create a fileStat: View specific information about a file (access time, modification time, etc.)File: View files TypeType: To see if the command is internal or external commandRM: De

Linux basic commands

(hardlink) and soft link (symboliclink), hard link means that a file can have multiple names, The soft-link approach is to produce a special file with the content of the file pointing to the location of another file. Hard links exist in the same file system, while soft links can span different file systems.LN Source Dist is the generation of a link (dist) to the source, and the use of a hard or soft link is determined by the parameter.Whether a hard link or a soft link will not copy the origina

Linux basic commands-system run level

Linux systems have a variety of operational levels, and this article describes how to view, switch between RunLevel, and the role of different run levels.View current Run levelUse command: RunLevel650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M02/79/B5/wKioL1aYpI3Bau1HAAAkqXjPqB0546.jpg "title=" 1.jpg " alt= "Wkiol1aypi3bau1haaakqxjpqb0546.jpg"/>Switching the Run levelUse command: init level650) this.width=650; "src=" http://s2.51cto.com/wyfs

Linux system basic Network commands

add 172.20.0.0 netmask 255.255.0.0 GW in the static routing table of the current network 192.168.182.2 Dev eth0 command. Netstat: This command is included in the Net-tools software package to display the status of the current network in the system, including network connections, routing tables, interface statistics, maximum packet transmission units, and so on. To display the required information, you must explicitly give the second parameter of Netstat. Its command format is netstat "-r|-g|-i|

Basics of Linux Basics (iii) file basic operations management and common commands

compressed file, but a compressed file can be an archive file. $ TAR-CVF Out.tar myfile1 myfile2 ..., creating a Out.tar archive file $ TAR-XVF Out.tar to extract Out.tar $ tar-xvzf out.tar.gz myfile for gzip compression of myfile archived archive files The-z parameter compresses the archived archive into gzip format to reduce space. Most of the Linux open source files downloaded on the Web are in this format. Find Locate command: Quick Find fi

Linux basic Commands (iv)

files)(soft links are more like shortcuts in Windows)[[emailprotected] boke]# ll -itotal 12912130 -rw-r--r--. 2 root root 2 Apr 23 12:28 fu918011 drwxr-xr-x. 2 root root 4096 Apr 23 12:30 mulu925186 lrwxrwxrwx. 1 root root 5 Apr 23 12:47 mulu2 -> mulu/912130 -rw-r--r--. 2 root root Find command Ls-r directory (recursively find all files/directories in the directory) Whereis (7 system, finding the specified command) which command (alias variable, type whic

Linux Cloud Automation Basics 3 (basic commands for the system)

=" Screenshot from 2017-07-18 22-52-45.png "alt=" Wkiom1lvychamhsfaaa26tkg8p0360.png "/>5.WC Statistics File capacity informationWc-l Number of rows-W Words-C byte number-M character Count6. Basic commands for document management(1) Touch Create file or modify file timestampTouch File # #创建文件(2) mkdir set up directorymkdir Directory # #创建目录Parameter-P # #上级目录不存在自动建立650) this.width=650; "src=" Https://s3.51c

Linux sqlite3 basic commands

From: http://blog.sina.com.cn/s/blog_74dfa9f401017s69.htmlSystem Platform: ubuntu10.04 IntroductionSqlite3 is mainly used for Embedded lightweight databases. This article aims to provide technical documents for familiar with sqlite3 basic commands.Note: All operations in this article are performed under the root user. 1. Install sqlite3Install sqlite3 in Ubuntu and run the following command directly on the terminal:# Apt-Get install sqlite3View versio

Linux basic commands

Options] device mount name mount pointOptions:-T File system: Add File system and other types to make mount type, can ext3, Ext4, iso9660 and other file system-O Special option: You can specify additional options for mountingExample: #mount-o remount,noexec/home: Using the Noexec#cd/Home #vi hello.sh (#! /bin/bash echo "Hello") #chmod 755 hello.sh#./hello.sh Run error prompt does not have permission to re-modify Mount command: #mount-o remount,exec/homeTo mount a disc:#ls/dev Sr0 is the system'

Linux basic commands

variable is set up in advance by a number of paths, when the user enters the command, the shell will automatically go to these paths to see the same command name of the executable file, the found and executed commands will be saved in a hash lookup table, you can use the hash command to view the tableWhich: View the exact location of the executable programHelpMans[] Available options{} grouping, all characters as a unit of use| Only one () must be se

Common basic commands for Linux

preserves the properties of the source file or directory, including the owner, the owning group, the permissions and the time-R recursive processing, processing files in the specified directory with subdirectories4. Command instance:Example 1:cp-p Share/root/shareExample 2:cp-r Share/aa/root/sharePwd1. Command format:Pwd2. Command function:View your current location3. Command parameters:No4. Command instance:Example 1:pwd shows where you areTouch1. Command format:Touch file2. Command function:C

Linux basic Commands

---------- 10-bit representation, where the first bit value has -and d,- is the file, D for the folder after nine bits per three bits represents a read and write run three permissions:- represents no permissions, the first R represents having read, the second W stands for having write, and the third x represents having a run 755 a.txt chmod u+r a.txt: Adding R permissions to the current usersudo chown helen:helen a.txt : Change the current directory or file's owning users and groups sudo ch

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 Install SL//Mini train Yum-y Install Oneko//mouse Bunny Date//view date cal One 1992//View calendarwhoami//view Current user Poweroff//shutdown reboot//restartView Ipip addr IFCONFIGCD//Return to the current u

Linux Basics-Process management and its basic commands

This article mainly explains the basic command usage method of process management in Linux.1. Top commandRole: Dynamic display of process statusFormat: top [options]Common options:-D: The number of seconds to follow, that is, the entire program screen updates the number of seconds, the default is 5 seconds-B: Perform the top in batch mode-P: Specifies that a PID is observedField Meaning:Top- 23:52:38 up 19

Linux basic Commands

back to the top level directory, CD. /.. /.. Go back to Level three, CD-go back to the last operating directory and know that these commands are much more convenient when you switch directories back and forth.The 8.SCP command is a copy of the transfer file between two machines, which refers to a Danale blog to introduce, http://www.cnblogs.com/peida/archive/2013/03/15/2960802.html personal feeling written very good!9. File permission Description: Dr

Linux Common basic Commands 1

Linux TerminalLinux has 6 terminal ALT+F1-F6 switch each terminal so there is a benefit, you can use multiple terminals at the same time to do things, a terminal dead, you can also switch to another terminalCD/root directoryLsThe Blue CatalogueWhite is a fileCD bin LS Many linux commands are stored in the directoryGreen executable fileBlue Symbolic LinkEtc direct

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.