Using Mkdir/home/u1 to create a folder home/u1Chownoracle/home/u1 indicates changing the directory owner
Create a file
Mkdir aaa
Mkdir-p aaa
Create a folder
Vi foo.txt
Emacs foo.txt
Echo "aaa"> foo.txt
Cat> foo.txt
Clear command
>
Ubuntuserverntp time synchronization server installation and use 1. after the server 1apt-getinstallntp2 is installed, the service is started by default. if the server is not started, start it. /Etc/init. d/ntpstart3vi/etc/ntp. conf to
We can use the X11 clipboard to share text with other graphic interfaces. PS: X11 is a graphical environment for most desktop environments such as Gnome and KDE. X11 has two global cache zones to cache content between multiple applications. one is
Because Fedora does not add users to sudoers by default, the error isnotinthesudoersfile. will appear when we use sudo. Add the following method: 1. enter the root mode su-note: There is a space between su and-enter the current user's password 2.
# Nginx. conf # run userwww-data; # start the process. Generally, the number of worker_processes1 is set to equal to the number of CPUs. # the global error log and the PID file error_log/var/log/nginx/error. log; pid/var/run/nginx. pid; # working
Coincidentally, some old colleagues recently asked these questions, so let's sum up. 1. First, use help to understand su, sudosu, and sudo2. second, use help to understand & quot; loginshell & quot; and & quot; interactiveshell & quot;. & quot;
Step 1: Add a common user to create a user, set the password, modify the user, and delete the user: useraddtestuser create user testuserpasswdtestuser to set the password description for the created user testuser: the new user will create a user
Solution: rpm software installation is not successful rpm package shows that the installation is successful, but rpm-q but can not find rpmbuild-rebuildclumanager-xx-xxx-xx.src.rpm then see? Result: Wrote :?? The sentence, copy the clumanager-xx-xxx-
After the SVN server is started, the SVN repository is created. this SVN repository is generally run on the server and runs on linux. In my blog, the server is the local machine (127.0.0.1), and the client is also the local machine. The following is
Git has been used for some time. from the first day of using git, we plan to gradually discard svn. all functions of svn can be done by git, and git is doing better. besides, git has many other features that svn cannot meet. what is the reason for
I. usage of make in linux objective: to master the usage of make and to program on Linux. Environment: Linux system preparation: prepare three files: file1.c, file2.c, and file2.hfile1. c: # include & lt; stdio. h & gt; # include & quot; file2.h &
View the number of connections in various states of the system tcp connection. Netstat-an | awk & amp; #39;/^ tcp/{++ S [$ NF]} END {for (ainS) printa, S [a]} & amp; #39; view all ipnetstat-an connections established with Port 80 of the local
Source: http://www.everet.org/2012/01/management-remote-host/download. please reserve the link and thank you. For remote host management, I think ssh is generally used. in a Linux environment, it is very convenient. ssh can be used without any need..
In linux, crontab files are often maintained using the crontab command to submit scheduled jobs. Before introducing the crontab command, let's take a look at the format and meaning of each field in each entry in the crontab file. Each crontab entry
Add eclipse under the/usr/share/application folder. desktop file content: [export topentry] Name [zh_CN] eclipseExec/home/corey/tools/eclipse/eclipseIcon/home/corey/tools/eclipse/icon. xpm
Add the eclipse. desktop file under
In tomcat7 free installation version, the user name and password are not enabled by default, we need to manually specify in the tomcat-users.xml file (in the conf folder ), some account information has been written in this file, but the comments are
When I look at the code, I can see that an anonymous memory is mapped through mmap, but why do I have to map an anonymous memory? what is the use of the anonymous memory? I have been puzzled by this problem. Today, google has a lot of information to
A friend's house uses the China Telecom Wireless cat PPPOE for dial-up Internet access and does not have a wireless route. Therefore, he has to use pppoeconf under ubuntu to configure dial-up Internet access, result after the configuration is
After a few days of hadoop testing and testing, it is difficult to monitor the cluster status. for example, you can only view the cpu attribute of datanode when running a large file. I found a ganglia management tool on the internet and decided to
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