Linux file and Directory Operations basic command: LS command

Use the LS command to display the contents of your current directory. The LS command has many options available. To see all the options for the LS command, you can read the instructions page by typing man ls at the shell prompt. The following is a short list of some common options used with LS. Comma all. Enumerates all the files in the directory, including hidden files (. filehttp://www.aliyun.com/zixun/aggregation/11696.h ...

Linux file and Directory Operations Basic command: PWD command

The pwd command represents "Print sharable directory" (print working directory). When you type PWD, you are asking your Linux system to display your current position. For example: [Root@teacher apache]# Pwd/tmp/apache indicates that you are currently in the/tmp/apache directory.

Instructions for using Process management commands in Linux

Kill this command terminates a program. For example: [root@teacherroot]# kill 3793 Base:kill: (3793)-Not that process PS This command is used to display the state of the program. Examples are as follows: [root@teacherroot]# PS PID TTY time CMD 3644 pts/0 Unlimited bash 3852 pts/0 unlimited PS [root@teac ...

Linux file and directory operations basic commands: CD command

cd command to change the working directory. For example: the command function CD ~ will send you back to your login directory CD/Take you to the root directory of the entire system cd/root take you to the root user's home directory; You must be a root user to access the directory Cd/home take you to the home directory where the user's login directory is usually stored on CD. Move up one level directory Cd/dir1/subdirfoo no matter which directory you are in, this absolute path will take you directly to Subdirfo ...

Use of RPM and RPM commands in Linux

Installing and uninstalling software is a necessary operation during the course of any operating system we use. Linux has a package manager called RPM. It can be used to install, query, verify, delete, update the RPM format package. Usually the RPM format package file uses. rpm for the extension. Although the RPM package is a software installation package, it does not work like a double-click on the installation file in Windows. There is a command called RPM in Linux that can use multiple parameters to install and query the RPM package 、...

Instructions for using Network management related commands in Linux

FTP This command is a standard file transfer protocol for the http://www.aliyun.com/zixun/aggregation/18676.html "> User interface, is the most simple and efficient way to transfer files on a TCP/IP network. Host This command is used for DNS queries. Hostname This command to display or set the host name of the system. Mail mail commands are used to send and receive messages. RSH rsh (remote shell) life ...

Linux uses commands to copy, move, and delete files

Now, I've created two new folders in my/root directory, one is/root/aaa the other is/root/bbb. There are 5 text files in the/root/aaa. 1.txt, 2.txt, 3.txt, 4.txt, 5.txt respectively. 1.txt file content is "This is a 1.txt file." 2.txt file content is "This is a 2.txt file." , and so on. The/ROOT/BBB folder is empty. We are now ...

Instructions for using the Network Management command ping in Linux

This command can be used to test whether the computer and other computers on the network are connected. For example: [root@teacherroot]# ping 192.168.5.7 ping 192.168.5.7 (192.168.5.7) bytes of data. From 192.168.5.14 icmp_sep=1 destination Host unreachable from 192.168.5.14 ic ...

Install partitions with mount command in Linux

Now we're going to introduce a command "mount" that is very important in Linux. This command is used to mount each partition on the hard disk to a folder in the root partition, or it can be called an installation file system. Some Linux distributions default to partitions other than the root partition, such as "RedHat 9". There is, of course, an exception to a swap partition called "swap." Also, some Linux distributions can automatically mount all Windows partitions after the system is installed, such as "Red Flag 5.0". In our study ...

Instructions for using Network Management command netstat in Linux

This command is used to display http://www.aliyun.com/zixun/aggregation/18415.html "> Network connections, routing tables, and network interface information, and users can know which network connections are currently running. Commonly used parameters are:-A: Displays all sockets, including those that are listening. -C: Re-display the network information every 1 seconds until the user interrupts it. -I: Display all network interface information, format with "Ifconfig-e" ...

Instructions for using off characters in Linux systems

Some of the functions in the shell are implemented by special symbols as control characters, as described above. This creates a problem if a filename contains exactly those characters, such as; , it is difficult to operate on it. Use pager to browse this file pager xxx pager will soon return an error message because there is no file name for the action object. The shell then reports that there is no XXX command in the system. This is because the shell will be in the filename; Resolves to execute in order ...

Instructions for using the Network Management command finger in Linux

This command can be used to query http://www.aliyun.com/zixun/aggregation/10619.html > user information and to view the default user environment. For example: [root@teacherroot]# finger-1 root login:root→name:root directory:/root→shell:/bin/bash on since Mon June ...

Instructions for using pipelines and redirects in Linux systems

> redirection symbol, which is to redirect the output of a command to a file. For example, we want to save the result of command LS as a http://www.aliyun.com/zixun/aggregation/19352.html ">filelist file, make a list, and we can use the redirection symbol to do it: LS > filelist >> function and > are basically the same, the difference is that, & ...

Instructions for command usage related to System management in Linux

1.free This command is used to view the current system memory usage, which can display the remaining and used physical memory, swap memory, shared memory, and kernel buffers in the system. 2. Shutdown This command is used to shut down or enter a single maintenance mode. The 3.data Data command can display the date and time of the current system. The clock command can also be used to display the current date and time of the system (by default, ordinary users cannot perform the clock command and must log on with the root account). For example: [Root@teache ...

Instructions for using task management in Linux systems

& Add a & symbol at the end of the command to indicate the background task, for example: wget Http://www.download.net/xxx/mp3 &; Use; Linking multiple commands means that the task is executed sequentially && using && to link multiple commands, which means that only the previous command succeeds and the subsequent command executes the ' < command > ' If a command contains ...

Description of command usage for file systems in Linux

The 1.DD DD command is used to copy a file. 2.edquota This command can be used to set the disk space limit for users and groups of users. 3. Fdisk This command is used to perform a disk partition under Linux. 4.MKFS This command is used to build a Linux file system. 5.mount This command is used to assemble a file system. 6. Quota this command to restrict and display the disk space available to the user.

Instructions for using wildcard characters in Linux systems

Use? Represents any single character. For example??? Lo, which indicates that Lo has three characters, it can match http://www.aliyun.com/zixun/aggregation/1568.html ">hello use * to represent random characters of any number. For example, *.iso, representing all documents in ISO format. TIP: You can use traversal complements with wildcards to improve efficiency. For example: CD/Then traverse completion only fill the entire folder ...

Instructions for the use of file compression and archive-related commands in Linux

Compress,uncompress This command to compress or decompress data. Gzip,gunzip This command is used to compress or extract files, where gzip is a compression and decompression command that is used frequently in Linux systems and is easy to use. The rpm RPM command is used to start the RPM package management operation. The Tar tar command is used to start the File Packager program. Unzip this command is used to decompress files with the. zip extension, that is, you can unzip Windows under Linux with WinZip compression ...

Custom key bindings in Linux

You can change the key bindings by modifying the/etc/inputrc file. It is recommended that you use the default key bindings to avoid unnecessary annoyance. Of course, Emacs-style key bindings are generic and can be used at any time. Add the row to the file to set the ReadLine key binding to VI style. (Bash, LFTP, etc. using ReadLine software at the same time) set Editing-mode VI found this line: $if Mode=emacs below it add the following ...

Instructions for using User management commands in Linux

1.groupadd This command is used to create a new user group. 2. Groupmod This command to modify the properties of a group. 3. Groups This command displays the group that the current user is in. The 4.passwd passwd (password) command allows the user to modify the password for the account. In general, there are several scenarios in which an account password failure can be set: the password is too simple, the password is too short, and the characters in the password are the same. For example: [Root@teacher root]$ passwd Changing p ...

Total Pages: 1204 1 .... 237 238 239 240 241 .... 1204 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.