all linux commands

Discover all linux commands, include the articles, news, trends, analysis and practical advice about all linux commands on alibabacloud.com

File management commands for Linux commands CP, MV, RM

File management commands for Linux commands CP, MV, RMCP, copy command: Copying files or directoriesGrammar:CP [OPTION] ... [-T] SOURCE DESTCP [OPTION] ... SOURCE ... DIRECTORYCP [OPTION] ...-t DIRECTORY SOURCE ... CP SRC DEST:SRC is a file: If Dest does not exist: Creates a new target file and copies the SRC to the target file; if dest exists: If Dest is a file:

3rd Linux Common Commands (4) _ Help, user management and decompression commands

② Compressed directory: #zip –r testdir.zip TestDir③ Decompression: #unzip testdir.zip6.4 compressed Files: bzip2b/bunzip2(1) BZIP2/BUNZIP2 command Command name Bzip2 Command path /USR/BIN/BZIP2 (BUNZIP2) Execute permissions All Users Grammar bzip2 [-K] [file]- k : Preserve original file (keep) after generating compressed fileBUNZIP2 [-K] [compressed file]- k : Retain

Two ways to download files remotely from Linux FTP commands and SCP commands

want to transfer the local 1.bmp to the remote host E:\rose, and renamed to 333.bmpFtp> put 1.bmp/rose/333.bmp (carriage return)b) mputFormat: Mput local-filesTransfers a batch of files from the local host to the remote host.If you want to upload all BMP files in the local current directory to the server E:\roseFtp> cd/rose (carriage return)Ftp> mput *.bmp (return)Note: The upload file is from the current directory of the host. For example, the FTP c

In Linux, ifconfig, shutdown, and other commands cannot use _ to enable shell commands

Why can't I use the ifconfig command in RedHat Linux 5? After I have installed RedHat Linux 5, I use some commands on the terminal, for example, ifcinfig, to view the IP address of the local machine, the system prompts "command not found". What should I do? If the environment variable is not loaded, modify the environment variable as follows: www.2cto.com 1. Afte

Common Linux Commands--File handling commands

shorthand for the ls-l command (Ls-l is ll alias relationship)(6) Cut or rename command: MV (move)MV [source file or directory] [target directory] This is not used with-RThe role of a common directory: (the role of a common directory)/root directory to explain and familiarize yourself with the role of first-level catalogsBoth the bin and the Sbin,usr directory in the root directory are the bin and sbin four directories that are used to hold system commands

Linux basic commands (1) commands for managing files and directories

Linux commands for managing files and directories Command Function Command Function Pwd Show current directory Ls View the contents of the directory Cd Change your directory Cat Display the contents of a file Grep Find a character in a file Cp Copying files Touch Create a fi

Common Linux commands (2) -- permission management commands

Common Linux commands (2) -- permission management command 1. command name: chmodwww.2cto.com execution permission: all users function description: change the file or directory permission syntax: chmod [{ugo} {+-} {rwx}] [file or directory] [mod... common Linux commands (2)

Relative and absolute paths to Linux, CD commands, create and delete directories, RM commands

/wKioL1ngdcbD03vBAAEB-2zmOQ4645.png "style=" float : none; "title=" Linux relative path and absolute path, CD command, create and delete directory, rm command 858.png "alt=" Wkiol1ngdcbd03vbaaeb-2zmoq4645.png "/>The!tree command can run the last hit of the tree at the beginning of the command:650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/08/61/wKiom1ngeIDygNeYAAdaqhJPvhA132.png "style=" float : none; "title="

Linux nic ip address configuration commands and some common network configuration commands

= 255.255.255.0GETEWAY = 192.168.1.1ONBOOT = yesTYPE = EthernetNote: BOOTPROTO can only use the configured IP address in static mode.Modify dnsVim/etc/resolv. confThe modification takes effect immediately and starts as well. FormAdd nameserver = ***.***.***.***Up to three candidates can be selected as candidates after the previous failure. Modify host nameEffective immediately:Hostname fc2Start effective:Vim/etc/sysconfig/networkThe format is as follows:NETWORKING = yesHOSTNAME = rh-linux.fc.or

Linux Basics-Unit Eighth Body processing commands and TAR commands

files.J: Use the BZIP2 compression algorithm to compress the packaged file.3. Create, view, and extract archive files using the tar command (see Linux System Management P210)1) An example of using the TAR command to create an archive file:Example: Use the TAR command to package the Arch directory as an archive file named Arch.tar (requires that all packaged files and directories be displayed):Tar cvf Arch.

