Ubuntu-solve the problem that USB cannot be automatically identified recently, the project needs to be developed in the Android source code. Therefore, Ubuntu is installed in Virtual Box. It is depressing that the usb connector is used to connect to
In linux, the scp command is generally used to transmit files through ssh. 1. download the file scp username @ servername:/path/filename such as scp root@192.168.0.101 from the server: /var/www/test.txt download the/var/www/test.txt file on 192.168.0
How to view the Linux operating system version 1. view the kernel version command: chen @ mylinuxserver: ~> Cat/proc/versionLinux version 2.6.5-7.244-smp (geeko @ buildhost) (gcc version 3.3.3 (SuSE Linux) #1 SMP Mon Dec 12 18:32:25 UTC 2005/proc
Linux hard drive system partitioning steps Linux hard drive system, hard drive and other device naming rules Linux hard drive system seems like "alternative", it name Hard Drive equipment, it is also very different from Windows. In the Linux hard
Script: Make sftp look like ftp. The purpose of this script is to make the sftp command look exactly the same as ftp at startup. Is to enter the user, remote address and other content. 01 #! /Bin/sh02 03 # mysftp. sh -- make sftp start up more like
Use the apple Monaco font in Ubuntu. The Manaco font in the Apple system is an equal-width font that is very coding and programming, but how does one install the Monaco font in the Apple system to Linux? Next I will first use the Manaco font: 2
Apache logs are automatically split first in apache httpd. write the following in the conf file: 1 LogFormat "% h % l % u % t \" % r \ "%> s % B \" % {User-Agent} I \ "" k686 Note: Write to . then set the following in the virtual host configuration (
Clear from a simple script: clear the log file 1 in/var/log # clear 2 # Use the root identity to run this script. 3 4 cd/var/log 5 cat/dev/null> messages 6 cat/dev/null> wtmp 7 echo "Logs cleaned up. "This is nothing unusual at all, but it is just
The file systems used during linux Startup and related configuration files are inconsistent between non-release versions of linux. As a result, some related configuration files involved in linux Startup are also different, it is easy to cause
Bash redirection details first, let's review the existing bash redirection symbols 1. redirect input and output. The target is the file word [n]. word defaults to 1 [n]> | word defaults to 1 noclobber, the example shows its usefulness. [n]> by
Powerful batch shell command 1. First, rsh or ssh must be normal in the environment. 2. Configure nodes (all managed node hostnames). 3. Script # cat dsh #! /Bin/sh command =$ @; for I in 'cat. /nodes | grep-v ^ # 'do echo $ I; rsh $ I "$ command";
Set up your own PPTP Vpn apt-get update apt-get install-y pptpd on VPS to edit/etc/pptpd. conf, add: localip 192.168.92.1 remoteip 192.168.92.11-16 localip is the address of the vpn Server remoteip is the address of the vpn Client, you can configure
Set the Ubuntu environment variable to control the title of the Putty window! This time is over ~ Turn off the wrong server, and: (this mistake is often made because N or more Putty remote connections are opened on the desktop, and they all look
It is very important for Linux system administrators and O & M personnel to learn Shell scripts. I recently read the Shell script. In order to systematically learn the Shell script, I read the third edition of "laruence's Linux basic learning for
In linux, enable SSH to connect to PUTTY. Enter the command and perform the following operations: 1. Modify the sshd_config file and run the command vi/etc/ssh/sshd_config 2. Remove the # PasswordAuthentication no comment, modify NO to YES. 3.
A common mistake for script programmers who format computing results is that they are not formatted as soon as the computing results are displayed to users. If you do not manually count from right to left and insert a comma into each of the three
Code # Of the clear screen and cursor reset command Create_log.sh #! /Bin/bash while true do date> log.txt sleep 1 done; append the content Print_log.sh to log.txt without interrupting the script #! /Bin/bash while true do echo-e "\ 033 [2J \ 033 [1;
From getting started to being proficient in hacker linux, Ma Hao handled the VPN Server agenda in three minutes :. VPN introduction. how VPN works. VPN data transmission protocol. VPN Server construction case: Company X has a long distance between
Shell script to test the legalization of input. Input: only numbers and letters are allowed. The description is often ignored and incorrect data is entered. As a Shell script developer, you must intercept and correct these errors. Typically, you may
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.