It was just a day, and I studied how to compile Linux kernel in my spare time. I used to work on Windows platforms and almost never used Linux, so I wanted to have a good time. The platform is the latest Ubuntu 10.04 LTS, and the kernel is also the
Name: FingerPermission: All UsersUsage: finger [Options] user [@ address]Note: Finger allows users to query information of other users. The following information is displayed:Login NameUser NameHome DirectoryShellLogin statusMail status. Plan.
Name: suPermission: All UsersUsage: su [-FMP] [-C command] [-s shell] [-- help] [-- version] [-] [user [Arg]Note: to change the identity of another user, except for the root user, you must enter the user's password.Parameters:-F or -- fast does not
Count the number of files in a folderLs-L | grep "^-" | WC-l
Count the number of directories in a folderLs-L | grep "^ d" | WC-l
Count the number of files in the folder, includingLs-LR | grep "^-" | WC-l
For example, to count all JS files under
Open or edit. Doc. ODT and other text document commands:
OpenOffice.org-a file name .doc &
Run the following command to open the demo file:
OpenOffice.org-G file name ....&
Open the workbook:
OpenOffice.org-C file name &
You can select
I recently read the source code of oldlinux, but it is a pity that the Foundation is weak. Although I haven't learned a lot, I have some basic concepts in the operating system, such as copy on write, load on demand, page Management and so on, with a
1. Write a script:1. download the file ftp: // 192.168.0.254/pub/files/access_log to the/tmp directory;2. Analyze and display the top five IP addresses at the beginning of the line in the/tmp/access_log file that appear the most frequently, and
Chattr (change attribute)
Function Description:Change file attributes.
Syntax:Chattr [-RV] [-v ] [+/-/= ] [file or directory...]
Note:This command can change the file or directory attributes stored on the ext2 File System. These attributes are in
ReprintedThe Linux kernel module programming guide (1)
Sighofwraith posted on 17:35:19
How do modules get into the kernel?
First, if you want to know which modules have been loaded, you can use lsmod to read what you want
// Linux File
/*************************************** **************************************
Copyright (c) 1999-2000, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with orModification, are permitted
The machine is a dual system, respectively Windows XP and CentOS-5.3, the problem is that in Windows network speed is very fast, and then switch to Linux network speed becomes snail crawling as slow, endure for some days. I tried to reinstall the
[1] solve the problem of Chinese Character Input Method
Open the terminal sudo apt-Get install scim-pinyin
Sudoim-switch-s scim-Z all_all # Because I use English local, set scim to the default input method of all locale
Im-switch-s scim-Z all_all #
Host host system: centos 5.3. Use the upgraded 2.6.23 kernel to install virtualbox 3.0.8. The IP address of the host is 10.60.56.90, and the network egress for accessing the Internet is eth0. The Virtual Machine is VM1, the IP address is 192.168.56.1
Preface:LFS is a very good manual for creating a complete operating system, But LFS is a guiding manual. Therefore, it defaults to a user group with certain Linux experience, therefore, it only provides all the operation instructions in the
No classification PS1 command name usage and Parameter Function Annotation1. File Management # ls-A lists all files in the current directory, including hidden files with A. header.File Management # ls-l or ll lists the details of files in the
1. Download RAR for Linux
: Http://www.rarlab.com
The downloaded file is rarlinux-3.6.0.tar.gz and saved ~ /Downloads directory
Ii. decompress the Software Package
I want to decompress the file to the/OPT directory, but the/OPT directory only
Based on some references:-Comparison of file systems-Wikipedia-Linux File System benchmarks-Benchmarking filesystems Part IIFor mainstream Linux operating systems, such as ext2/3, JFS, reiserfs (V3/v4 ),XFS made some evaluations and concluded that:
Disk management:Disk management is very important in Linux. The following describes the disk management commands:First, you must be clear about the disk usage and usage commands to manage the disk.Fdisk-l allows you to view information about all
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