Linuxshell programming ---- exit + test 1 exit status 1 in Linuxshell programming, each command will have an exit status 2 exit status expressed in an integer after the script is complete, if the exit status is 0, the operation is successful. if the
In linux, how to use tar to decompress the environment: windows7 + virtualboax + fedora15kde can use the tar command to decompress the targz file. Below is an example of how to decompress the qt source file: 1. copy the qt source file to the shared
The JDK and the shell script installed by TOMCAT in one step in a linux system are installed in the usrjava directory, and tomcat is installed in the usrlocal Directory. if the directory does not exist, it is automatically created, you only need to
Linux tips: Keep the task running at work and often encounter time-consuming commands, such as reposync an android full-project code. These commands are time-consuming and cannot always be stared. At this time, we need to do something to ensure that
Nginx installation (I) create nginx user and group groupaddnginxuseradd-gnginxnginx (II) install cp-rnginx-142homenginxchown-Rnginx: nginxhomenginxnginx-142 $ Nginx installation (I) create nginx users and groups # groupadd nginx # useradd-g nginx
Linux su errors Permissiondenied and Incorrectpa Permissiondenied and Incorrectedpassword errors that occur when su is solved are caused by the su permission. Solution: 1Permissiondenied solution chm
In linux, the su errors Permission denied and
Analysis of functions of xargs commands before and after xargs connection: find-typef-name & quot; * log & quot; -print | xargsls-l will be output after the command is executed for a period of time, that is, after the find is completed, the result
I. application tools in the filter Linux system are divided into three types: the interactive tool, the filter editor, which can accept data and filter and output the data. these tools are called filters and processes, there are input source and
1. search for executable files which displays the complete path of an executable file according to alias & mdash; & gt; $ PATH sequential search View system environment variable whereis search an executable tool and its related configuration, help
After the new Linux system is installed, users who want to use suroot to switch to the root user but do not know what the password is. it is disappointing that the root user password is not set for the newly installed Linux system, the following
Ext2 file system the regular file system in Linux is Ext2 (Linuxsecondextendedfilesystem), which consists of the following three parts: 1) superblock: records the overall information of this file system, including the total amount, usage, and
When a user logs in, the following two configuration files will be read: 1) etcprofile: global configuration file of the system. it is best not to modify this file. 2 )~ Bash_profile or ~ Bash_login or ~ Profile: The global configuration file of
You do not need to remember the command for disk partition-fdiskfdisk, because after entering m, you will see detailed help information, as shown below: [root @ lx15data] fdiskdevsdaThenumberofcylindersforthisdiskissetto36404The disk partition-the
Today, rar is not installed on a server, and the following message is displayed: rar: errorwhileloadingsharedlibraries: libstdc & amp; 43; & amp; 43; so6: cannotopen#dobjectfile: nosuchfileordirectory or hao32 to deal with today found that a server
1. understand system conditions uname: Display system information hostname: Display host name last: list recent user logon lastlog: list the recent logon status of each user free: to display memory usage, you can also use vmstat to display detailed
1. check the user identity the user can use the following command to understand the user identity who: query the current online user groups: query the user's group id: display the current user information finger: query User Information 2. Add user
I. file structure in order to store and read files on devices, we need to create a file system record directory and file on the partition. We call it a file structure. every file system in Linux is interpreted as a directory structure starting from
Default permission: each terminal has an umask attribute to determine the default permission for creating new files and folders. umask is represented by a number. for example, the default permission for the 022 directory is: the default permission
For convenience, I directly install [root @ localhow.nt] yumlist | grepvsftpd using the yum source that has been set up to view the information of the vsftpd package in yum. RHNsupportwillbedisabledvsftpd
For convenience, I directly use the yum
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.