In linux, setting the shortcut key to close the screen applies successfully in ubuntu. write a shell and the code is as follows: [plain] #! /Bin/bashgnome-screensaver-command-a then in system settings, select keyboard settings and custom shortcut
Enable SSH access permission in Ubuntu to install the SSH service [plain] sudoapt-getinstallopenssh-serverUbuntu is installed by default with openssh-client, so it is not installed here. if your system is not installed, use apt-get for installation.
To test and replace variables in shell, we often need to determine whether a variable exists at some time point. if a variable exists, use the existing settings. if the variable does not exist, give a common setting. (1) If the variable is not set
Ubuntuvi sets the row number, highlight the syntax font, and so on. 1. in the sudovi/etc/vim/vimrc file, the dual Guide represents the comment. you can add the double quotation marks with set, delete the double quotation marks, and add new ones,
Vi editing the read-only document cannot be saved. use a common user to edit nginx. conf and other configuration files: when saving, the system will prompt: no RootPermission can be solved using the following method: when saving, add: w! Sudotee % I
Linux_005 _ user, group and permission basics Linux_004 _ disk and file system http://www.2cto.com/os/201306/223130.html 1. users can be divided into three types:-root user (ID 0)-system user (1-499)-common user (more than 500) id display
/Var/spool/clientmqueue analysis and massive file deletion processing many files exist in the/var/spool/clientmqueue directory of a server. the ls has to be executed for a long time and has been checked online, record: cause: a user in the system
Introduction to sshpass and sshpass installation: you cannot specify a password for ssh login in the command line. The appearance of sshpass solves this problem. It allows you to use the-p parameter to specify the plaintext password and then
The difference between solaris and linux commands is that although solaris and linux are both unix kernels, many commands are still different. I collected their differences online and shared them. 1) Check the open port Linux: netstat-atnSolaris:
Two methods for batch process deletion in linux are described. The process to kill has a common string. [Plain] kill-9 'PS-ef | grepxxx | awk & amp; #39; {print $2} & amp; #39; the symbol behind 'kill-9' is the one above the Tab key. The above is
In shell supplement tool-expectlinux, in shell programming, some program input must receive tty input rather than stdin input. if one implementation is required, it is always Ct. 1. install expect1yuminstallexpect 2, instance 1, and ssh for
Decompress linuxtar and detailed decompress the command tar [-cxtzjvfpPN] file and directory .... parameter:-c: create a compressed file parameter command (create);-x: unlock a compressed file parameter command! -T: view the files in the tarfile!
Common Linux commands (System Management) chkconfig -- list all system services chkconfig -- list | grepon list all started System services cut-d: -f1/etc/passwd view all users in the system cut-d:-f1/etc/group View all users in the system... common
Disk Management & mdash; RAID5 what is RAID5RAIDLevel5 is a storage solution that combines storage performance, data security, and storage costs. It uses DiskStriping technology. RAID5 requires at least three hard disks. RAID5 is not the number of
Disk Management & mdash; RAID10 what is RAID10RAID10/01 is subdivided into RAID1 + 0 or RAID0 + 1. RAID1 + 0 is the first mirror and then split the data, and then all the hard disks are divided into two groups, which are regarded as the lowest
In linux, generate a key and use public/privatekey to allow putty (ssh) to log on automatically (and use the key for ssh automatic logon in linux). Method 1: Use puttygen.exe. Step 1: generate a secret to run puttygen.exe, select the type and length
Linux disk quota, RAID, and LVM disk quota are commonly used to properly allocate system resources quota. for example, for wwwserver, the size limit of each person's webpage space is for mailserver, for example: the email space limit for each person
$ () And $ {} and $ () and () $ () and $ {} usage: in bashshell, $ () and ''are used for command replacement (commandsubstitution. $ () Is not applicable to any shell. if you use bash2 ,... $ () and $ {} and $ () and () $ () and $ {} usage: in bash
How to Build Samba shared server case Requirements & mdash; according to the company's information construction requirements, a file server needs to be built inside the LAN to facilitate centralized data management and backup. Considering 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