2017-07-21 19:57:10 @ but may this heart have no grudge, especially originalI have to write carefully, do you have a serious look?There are four main profiles for Linux users and groups, as follows:/ETC/PASSWD: User and its attribute information
Recently bought MacBook Air, starter version, 8+128GBSo to pick up some of the common Linux command lines:1. Operation of the folderPWD: Show current pathLS: Displays files and folders in the current directorymkdir devlop: Create folder with folder
Linux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two parameters-rf that is: RM-RF
Download file path Package:http://archive.apache.org/dist/Upload the package to the/tmp directory firstRequired files are as followsJdk-8u60-linux-x64.gzApache-tomcat-7.0.64.tar.gzOne, JDK installation[Email protected]/]# cd/tmp/[[email protected]/]
1. Copying foldersCopy folder/usr/t1 to/home/t2 pathCp-r/usr/t1/home/t2Direct Force OverrideCp-rf/usr/t1/home/t22. Delete a folderRm-r/USR/T1Direct Force RemovalRm-rf/usr/t13. Find the file pathFind the path to t1_1 under the test and Test1
Linux builds DNS using Yum source installationYum-y Install bind*Modifying the master configuration file[[email protected] ~]# Cp/etc/named.conf/etc/named.conf.bak # back up once before modifyingModify to the following:Options {Listen-on Port: (any;}
Command VI to enter VI FileName: Opens or creates a new file and places the cursor at the beginning of the first VI +n FileName: Opens the file and places the cursor at the beginning of nth line VI + FileName: Opens the file and places the cursor at
When the system is installed, there is a lost+found under each partition, and the creation time of this directory is the same as the time the partition was created. So if you want to know when your system is installed, just look at the creation time
I am not a student of computer science, so today I am going to talk about this topic, and for everyone, there is more objectivity and fairness. For me,Linux has given me the greatest wealth, not the ability to increase the number of programming
View all hidden directories below the file:Ls-al ~Ls-al ~Ls-a-L ~You can see that the results of the three command execution are consistent because the LS is a space-delimited argument for the arguments following the command, and no matter how many
Time setting View system Current date/time: Date -RTo view the system hardware clock:Hwclock --showSet Hardware time:Hwclock--set--Date="07/18/17 20:55"Synchronizing the system time with hardware time:Hwclock--hctosysTime zone
Shell Introduction[Email protected] ~]#two components, #为命令行提示符; #为超级用户, $ for other users;Before the first part, the user's identityAfter @ for the second part, your host name~ The location shows the directory where the current user is locatedShell
Today, a simple pseudo-distributed cluster of Hadoop was built, with three CentOS systems on a virtual machine, but the password was forgotten. I would like to install a set of Oraclelinux, because of the time, or decided to check the method of
Link
The generation of an executable target file needs to be precompiled (g++-E), compiled (g++-s), compiled (g++-c), and linked four steps. A link is the process of merging multiple relocatable target files into a single destination file. The
Post-boot scriptsIf you want to add a script file for startup execution, you can copy or soft-connect the script to the/etc/init.d/directory and then use: update-rc.d xxx defaults nn command (NN for boot order),Add the script to the queue that
Prompts when running the Yum command in CENTOS7:Existing lock/var/run/yum.pid:another copy is running as PID 3936.Another app is currently holding the Yum lock; Waiting for it to exit ...The other application Is:packagekitmemory:26 M RSS (355 MB VSZ)
In our daily work, we will need to query the host's current network information and the public Internet to see the IP address information, they are like a network of business cards, let us find each other.How to get intranet and public network
Docker ~ Write a bash script started by the container, dockerbash
Back to directory
In linux, bash scripts are equivalent to bat, cmd, and ps scripts in windows. Common commands can be organized and executed in a unified manner. For example, some
Solution for linux: unexpected inconsistency: RUN fsck, inconsistencyfsck
Symptom:
When the VM is started, the following message is displayed:
Unexpected inconsistency; RUN fsck MANUALLY
Cause analysis:
1. file system problems caused by
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