Alias: View command Aliases (aliases are valid only for users)Alias H=hostname (definition alias)Cdnet= ' cd/etc/sysconfig/network-scripts/' (with single quotes with parameter commands)Want to work long-term change. bashrc file (root is/ROOT/.BASHRC,
Less is similar to more, but you can browse files at will with less, and more can only move forward, but not backwards, and no will load the entire file before viewing it.GrammarLess [parameter] fileParameter description:-B > name > Display the tab
/bin/nologin,/bin/false means that a user is forbidden to log on.More common uses:#/usr/local/apache-g apache-s/bin/false ApacheTo deny a system user login, you can set its shell to/usr/sbin/nologin or/bin/falseUsermod-s | --shell /usr/sbin/nologin
Installing MacPorts via Sourcewget http://distfiles.macports.org/MacPorts/MacPorts-1.9.2.tar.gzTar zxvf macports-1.9.2.tar.gzCD MacPorts-1.9.2./configure && make && sudo make installCd.. /RM-RF macports-1.9.2*/opt/local/bin and/opt/local/sbin are
5th chapter first Landing and online Help man page1. First-Time Login system First, we talked about the first landing of the CentOS 5.x interface . The session in the login option is able to use a different graphical interface to operate the entire
PWD-Displays the user's current working directory in an absolute wayCD-Used to switch working directory to dirname, where dirname notation can be an absolute path or a relative pathSu-used to switch the current user identity to another user identity,
1. System maximum Open file descriptor:/proc/sys/fs/file-maxA. View$ cat/proc/sys/fs/file-max1864052. SettingsA. Temporary# echo 1000000 >/proc/sys/fs/file-max2. Permanent: Set in/etc/sysctl.conf, in the newFs.file-max = 10000002. Process Max Open
My First Linux ModuleToday, I successfully build my first Linux Hello module.First of all add a directory named Hello in the Kernel/driver, and add a file hello.c, write codes like bellow:#include #includeStatic int__init Hello_init (void) {PRINTK
After the JDK is installedIn CentOS:Execute rpm -ql java-1.7.0-openjdk-devel | grep ‘/bin/javac‘ the command OK,After execution, a path is output that removes the "/bin/javac" at the end of the path, leaving the JDK with the correct installation
Explain:The main is to pass the data to the script, the variable name cannot be customized, the variable function is fixed$n$10 represents the command itself, and $1-9 represents the accepted 第1-9个 parameter, which requires {} to be enclosed in {},
Recently in reading the source code of the Libev, see the Libev of the codes inside the sleep implementation, I think this sleep can be realized alone, as a reference, can be directly used in the future.The code is as follows (slightly
[Guide] system uname-a View kernel OS CPU Information Head-n 1 etc issue view OS version number cat proc Cpuinfo view CPU information hostname View computer name Lspci-tv List all PCI devices LSUSB-TVSystem# uname-a #查看内核/operating system/CPU
1 man command: View Help informationMan commandNAME: A simple description of the commandSynopsis: Instructions for using formats for commandsDESCRIPTION: Detailed instruction information for the commandOpetions: Description of the command options2
1. Free commandFree-mTotal used free shared buffers Cachedmem:1526 182 1344 0 16 99-/+ buffers/cache:65 1460swap:3071 0 3071It clearly shows how much memory is in total, how much has been used, and how much is left.2. Top commandThere are two lines
(1) File System view command: DF [option] [Mount Point]-a displays all file system information, including special file systems such as/proc/sysfs-H Use custom units to display capacity, such as KB,MB or GB-t display file system type-m displays
Linux is open source, this is the main reason, want to learn Windows,unix sorry, no source code. Because of this, Linux can be as big as a snowball and grow to the size of the present. Today will bring you about Linux mainstream framework operation
Linux drive interrupt mode get key value--------------------------------------------------------------------------------------------------------------- ---------------------------------------Recall the interrupt processing under the single-chip
Without root, add regular users and manage with sudo authorization
Change the default remote connection SSH service port and disable root user remote connection
Scheduled Automatic server time update
Configure the Yum update source to
I. Remote management of Linux servers using OpenSSHSSHD is the server-side daemon of OpenSSH, and its corresponding Windows client software is Securecrt/xshell/putty and so on.OpenSSH is generally installed by default on Linux systems and the
First, System Management and SetupIi. User and User group managementThird, Disk ManagementIv. File and directory managementV. Backup and compressionVI. network management and related applicationsVii. Vi/vim EditorFirst, System Management and Setup1.
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