CentOS uses vim/vi to encrypt and decrypt files. 1. use vim/vi to encrypt files. Advantages: After encryption, if you do not know the password, you cannot see the plaintext, including root users; disadvantages: clearly let others know about
In response to the company's internal website rating requirements, system security protection is gradually being strengthened. By default, the device automatically exits after three Verification failures and ends the session. The network logon
Symlinks (symboliclinks) function description: a tool for maintaining symbolic connections. Syntax: symlinks [-cdrstv] [Directory] Supplement: symlinks checks the symbolic connections in the directory and displays the symbolic connection type. The
Command: e2fsck permission: Super User usage: e2fsck [-pacnydfvFV] [-bsuperblock] [-Bblocksize] [-l |-Lbad_blocks_file] [-Cfd] device description: check whether the partition of the Linuxext2 file system works properly. parameter: device: Hard disk
When installing the iostat command to monitor system input/output device loads, run the following command yuminstallsysstat to [root @ zhaopinzhaopin] # iostatLinux2.6.18-164. el5avg-cpu: % user % nice % system % iowait % steal % idle & n
The iostat
Function description: decompress the. arj file. Syntax: unarj [eltx] [. arj compressed file] Supplement: unarj is the compression program for. arj compressed files. Parameter: e decompress the. arj file. L display the files contained in the
Understand what a swap partition is. Swap is a virtual memory partition in Linux. its main function is to release some space in the physical memory when the physical memory is insufficient, for the current program to use, the space released from the
Wc [wordcount] name wc-printthenumberofnewlines, words, andbytes (wordcount) infiles syntax wc [option] files function brief statistics on the number of characters in the number of bytes in a specified file. If no file is specified, enter wc [word
We know that rm is generally used to delete files in Linux, but the rm command does not actually clear the contents of the data block that saves the file, instead, it only releases the index nodes and data blocks occupied by the file. Therefore, the
1. edit the shell program for log cutting. set the directory to [plain] viewplaincopy # vi/data/nginx/cut_nginx_log.sh and enter the code: [python] viewplaincopy #! /Bin/bash # Thisscriptrunat00: 00 functioncutAccess () {di
1. edit the shell program
Create a user in three steps so that the user has the same permissions as the root user. 1. create an app under root [root @ daddylinux ~] # Useraddapp [root @ daddylinux ~] # Passwdapp2. restrict the app to use the root privilege. edit the mongodo
In linux system management, we sometimes need to end all processes of a user. Beginners usually first query all the user's PIDs, and then kill them one by one, or write a script. In fact, there are many methods to end. the bloggers summarize the
When you use ssh to connect to a remote server, if you do not perform the operation for a long time, the remote connection may be interrupted. Buffer data such as executing programs and vim will be lost. SecureCRT uses SecureCRT to connect to the
The ctrl + alt + del key combination function is set in the/etc/inittab file. the iniitab file contains the following two lines: # TrapCTRL-ALT-DELETEca: ctrlaltdel: /sbin/shutdown-t3-rnow press ctrl + alt + del will restart the system, but there
Iptables is an extremely flexible firewall tool designed for Linux operating systems. Iptables is useful for Linux geeks and system administrators. This article will show you how to configure the most common Linux firewall. IptablesIptables is a
In virtualization, the virtual machine NICs cloned from the template are named eth1, and some programs or scripts that involve NICs are written with eth0 by default, in this case, you need to change eth1 to eth0 by using the following method: #
Attach a disk named hda2 to ount/dev/hda2/mnt/hda2-confirm the Directory & #39;/mnt/hda2 & #39; an existing umount/dev/hda2 detach a disk named hda2-first from the Mount point & #39;/mnt/hda2 & #39; exit fuser-km/mnt/hda2 when the device is busy,
Due to special requirements, I want a Linux host to always display a program. The Monitor cannot be shut down, sleep, or enter the screen saver mode. Environment: Ubuntu is installed in minimal mode with a lightweight desktop openbox (not gnome ).
CentOS6.3 Mount WindowsNTFS partition with NTFS-3G.
First, you need to load the local physical disk to the virtual machine, click virtual machine-> Settings, add disk.
By default, CentOS 6.3 does not support reading and writing Widows NTFS hard disk
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