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
Shared Folder mounting in linux: it is very convenient to create a shared folder between Windows 7 + virtualbox + fedora15kdewindows host and linux. the shared file can be automatically mounted as follows: after logging on to linux, in media, you
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
In Linux, the record tool (history, screen, script) is usually used to record only some time and overhead at work, but not some processes, this article will introduce some record methods in Linux: 1. Historyenv is the most common record method. we
How to check the ubuntu kernel version and release version. sometimes, after upgrading the kernel version or upgrading from a version to a new version, we want to check whether our ubuntu is successfully upgraded. But is there a quick way to view it
Pentoo accidentally deletes etcpasswd. the solution is nonsense: go home on the National Day, and the dns resolution of the county is estimated to be hijacked. There are a lot of advertisements on the webpage. Therefore, echo & quot; nameserver8888 &
When unixshell detects the returned code and runs any command, linux returns the response related to the execution of the previous command, called the return code (returncode). how can this code be returned? Simple. use $? You can view the results.
How to release cache in linux [root @ master ~] Free-mtotalusedfreesharedbufferscachedMem: 20091999901308437 how to release cache in linux [root @ master ~] # Free-m total used free shared buffers cachedMem: 2009 1999 9 0 1308 437-/+ buffers/cache: 2
Ctags-if ide is not used, you can view the definition of the method. ctags can be used with vim to view the definition of the method, just as pressing ctrl + and clicking view method to install sudoapt-getinstallctagsvim is case sensitive, you need
Linuxvps cannot send emails first install sendmail software yuminstallsendmailetcinitdphp-fpmrestart to check if sendmail is running properly etcinitdsendmailstatus. if the running status is displayed properly, the sendmail software is installed. ..
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
To learn about linux, we must first install linux. here I have provided a tutorial on the entire process of linux installation, hoping to help you successfully install linux. This linux is installed on a virtual machine. if you want to download a
(For more information, see http: blogcsdnnetbuptgshengod.) 1. sourceinsight is a source code viewing tool. the blogger is ready to use this tool to view the android source code. 2 install 1sudoapt-getinstallwine 1. Background
Source insight is a
4. Control process kill: syntax kill [-signal] PID sends a specific signal to the process. The default value is 15 (final) kill-l: list all signals that can be passed by kill 1: restart process 2: relative to ctrl & amp; 43; c
4. Process
Iostat: ReportCentralProcessingUnit (CPU) statisticsandinputoutputstatisticsfordevicesandpartitions: collects the CPU status information about devices and partitions. [root @ billtest ~] I iostat: Report Central Processing Unit (CPU) statistics and
1. the device file Linux follows the Unix style & amp; 26684; and treats all devices as one file device file in two ways: block device file (B ): for example, hard drive and optical drive character device files (c): for example, serial port and
1 first download the jdk-6u32-linux-i586bin and then upload it to linux 2 chmod & amp; 43; xjdk-6u32-linux-i586bin to it executable jdk-6u32-linux-i586bin install jdk3vietcprofileexportJAVA_HOME =
1. first download the jdk-6u32-linux-i586.bin and
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
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