1. Change the file or directory permission chmod U + R
G-W
O = rwxR = 4, W = 2, x = 1+ Add permissions-Remove Permissions= Direct authorizationUse the root user identity to create a new directory with the permission rwxr-XR-X. Create a new file,
In Linux, modify the environment variable PS1 (command line prompt), you can use VI to edit the/etc/profile file, and add the following at the end:
Export PS1 = '[/u @/h/W]/$'
You can, where/u shows the current user account,/h shows the current
#0-stop (do not set initdefault to 0)#1-single-user mode#2-multiple users, but no NFS#3-full multi-user mode#4-useless#5-X11#6-Restart (do not set initdefault to 6)# Detailed explanation of each running level:0 indicates that the machine is shut
Who will not beLinux(Ubuntu) User
Lai Yonghao (Http://blog.csdn.net/lanphaday)
When the Spring Festival was about to return to my hometown, a friend was finally using Wubi Install Ubuntu 8.10 Take home. Able to develop one person by hand
1. Configuration File/Etc/hosts (the local host IP address ing can have multiple aliases )./Etc/services (correspondence between port numbers and standard services ).
/Etc/sysconfig/Network (set the host name, gateway, and domain name ).Hostanme =
I recently saw a good guide on Linux kernel entry abroad, so I tried to translate it. Because it is the first time to try translation, and the English level is limited, errors are inevitable. Thank you!
Since there is no time for this, it is
Introducing hackers to Linux
Author: platinum posting time: 2005.09.05From: http://www.ccidnet.com Computers on the network can be easily scanned by hackers using tools or other means to find vulnerabilities in the system and then attack the
Source insight3.0: A Tool for Linux source code reading
Reading the source code is the best way to study the technology. Linux provides a large source code library. However, due to the lack of good source code reading tools, it is very difficult to
Sendfile Function Description
# Include ssize_t sendfile (INT out_fd, int in_fd, off_t * offset, size_t count); sendfile () is the operation function used to copy data between two file descriptors. this copy operation is operated in the kernel, so
For Linux users in China, it is a problem that the system often displays garbled characters when it needs to display Chinese characters. For some reason, when it needs a system with an English interface, however, the system cannot normally input
Source: Linux community Author: Fu Dapeng 2008
To program C in Linux, you must use GNU gcc to compile C source code to generate executable programs.
1. GCC Quick Start
The general format of GCC commands is: GCC [Option] file to be compiled [Option] [
From: http://linux.chinaitlab.com/command/867897.html
Man Vim Command help, view the command usage form.
Quick Command Line
Sometimes in X-window, the mouse and keyboard do not work due to a program error. In this case, don't worry, because in Linux,
The company uses FTP to receive the customer's EDI order. Recently, the customer said that the order has been sent to us through FTP a long time ago. Why haven't it been delivered yet, but after repeated checks, the order was not found on FTP, but
What is the input device? I believe that all the aunts who sell pet puppies in Wuhan flea market can answer this question. Do you know? Yes, it is our legendary input device. Speaking of the input devices, I believe that the computers used by our
This is the eighth article in this series. Starting from this article, we have basically finished introducing the basic knowledge of the system. The following describes the configurations of networks and related applications. Of course, the previous
1. Disable all input forward Output and only open it to some ports.The following is a command implementation:
Iptables-P input dropIptables-P forward dropIptables-P output drop
Run the command iptables-l-N to check whether the settings are
1. Linux entry and exitEnterLinux:You must enter your account. You can create the following two accounts during system installation:1. Root-Super User Account (System Administrator), which can be used to do anything in the system.2. Common
In the previous chapter, we have been based on the assumption that clock events in Linux are provided by a periodic clock, regardless of whether clock_event_device in the system works in the periodic trigger mode, whether the single-trigger mode or
Copyright Notice
Respect Original Works. Reprinted, please maintain the integrity of the article, and in the form of a hyperlink to indicate the original author "tingsking18" and the main site address, so that other friends can ask and correct.
In Linux, If you download and install an application, it is very likely that the prompt "command not found" appears when you type its name. If you find the executable file in the installation target folder every time, it is too cumbersome to find
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