There is nothing to spare. Simply write and implement the simple LS command:| 1 #include | 2 #include | 3 #include | 4 #include | 5| 6 int main (int argc, char **argv) | 7 {| 8 DIR *pdir;| 9 struct Dirent *stdir;| Ten int flag = 0;| 11| if
Bin (binaries) holds binary executable fileSbin (Super User binaries) holds binary executable files, only root can accessETC (etcetera) store system configuration files (configure IP, configure environment variables)USR (Unix shared resources) is
This article is intended to provide the most basic, can be used in the production environment of Hadoop, HDFS distributed environment of the building, Self is a summary and collation, but also to facilitate the new learning to use.first, the basic
Jdk1.8:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlJDK Installation1. Upload JDK installation files to LinuxThere are many kinds of methods, such as mount, share files, FTP, wget, etc., I use the SCP commandSCP
/bin Binary executable command /dev device special files /etc system administration and configuration Files /etc/rc.d Startup configuration files and scripts /home base point of user home directory, such as user's home directory is/home/
Common wildcard characters:*: matches any character of any length?: matches any one character[List]: matches any one of the characters in the list[!list]: matches any one of the characters except the list[C1-C2]: matches any one of the characters in
Shutdown commandShutdown?h now to shut down the machine.Shutdown?r Now it's time to start the computer again.-T sec:-T followed by seconds, i.e. "shutdown after a few seconds"-K: not to really shut down, just send a warning message-R: Start again
function Introduction1, one-click Configuration rsync2, does not support multi-module or multi-user3,-a All random4, do not add-a need to manually enter the account password5, the progress bar is only good-looking, does not represent the real
sed function Description:SED is a powerful text file processing tool for Linux, which can be used to add, delete, find, query, and match regular expressions to meet the needs of the work. It is also a core skill that an OPS person must master.-------
Transferred from: http://blog.chinaunix.net/uid-363820-id-2181838.htmlHow do Linux users extend disk space?here to B type VPS as an example, the specific expansion method for disk space is as follows:screenshot001.jpg1. dividing unallocated disk
To monitor the file status of the node (number of time holders)Start monitoring the number of files with find./-type F |wc-lMonitor file size Du-skProblems that arise:1, the same files in different versions (centos6.5 and centos5.8) the size of the
Using the Shutdown command, the parameters are as follows:-K do not perform any shutdown operation, only send a warning message to all users- r-= Restart the computer -H= power off and completely shut down-F Fast shutdown and Skip
Script is a magical command that can record the session of a terminal and then use Scriptreplay to play the results of its recordings to others. The benefit of script is that all of your actions in the terminal, the commands you've knocked out, and
Linux file structure to see what each folder is used for/bin binary executable command/ Dev Device Special files/etc system administration and configuration Files/etc/rc.d startup configuration files and scriptsthe base point of the home user
Transfer from http://blog.csdn.net/cupidove/article/details/87674501. Find all ". h" Filesfind /PATH -name "*.h"2. Find all files in the ". h" file that contain "HelloWorld" stringsfind /PATH -name "*.h" -exec grep -in "helloworld" {}
-R Recursive Delete, can delete subdirectories and files-F Force DeleteRM-RF Delete a directory recursively (use as little as possible)Find searches a file system for a file (the search scope and criteria are later written, but only by file
The Linux system has been used more and more in recent years, so many people are eager to learn Linux. But we all grew up learning windows, from Windows 98 to the present Windows 10, and based on the experience of learning Windows systems to learn
Method One: Manually install the JDK installation package, configure the environment variables1. Create a Java directory under the/usr/directory[Email protected] ~]# mkdir/usr/~]# Cd/usr/java2. Download and unzip the installation package[[email
How does the server LIUNX solve the problem of mining machines and the server liunx solves the problem of Mining
Basically, it is difficult to open the connection terminal of the liunx Mining Machine (cpu carrying 300%) card.After opening the
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