The use of Pgsql under LinuxPgsql inside the user and Linux inside the same user, change the user's password to modify the password of the Linux user is.How to back up and restore the databaseSu Database user nameBackup:PG_DUMP-FC test001
1. The WHO command reads the contents of the system log to display the user who is currently logged in.2, Unix system to keep the data in the file, you can call the operation file through the following system:Open (filename, how) creat (filename,
1. Avoid directory spelling errorsshopt command:Demo:I want to go into the/home directory but accidentally spelled the wrong:[[email protected] ~]$ cd/hoem-BASH:CD:/hoem:no such file or directoryIf you use the shopt command, the situation is
I. Common REMOTE COPY command1. SCPscp/etc/hosts/file.txt [Email Protected]:/remotepath2. rsyncRsync-vzrtopgu--progress/etc/hosts 192.168.2.38:/etc/hostsThe service that rsync corresponds to is: xinetdService XINETD StatusXINETD (PID 4758) is
1. If a > and a file name are appended to any of the commands (not necessarily pre-existing), the result of the command is sent to the file. Such as: $ls/usr/bin > ~/unknown If the file already exists, the output of the LS command overwrites the
In the case of ARM processors, external interrupts and processor core exceptions (Soc internals) are exceptions and exceptions are relative to the main program, and when the SOC executes the main program, interrupts and exceptions can be interrupted,
1, when entering the installation interface, also appears in the graphical interface, the command to it first create GPT --Press CTRL+ALT+F2 's key combination, then go to the command line --Do the followingInput parted Delete the original partition:
1.[[email protected] huage]#: > FileName: is a placeholder that does not produce any input2.[[email protected] huage]# > FileNameAlso produces no output3.[[email protected] huage]# echo "" > FileNameYou'll see a blank line with a file size of 1byte4.
View the most CPU-and memory-intensive processes under Linux1.CPU most occupied Top 10 processes: PS auxw|head-1;ps auxw|sort-rn-k3|head-102. Top 10 processes with memory consumption PS Auxw|head-1;ps auxw|sort-rn-k4|h ead-103. The top 10 processes
The tree command lists the structure of the file directory as a graph. However some Linux (Centos 6.4) does not have a tree command, this article describes the installation method.Common parameters:TREE-D displays only the directory. Tree-l 1
first assume that the DHCP server IP is 192.168.80.20/24.1. Installing the DHCP server softwareMount/dev/cdrom/mntrpm-ivh/mnt/packages/dhcp-4.1.1-34.p1.el6.i686.rpm2. Modify the configuration(1) View file hints cat/etc/dhcp/dhcpd.confcopy template
CAMS in the installation process will automatically add the relevant services, in the final process of the installation will prompt the user whether to start the service to take effect, it should be noted that a service is added does not mean that
Before looking at Linux under what pieces of equipment, usually with Fdisk or the direct ls/dev/to see very inconvenient. This tool belongs to Util-linux-ng package, it is installed on Rhel 6.1, it is good to use directly. Ubuntu is also available
How do I install the. deb file under the Linux system?Deb is the Ubuntu, Debian format.RPM is the format of Redhat, Fedora, and SuSE.They are not universal (though they can be converted).Deb is a Debian-released packageUbuntu is based on all the
1. Function descriptionPipe (Build pipeline):1) header file #include 2) define function: int pipe (int filedes[2]);3) function Description: Pipe () creates a pipeline and returns the description of the file as a filedes array of parameters.Filedes[0]
1, immediately shut down the machine:Shutdown-h now2. Restart Now:Shutdown-r nowReboot3. Cancellation:Logout4. Enter the VI editor and write a Hello Java program:VI Hello.java5, enter the VI editor insert mode:I6. Save and Exit VI:: Wq7. Do not save
Linux service addition and deletion, automatic running and status, linux addition and DeletionDuring the installation process, CAMS automatically adds related services. During the installation process, the system prompts you whether to enable the
Linux terminal: Use the cat command to view invisible characters, linuxcat
Often, a program or software does not have syntax errors, and you check its related content and have not found any problems. This is because many characters are not displayed
OpenWRT compilation tutorial and openwrt compilation tutorial
1. Install Ubuntu
Download To http://www.ubuntu.org.cn/desktop/get-ubuntu/download/, version casually, I chose 10.10 32-bit version. The installation process will not be mentioned.
How to Set Linux swap partitions and Linux swap partitions
Many of my friends asked about swap partition in linux. I collected a good article and shared it.What is Swap?Swap, that is, in the Swap zone, how many people care about it except when
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