Su Command and sudo serviceThe SU command is used to switch the user (switch the lander)Format:su [-] User name[-]: indicates an environment variable that uses a new userUse the [-] function:[Email protected] test1]# echo $PATH
Load the system mount ISO image, set the CD drive to boot, click on the VMware menu bar, virtual machine-power-Enter the firmware when the power is turned on.
Enter the system rescue mode (select the 3rd option) the network card needs to be
1. Modify the host name:# hostname Bigdata-cdh01.ibeifeng.com# vi/etc/sysconfig/network2. Turn off the mail feature of the Linux system automatically prompt:echo "unset mailcheck" >>/etc/profile3.ssh Password-Free login user home directory:CD.
How Linux looks at how a port is consumed by which process:1. Lsof-i: Port number2. Netstat-tunlp|grep Port numbercan see which process is consuming the specified port"Step One" lsof-iThe lsof-i is used to display conditions that match the condition,
1. What is Linux?Linux is a free-to-use and free-to-propagate Unix-like operating system, a POSIX and Unix-based multiuser, multitasking, multi-threaded and multi-CPU operating system. It can run major UNIX tools software, applications, and network
Reinstall system after installing VS2015, so try VS2017 How, heard also support Tune Linux. Discover VS2017 and 12/13/15 again have a new leap, unexpectedly support modular download, for me this kind of main write C + + is a gospel, hook up Linux C +
1. RoleCopy a file or directory, create a linked file (i.e. a shortcut), and update it against the new and old two file.2. UsageCP "Parameters" "source file" "Destination file"Parameters:-A: equivalent to-PDR;-B: The target file is backed up before
In the crontab file created by the user, each line represents a task, each field of each row represents a setting, its format is divided into six fields, the first five is the time setting segment, and the sixth paragraph is the command segment to
Set the global proxy as follows:Modify the/etc/profile file to add the following:Http_proxy=http://username:[email protected]:8080/Ftp_proxy=http://username:[email protected]:8080/Export Http_proxyExport Ftp_proxyIf there is no password limit, the
Use the script command to record and play the recorded action using Scriptreplay. The operation of the shared terminal requires the use of a named pipe to implement.1.1 Recording[[Email protected] ~]# CD/2> Timing.log-a output.session is
After installing the SVN server although easy to use but because often restart the Linux server, each restart will go to manually start the SVN server, it is troublesome, so after looking for some methods on the Internet, they set the SVN server to
Welcome to the Linux tour, this article mainly introduces the Linux1. Let's take a look at Linux
Overview: Linux is a free-to-use and free-to-propagate Unix-like operating system that is a multiuser, multitasking, multi-threaded and multi-CPU
To view file permission statements:In Terminal input:Ls-l xxx.xxx (xxx.xxx is the file name)Then there will be similar messages, mostly these:-rw-rw-r--A total of 10 digitsWhich: the front one-represents the typeThe middle three rw-represents the
1. First install the SSH service on the Linux virtual machine (take Ubuntu16.04 lts for example).
sudo apt-get install Openssh-server
2. Test if the SSH service is successfully installed and running SSH
Sudo/etc/init.d/ssh start
3.
Simple porting of Deepin's wine package to other Linux distributions: (without direct installation)Because it is a deepin package, there will inevitably be some dependency problems, we just need to remove these dependencies can be installed. So we
Common commands for ubuntu and Common commands for ubuntu
I. During installation, you are asked to enter the name and password for replacing the root user.
When you use sudo root to switch to the root user, you are required to enter the password. At
Common command review,
Man
View Command help, command dictionary, more complex info, but not commonly used.
Help
View the help of Linux built-in commands, such as the cd command.
File and directory operation commands
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