How to Create file commands in Linux

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 >

Build and use the ubuntuntp time synchronization server

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

VIM system pasting

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

Fedora prompts xxxisnotinthesudoersfile. thisincidentwillbereported solution

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 standard configuration file

# 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

Linux User's function of switching su command horizontal bars

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;

Add root users in linux

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

Linuxrpm prompts that the installation is successful, but no software list is found during query.

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-

Version Control (2) SVN client configuration

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

SVN + GIT = have both fish and bear's paw

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

Usage of make in linux

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 total number of linux network connections

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

Tips for managing remote hosts

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..

Linuxcrontab command summary

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

Fedora16 add eclipse to the application

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

Tomcat username problems

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

View swap partitions by anonymous memory

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

UbuntuNetworkManager displays "devicenotmanaged

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

Three methods for running PythonWEBApplications in Apache

1. traditional CGI: vim/var/www/cgi-bin/hello. py #! /Usr/bin/python #-*-coding: UTF-8-*-print & quot; Content-type: text/html \ n & quot; print & quot; HelloWorld & quot; chmoda + xhello. pyvim/1, traditional CGI: Vim/var/www/cgi-bin/hello. py     #

Ganglia Structure and installation

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

Total Pages: 2732 1 .... 2041 2042 2043 2044 2045 .... 2732 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.