Linux uses shell programming to automatically switch to the IP address Ubuntu system. Because the IP addresses used in commuting are different, it is very troublesome to manually modify each time. Www.2cto.com made a batch processing by referring to
Add and delete swap temporary files. just solved the swap depletion problem. Temporarily added a swap file creation method dd if =/dev/zero of =/tmp/swap_temp bs = 1024 count = 500000 create a M file www.2cto.comThen activate the swap file:
Sudo nano/var/lib/locales/supported. d/local change to en_US.UTF-8 UTF-8 sudo vim/etc/default/locale change LANG = "zh_CN.UTF-8" LANGUAGE = "zh_CN: zh" to: LANG = "en_US.UTF-8" LANGUAGE = "en_US: after sudo locale-gen www.2cto.com reboot restarts
Write userwall write is used to send information to a user who has logged on to the system, wall can send information to all users logging on to the system. The user parameter www.2cto.com is the user example of the user who needs to send the
The problem of creating a new user by adduser under ubuntu was encountered yesterday. I used the user's ub and created a new user by using useradd, however, when switching to this user, the terminal does not display as usual [user @ hostname ~] Only
Linux samba configuration problems (unknown user name or Password error) I will not talk about samba configuration here. baidu and google will check a lot of problems that may occur during the configuration process, after configuring the linux samba
The creation and prevention of Zombie processes in linux when a process stops its own life by calling the exit command, it is not actually destroyed, but left a dead process (Zombie) (The system calls exit to exit the process, but it is only limited
The trusted CT command in shell often needs to jump to different machines, but it is very complicated to input the password every time. Naturally, I thought of the trusted CT command in shell. This command is just a little bit of knowledge, probably
Every day, due to the same problem, N + alerts are triggered, which wastes Short-Message resources. Therefore, according to the information on the InternetThe alarm frequency is changed by adding the escalations. cfg configuration file
In linux, The Listener Configuration uses the netca command to call the graphical interface for configuration [oracle @ localhost bin] $ netca www.2cto.com Oracle Net Services configuration: Xlib: connection to ": 0.0" refused by serverXlib: no
Recently, xmind workspace conflicts in ubuntu were discovered. After xmind is used in ubuntu, the eclipse perspective is changed to xmind. This made me very depressed. I manually restored the eclipse perspective every time. Www.2cto.com studied it
Iptables Entry 1. iptables entry there are many ways for hackers to intrude into computers today, among which port-based intrusions are common. In particular, it is the simplest and most commonly used method to defend against hacker intrusions to
In Linux, how does one execute the program www.2cto.com atd service at required for a specific task at a specific time? 1. start atd # service atd restartatd stop/waitingatd start/running, process 11031 must be executed under root, otherwise the
Common rpm commands1. Install a package# Rpm-ivh2. Upgrade a package# Rpm-Uvh3. Remove a package# Rpm-e4. installation parameters-- Force installation even if it overwrites files belonging to other packages-- Nodeps if the installation of this RPM
First, use the command to modify the changes (the changes take effect immediately and the restart fails)# Ifconfig eth0 192.168.0.1 netmask 255.255.255.0 upNote:Eth0 is the first Nic, and the others are eth1, eth *192.168.0.1 is the IP address
1. On the Grub boot loader menu, select the entry you want to enter and type "e" to enter the editing mode.2. In the second line (similar to kernel/vmlinuz-2.6.15 ro root =/dev/hda2), Type e to enter edit mode;3. Add "init =/bin/bash" at the end of
(1) Find the findcontents in the file content of all files in the current directory (case insensitive, listing the row of the file where findcontents is located) -- the number of files and directories in the current directory is relatively small. If
1. (including the character '22') insert the text koko = "gggggggggggggg" on the current line"Sed-I '/22/I \ koko = "gggggggggggg"'/root/soft/iptables
2. Insert the text koko = "gggggggggggg" under the current line (containing the character '22"Sed-
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