Because there are many Linux commands and many options, you can only master some common commands to learn:
Disk and file system management commands1. df commandThe DF command can display the remaining disk space of the current disk. Commonly
Command:Netstat-tuplnOrNetstat-PLN
Parameter description:
-T: indicates that the TCP port is displayed.
-U: indicates that the UDP port is displayed.
-P: displays the process ID (PID) andProgramName. Each socket/port belongs to a program.
Sometimes only the root account is created by default when a Linux release is installed. After creating the username for a new account, The sudo permission may not be available. The process of adding the sudo permission is as follows:
(1) switch
1. Create a user group (VI/etc/group)
2. Synchronize/etc/groupy with/etc/gshadow (maid)
3. Create attributes of an account (VI/etc/passwd)
4. Sync/etc/passwd with/etc/shadow (pwconv)
5. Create an account password (passwd accountname)
6. Create
The rh9 release removes support for some copyrighted functions. Therefore, the newly installed rh9 cannot play MP3, and even the famous xmms player cannot be spared. So what we need to do is install a player that can be used for MP3. Take xmms as an
ArticleDirectory
Other Search-related projects on Alibaba Dev
I saw Tom on the http://asktom.oracle.com and recommended Firefox. so I downloaded one from the Mozilla (http://www.mozilla.com) site and installed it on my Linux. I think
Rm-RF use with caution
The command has been knocked a lot. It often goes by the river, and it is inevitable that the shoes will be wet.
Yesterday, by mistake, I typed the wrong command and gave the folder to RM-RF.
A few days of hard work,
In Linux 0.11 kernel, when performing address ing, we need to first distinguish the three addresses and their transformation concepts:A. Virtual and logical address of the Program (process); B. Linear address of the CPU; C. Actual physical memory
# Uname-A # view kernel/operating system/CPU Information# Head-N 1/etc/issue # view the operating system version# Cat/proc/cpuinfo # view CPU Information# Hostname # view the computer name# Lspci-TV # list all PCI devices# Lsusb-TV # list all USB
Reprinted: http://kerry.blog.51cto.com/172631/300757 (good blog)
Squid dos caused by Linux file descriptors A squid dual-network proxy was set up on rhel4.8 for work a few days ago. At the beginning of the test, everything was normal, and then the
Personal perspective, haha
RedHat
RHEL as4.0
Enterprise-level most commonly used Linux distribute. Most of the company's servers use this version. The better thing is that Oracle has released a dedicated version of rhel4.0 for Oracle for this
Unpack in 01-.tar format: [********] $ tar xvf filename.tar package: [********] $ tar CVF filename.tar dirname (Note: tar is packed, not compressed !) 02-.gz format decompression 1: [********] $ gunzip filename.gz decompression 2: [********] $
Crontab is automatically executed by Linux at a fixed time or at a fixed interval.Predefined job).
Usage:
Crontab-l listCurrent UserAll predefined cron jobs (jobs))Crontab-e edit the current user's cron job (you can add, modify, and delete
This article mainly solves the following problems:1. Why use the library?2. Database category3. Create your own database
You may still remember the situation when you are new to Linux. If there is no package manager that can better resolve
Grep Introduction
Grep (Global Search Regular Expression and print out the line, full search for regular expressions and print out rows) is a powerful text search tool that can use regular expressions to search for text, and print the matched rows.
When programming on Linux, some non-standard libraries (that is, libraries installed on your own) are often used. These non-standard libraries may have different installation locations, this brings us trouble in programming.1. Header file locationBy
Commonly used file search commands in Linux include which, whereis, find, locate, and type. The specific usage is not involved here, but the differences between them are compared.
Which: searches for the location of a system command in the path
From: http://hi.baidu.com/zkheartboy/blog/item/6331d5cec964f60093457e0d.html
A script for programming a Linux kernel module, which has not been written and is constantly updated...
1. Related commands0. view the kernel modules mounted by the
From: http://linux.chinaunix.net/techdoc/develop/2008/03/07/982180.shtml
SummaryLinux Kernel module programming materials are complicated, some are too simple, some are too complex, I try to use the form of notes to show readers how to process
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