Linux Command-read

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

Linux version of tomcat installed under VM

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

Common commands for SSH in Linux VPS

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

Linux study note _ 9 _ File System Management _ 2 _ file system management commands and case analysis

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]

Linux tcpdump script automatically captures packets within 24 hours

# 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

Terminal window size of terminal I/O

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

Inter-process communication and synchronization: pipe, FIFO, message queue, semaphore, shared memory, and signal

I. pipe) MAXLINE 1024 fd [(pipe (fd) Compile the running result: BUFSIZE 1024 fd1 [], fd2 [(pipe (fd1) Compile the running result: FIFO "/home/zhu/network/fifo/myfifo" OPEN_MODE O_RDONLY buf [ (mkfifo(FIFO, ) == -((fifofd =

Common commands of the VI editor in Linux

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,

Common parameters used by Red Hat to guide Anaconda

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

Linux BASICS (4) Gdb debugging program

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

Linux Foundation launches open compliance program to launch a series of tools

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

Release of Magic Linux 2.5 rc2

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

Configure Nginx + Mongrel cluster on Linux

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

Linux is powerful except for games.

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

Migrate openvas6 to colinux

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

Re-entry of thread control

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

Linux Study Notes _ 7_Linux user management _ 1 _ Analysis of user management configuration files

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]:

LinuxShell script strategy-Chapter 6 plan B

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

The linuxtcpdump script automatically captures packets within 24 hours.

# 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

Linux study note _ 5_Linux boot process parsing _ 3_GRUB configuration and Linux System Repair

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

Total Pages: 5467 1 .... 3772 3773 3774 3775 3776 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.