Learn vi editing commands today;[Email Protected]:vi Hello.javaThe command to use:Insert command:
a and i: Insert text before or after the current cursor (a and i insert text at the end of the current line or at the beginning of the line);
Compression Decompression Command:----------. GZ----------1. CompressionGzip[gnu Zip]:/bin/gzipFormat: gzip option [ file ]#压缩文件, Zip extension . gz, most commonly used under Linux #比较常见的软件源代码包的格式Features:1) can only compress files, cannot compress
RMRF * Recursive deletionLn-s Source Target| pipe commandGive the result of the previous command | After the command is processedFile Content LookupCat starts displaying file contents from the first lineThe TAC starts with the last line
One, log in to LinuxLogin:testpassword:123456Last login:wed Dec 3 22:40:02 on Tty1[Email protected]: StartX into the Linux GUIPrompt to install Xinit, execute:[Email protected]: sudo apt-get install XinitThe terminal is turned from black to white
Linux is a bit of a hassle, even modifying the hostname is no exception. Let's take a look at the specific methods below.When Linux is installed, its default hostname is localhost. It takes 3 steps to modify the Linux host name.Use hostname to
How to partition in linux
Lab environment: ubuntu 12.04 LTS
1. Disconnect the VM and add a hard disk.
Scsi recommended
2. view the new Hard Disk:
Fdisk-l includes a USB flash disk.
brave@ubuntu:~$ sudo fdisk -l
Disk/dev/sda: 42.9 GB, 4294967296
Common Linux commands (version 2) and common linux commandsCompression and decompression commands:
----------.Gz ----------
1. Compression
Gzip [GNU zip]:/bin/gzip
Format: gzip option. The extension name is .gz. It is the most common # common
Common Linux commands (version 2) and common linux commandsShell application skills
TIPS:
1. Command completion function: key
2. Clear screen: Ctrl + l
3. Delete all content before the cursor: Ctrl + u
4. Command history: history
At this time :!
Modify the command line path length in linux.
The default path prompt is the complete path, so that a line is too long and may occupy the full width! As shown
Centos7 modify run levelSystemd uses a more free target concept than the sysvinit runtime level as an alternative to the third runtime level: multi-user.target fifth runtime level: graphical.targetruntime the front is a symbolic chain pointing to
Modify the length of the command line in linux
The default path prompt is the complete path, so that a line is too long and may occupy the full width! As shown below:
Jack @ ubuntu :~ /Trunk-new/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71
Add vsftpd and vsftpd
Software installation:VsftpdDb4-utils (for virtual user password encryption)1. Add a virtual User Password FileVim/etc/vsftpd/vftp_vuserTestTest123456# One Line for each user name and password2. Generate a virtual user password
Git tag management details
Outline:
I. Preface
Ii. Tag Overview
3. Create tags
Iv. Manage tags
V. Summary
Note: CentOS 5.5 x86_64, Git server version: git version 1.8.2.1, and Client version: git version 1.9.2.msysgit.0. Download all the software
Start and Stop the shell script after OpenvSwitch 2.1.2 is installed.
After OpenvSwitch 2.1.2 is installed, it is often possible to start and stop. To avoid repeating the script to start and stop the terminal code, it is best to write it in a
Systemd and sysVinit Color comparison table
Systemd is a new init system. "Note: Each operating system has a Startup Program, and Linux init is an indispensable program in Linux system operations. The init process is a user-level process started by
Install Stardict in Linux
Install Stardict on a Linux system. If you cannot open the web site or download the dictionary, you can download the dictionary.
1: sudo apt-get install stardict2. download the file in the attachment and decompress it to
Install Windows7 + Ubuntu13.04 + CentOS7
(Note: after using a USB flash drive to create a boot disk for CentOS7, you do not need to delete the package or copy the image file or something. You can directly use it after burning it, I tested the
Modify the Linux terminal prompt path length
In Linux, the default path prompts the complete path, which takes a long line and may occupy the full width! As shown below:
Bkjia @ Ubuntu :~ /Trunk-new/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-
Windows grub cannot be found after ubuntu is installed.
Windows and ubuntu 13.03 have been installed, but you want to upgrade ubuntu to version 14.04.
Create a USB flash drive to start and install ubuntu.
Two computers installed
When installing
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