The read command is used to read text from the keyboard or standard input. Read user input in interactive form. The "Enter key" is used as the end by default.
It is generally used in automated sh scripts.
# Read Password $ read-s var # display
Tomcat is a free open-source web server, which can be installed in Linux as follows:
1. Download tomcat Linux version from the official website: http://tomcat.apache.org/download-60.cgi
2. Upload the file to Linux through ftp
First, ensure that the
Directory operation:
Rm-rf mydir/* Delete the mydir directory */
Mkdir dirname/* create a directory named dirname */
Cd mydir/* enter the mydir directory */
Cd-/* Go back to the upper-level directory */
Cd ../* back to the parent directory
1. Run the df command to view partition usageCommon options-h,-m2. Run the du command to view the file/directory size.Common options:-H [humanity]Du-h/home/xiaofang-S [statistics]Du-sh/etc3. check and repair the file system fsck [file system check]
# Description ---------------Maindump. sh (main program for packet capture)Every one minute, the program continuously captures packets through the endless loop detection. Considering that the packet capture result may be too large, the analysis tool
Most UNIX systems provide a function to track the window size of the current terminal. When the window size changes, the kernel notifies the foreground process group. The kernel stores a winsize structure for each terminal and Pseudo
I. Vi Introduction
Vi is the most common full-screen editor in the unix world. in linux, vim is the enhanced vi version. vim is fully compatible with vi. vi is the abbreviation of "visual interface. It can perform output, delete, search, replace,
Force installer to install resolution = MxN in text mode force graphics X server to use screen resolution m'n', where M and N are numbers, for example, 1024 '768lowres sets resolution to 640 '480
Ask how to enter the second stage of the
Gdb debugging
Note:-g must be added to the Gcc compilation options.
Exit GDB: quit or Ctrl + d
Debugging process:
1. view files
Command:(Gdb) l
2. Set breakpoints
Command:(Gdb) B row number
Note: up to 17th rows are stopped, and 17 rows
According to foreign media reports, in August 10, the Linux Foundation launched the open Compliance Plan and released a series of tools. The purpose of this plan is to avoid improper use of open-source licenses in proprietary software.
Open-source
PHPChina news: after some internal tests, although there are still some small problems, but it took too long to release it.
The main component used by rc is kernel 2.6.30.10 + xorg 1.6.5 + kde 4.3.4. The main updates since rc1 are as follows:Fixed
Nginx is not only a small and efficient HTTP server, but also an efficient Server Load balancer reverse proxy, using it to receive user requests and distribute them to multiple Mongrel processes can greatly improve the concurrency of Rails
With the launch of the "black screen" campaign to combat piracy, Microsoft began to "black screen" punishments for all Pirated Windows XP and Microsoft Office users. At that time, public opinions in China burst into turmoil.Generally, machines are
My blog has been ruined for a long time and I have not kept a record. All My Children are three years old.
Share some useful things with us. I have made a leak scan on the security inspection of XX units in. Let's release the prototype for your use
With the signal processing program and thread, multiple control threads may potentially call the same function at the same time.
If a function can be safely called by multiple threads at the same time, it is calledThread Security. All functions
1. User information file/etc/passwd file Analysis
[View the help information of/etc/passwd man 5 passwd]
[View all users in the system wc-l/etc/passwd]
File Format:
Root: x: 0: 0: root:/bin/bash [Part 7]
User name: Password: UID [user's digital ID]:
6.1 archive with tar
The 1 tar command can be used to archive files. You can use tar to save multiple files and folders as a single file, and retain all file attributes, such as owner and permissions, the file created by this command is usually
# Description ---------------Maindump. sh (main program for packet capture)Every one minute, the program continuously captures packets through the endless loop detection. Considering that the packet capture result may be too large, the analysis tool
1. GRUB Configuration
The configuration file is saved in/boot/grub. conf.
The soft link is saved in/etc/grub. conf.
1. grub. conf file Analysis
Default defines the default startup system.
[It is impossible to install multiple systems in Real
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