When a user mounts multiple SCSI disks, the virtual machine internal disk mapping and user Configuration inconsistencies after the virtual machine is restarted. , the user-configured virtual machine SCSI device ID corresponds to the drive letter.650)
grep (abbreviated from globally search a Regular expression and print) is a powerful text-search tool that can use regular expressions to search for text and print matching lines.Summarizes some of the usage of grep based on online
1. Keyboard key combination Operation
ctrl-c sends a SIGINT signal to all processes in the foreground process group. is often used to terminate a running program. !--more-->
ctrl-z sends a SIGTSTP signal to all processes in the
How Linux Changes file properties and permissionsWe know that file permissions for a system of security importance, but also know the permissions of the file for users and groups of relevance, then how to modify the properties and permissions of a
With Crontab you can execute a shell script or a series of Linux commands at a specified time. For example, the system administrator schedules a backup task to run every dayEntry# crontab–eThis allows you to open your personal crontab profile in
View Linux Versions1) Log in to the server to perform lsb_release-a and list all version information, for example:$ lsb_release-aNo LSB modules is available. Distributor id:debiandescription: Debian GNU6.0. 7 (Squeeze) Release: 6.0. 7
A random number was originally generated using srand ((unsigned) time (NULL));d Ata=rand (), but it was found that if in a very short period (in fact Rand is a second level) the resulting random equality would be found, so looking for a way to
Recently found that most of the production server used in the work, through the Securecrt/xshell/putty terminal software to SSH connection, waiting for the prompt to enter the password for a long time, always need more than 5 seconds, after
Talk about the details of viewing and configuring IP under LinuxThere are 2 ways to view IP # ifconfig# ip a above is shorthand, complete is # ip a s eth0# ip address show eth0 because of system reasons (interested in in-depth study), Ifconfig
For programming people, often need to layout code, this time need to tab key, but the width of the TAB key is too large, it is likely that the code is too long to extend to the next line, you need to set the TAB key width.The width of the TAB key is
Linux startup ProcessFirst stage: Hardware boot bootPower ON,BIOSpower-on self-test, find the boot media is foundMBRFindMBR, then according tobootloader (GRUB)set the location where the kernel is locatedPhase II: GRUB Start the boot phaseExecution
First, select introduces function prototypes:#include Select.h>intSelect(intstruct timeval * Restrict tvptr); // return Value: The number of ready descriptors, if the timeout returns 0, if an error returns 1Parameter description:MAXFD: is the
Linux disk MountOne, disk partitioningIn the terminal input fdisk–l command to view the entire system partition. You can see that there is also a 32G/dev/vdb disk that is not mounted usingInput FDISK/DEV/VDB for partitioning operationsAs shown in
In high-level languages such as C language to write a factorial is very simple, it is now familiar with the Linux use at/T assembly format to write a program to calculate the factorial barThe first is to use the jump instruction implementation, the
Xmanager is an easy-to-use, high-performance x-server software that runs on Windows platforms, while GNOME and KDE are X-client,linux x-server. It can seamlessly strip the remote Unix/linux desktop to your windows, even when your computer is in the
1. Modify the pg_hba.conf file on the server.Modify the fileHost All 127.0.0.1/32 TrustFor the following contentHost all 0.0.0.0 0.0.0.0 Trust2. Modify the postgresql.conf file on the server#listen_addresses = ' localhost ' # What IP address (es) to
Set the width of the TAB key in linux.
For programmers, typographical code is often required. At this time, the TAB key is required. However, the width of the TAB key is too large, and the code may be too long to extend to the next line, at this
Sed commands for file operationsFile Modification in a simple shell script in Linux1. Introduction to SedSed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary
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