/ * Use Mmap to operate the file * /#include #include #include #include /*mmap*/#include /*memset warning*/#include #define FILELENGTHintMainvoid){intFD =-1;/ * The string that will be written to the file * / Charbuf[]="Quick brown fox jumps over
Q: 1 How do I check the current operating level of a Linux server?A: The ' who-r ' and ' runlevel ' commands can be used to view the running level of the current Linux server.Q: 2 How do I see the default gateway for Linux?A: With the "Route-n" and "
OpenSSL Service: Open source implementation of SSL, official site www.openssl.orgCompositionLibcrypto: Universal Encryption LibraryImplementation Library of Libssl:tls/sslSession-based TLS/SSL library for identity authentication, data
First, Introduction Cheat is an interactive cheat sheet application that is distributed to Linux command line users under the GNU General Public License. It provides a display of Linux command use cases, including all of the options and short but
The DF command is used to view the disk usage of the Linux file system, and to see how much space is currently occupied by the disk and how much space is left.Several of the commonly used commands areCommand 1 DF The default display size is in
Long time useless I/O multiplexing, feel almost forgotten, I remember just learned I/O reuse time spent a lot of times, but because that will not love to write blog, resulting in spending a lot of time to understand things, still easy to forget. As
The top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the system in real time, similar to the Task Manager for Windows. Top is a dynamic display process where the current state can
SortThe sort command sorts the rows in the files specified by the file parameter and writes the results to standard output. If the file parameter specifies multiple files, the sort command connects the files and sorts them as a file.Sort
1) Download jdk-6u45-linux-x64.bin.tar.**2) put it in a directory and unzip it.3) Execute the following commandchmod +x Jdk-6u45-linux-x64.bin./jdk-6u45-linux-x64.binMkdir-p/USR/LIB/JVMMV JDK1.6.0_45/USR/LIB/JVMUpdate-alternatives--install "/usr/bin/
2015/07/24 today the main use of this command to download software for the server.
2015/07/27 First Use the Wget-p directory to save the downloaded software to the specified directory, but always fail. For example, a. Software download succeeded
Linux Command Tutorial: view disk space using the du commandThe du command, that is, disk usage, can calculate the disk space occupied by files or directories. Command Format:
Du [Option] [file]Du [OPTION]… [FILE]…If no option is specified, it
Linux Study Notes 1, linux Study Notes
Since my big Microsoft finally put it down, I decided to give the open-source community a late hug. The fans who have followed me for many years suddenly got the favor of the goddess. They were all lost, crying,
Let Git output multiple colors and custom log formatsGit multi-color output
Git outputs a single color by default, which is not only beautiful but not easy to read. In fact, Git itself supports multiple colors to display its output information. You
Linxu command and file search-which, whereis, locate, find
Linxu command and file search-which, whereis, locate, findWhich 』)
[Root @ www ~] # Which [-a] command option or parameter:-a: List all commands that can be found in the PATH directory, not
Solve the Problem of black screen on Ubuntu and black screen on ubuntu.
Virtual Box + Ubuntu 64bit can be used well before, but when it was opened yesterday, a selection interface (which of the following recovery modes is available) was black, and
Analysis and Solution of the reason why the Spark cluster cannot be stopped
Today I want to stop the spark cluster and find that the spark-related processes cannot stop when the stop-all.sh is executed. Tip:
No org. apache. spark. deploy. master.
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