[Linux Study Notes] 3rd days: Variable Classification, redirection, pipeline commands, program execution streams, text processing commands, regular expressions, short-circuit Operators

;/tmp/mypasswd // open for N in 2 4 6 10 13 15; do line = 'head-$ N $ file | tail-1 'echo $ line> 1 doneexec 3> -// close unset file line ------------------------------------------------------------------------ Pipeline |: sends the output of the first command to the second command for processing.Echo "123456" | passwd -- stdin rehat // This command will give 123456 to passwd for processing, the -- stdin parameter will make 123456 immediately effective as the user's RedHat PasswordLs/etc | tee/

Telnet and execute remote host commands for Linux commands

Commands to implement TelnetSSH, Telnet, rlogin(1) SSHThe SSH command is the Client Connection tool in the OpenSSH suite, which enables secure Telnet server to SSH encryption protocol. The SSH command is used to telnet to the Linux host.Common format:ssh [-l login_name] [-P port] [[Email Protected]]hostnameMore details can be viewed with ssh-h.Grammar:SSH (options) (parameters)Options:-1: Enforce SSH protoc

Linux commands (25) Disk Management commands (iii) FDISK

X extra functionality (experts only) # Create a new partition Command (M for help): N Partition Type:p Primary (0 primary, 0 extended, 4 free) e Extended # p means the primary partition is created and E represents the extended partition select (Default p): Ppart Ition number (1-4, default 1): 1 # select 1 or Use default first sector (2048-2097151, default 2048): # Start section using default Value 2048# +400m represents allocating 400M space to a partition, the default allocation of

Common Linux commands (5) -- compression and decompression commands

Common Linux commands (5) -- compression and decompression commands 1. command name: gzipwww.2cto.com execution permission: all users function description: compressed file syntax: gzip option [file] compressed format :. gzgzip can only compress files, but cannot compress directories ;... Common

Two ways to download files remotely from Linux FTP commands and SCP commands

FTP command: Server has FTP server installed, another Linux can use the FTP client program to copy the file read and download. 1. Connect to the FTP serverFormat: FTP [hostname| ip-address]A) under Linux command line input: FTP 192.168.26.66b) The server asks your user name and password, enter the user name and the corresponding password, respectively, to be certified. 2. Download the file The download file

Linux rookie--common commands to view and create directory files and other commands

Tags: using/tmp Operation CTRL AC unit description default parameter cat命令行提示符[[emailprotected] ~]## 超级用户$ 普通用户当前所在目录 ~用户的家目录管理员超级用户 /root普通用户    /home/用户名/所在目录linux 命令格式命令 空格 [选项] 空格 [参数]选项,使用或调整命令的功能参数:参数四命令操作的对象,如果可以省略,说明有默认参数显示注意:在linux下是严格区分大小写,所有内容!命令全部小写Linux view and create directory files and other commands  

Common Linux commands (2): ipcs/ipcrm commands, ipcsipcrm

Common Linux commands (2): ipcs/ipcrm commands, ipcsipcrmIpcs 1. Command Format Ipcs [resource-option] [output-format]Ipcs [resource-option]-I id 2. command functions Provide information about the IPC Device 3. Usage Resource options: Ipcs-m view system shared memory information Ipcs-q: view system message queue Information Ipcs-s: view system semaphore Informati

Differentiate Linux built-in commands from external commands

Linux commands have internal commands and external commands, and internal commands are basically the same as external commands, but with subtle differences  Internal Command : part of the shell programTypically, the shell is loade

Linux common commands (iv) System administration commands

simply enters the command man and the name of the command shell will list a complete description.Standard usage:Name of the man commandTo query the description page of the LS command, enter the command: Man lsTo flip through the manual page, you can use the page UP and PAGE DOWN keys, or use the spacebar to turn back one page and use B to flip forward. To exit the manual page, enter the command Q. To search for keywords in the manuals page, enter a command/and keyword or phrase to search for, a

Linux commands--Ensure that the commands you use are correct

1.which commandWhen entering a Linux command, the shell actually executes the same name command in which directory, we are not known, can be verified using which.2.whereis commandA command similar to which, Whereis is used to retrieve the file associated with a given command.3.apropos commandUse the apropos command to retrieve commands using the keyword. Apropos will use the keyword provided to retrieve the

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.