?? The NL command is used in the Gnu/linux system to calculate the line number of a file. NL can automatically add a line number to the output file content. The default result is somewhat different from "Cat-n", where NL can do more display design,
(not regularly updated in ... )1. Switch between normal user and rootSu Root2. Set a new root user passwordsudo passwd rootThen enter the new root user password3. Common compression commandsFormat Introduction*.z Compress Program Compressed
File Search Command1,which/usr/bin/which# display system command directory , Absolute Directory, can not find filesFormat: which [ system command ]E.g.which lsAttached-whereis: can also find the absolute path of the commandUnlike Whereis , which
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
When installing Linux, the system reported that no other operating system was installed on the current machine, in fact Win7.Want to keep Win7, Baidu!Http://jingyan.baidu.com/article/3ea51489ef01b552e71bba6f.htmlBaidu Experience:1-pack Win7, leaving
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
Install linux on the network
1. Install tftp-server ftp hdcp on another server
Yum install tftp-server vsftpd dhcp-y
During installation, the dependency is automatically checked and the xinetd (super daemon) is automatically installed.
2. Configure
2 TB or above hard disk installation centos6.2 x64For Centos6, because the redhat patch has been installed, it is relatively simple to use it to support GPT. 1. During system installation, when you can log on to the second Console (Ctrl +) Alt + F2 (
List all installed software packages in Linux
The method to list all installed packages depends on the release version you are using and the package manager.
In this tutorial, we will provide commands for mainstream releases.
Note: You can use an
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
CentOS7-systemd ServiceSystemd is a service management program that integrates the functions of service and chkconfig. It can enable or disable services permanently or only in the current session. # View the running service systemctl # start, stop,
Install linux on the network
1. Install tftp-server ftp hdcp on another server
Yum install tftp-server vsftpd dhcp-y
During installation, the dependency is automatically checked and the xinetd (super daemon) is automatically installed.
2. Configure
Centos6.5 disable the NetworkManager service
System: centos6.5 mini desktop
The following error occurs when you restart the NIC after installation.
[Root @ localhost ~] # Service network restart
Closing interface eth0: device status: 3
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
After VMware installs Ubuntu 12.04, it starts the unity mode of the VM.
This is a very difficult problem to solve, because both VMWare and Ubuntu have Unitiy. The former refers to Unity Mode, and the latter refers to Unity Shell. My host operating
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 Gnuplot 4.6.0 in Ubuntu
Gnuplot is a command-driven interactive function plow.program ). By entering commands, You can gradually set or modify the drawing environment and describe data or functions in graphs, so that we can perform further
Use Raspberry Pi to control air conditioners and fans
1. Hardware connection:Infrared receiverConnect vcc to pin1 (3.3 v)Gnd pin6 (ground)Data Connection to pin12 (gpio18)
Infrared TransmitterConnect vcc to pin2 (5 v)Gnd pin25 (ground)Data
Ubuntu text retrieval artifact-SearchMonkey
Sometimes we need to search for files that contain certain texts or words. If you are a developer or programmer, you will often encounter such problems. Now, we can always use Linux commands to find all
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
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