Linux Basic Command Summary update (DRY goods!) )

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,

Linux View file contents command: Less

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

Linux User Management using/bin/false and/usr/sbin/nologin to deny user login and its functional analysis

/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

Maco Linux-like Yum tools MacPorts

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

"Brother Bird's Linux private cuisine-Basic Study (third edition)" (vi)

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

CentOS7 Linux system commands

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,

Linux Max Open File descriptor number

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 Module

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

View JDK paths under Linux

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

Positional parameter variables in Linux

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 {},

Sleep under Linux

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

Linux System Information View command

[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

Basic commands common to Linux

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

Linux View server memory usage

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

Linux notes (11)-File System Management

(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

Analysis on operation and maintenance of mainstream Linux framework

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

Linux drive interrupt mode get key value--------------------------------------------------------------------------------------------------------------- ---------------------------------------Recall the interrupt processing under the single-chip

Linux System Foundation Tuning

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

Remotely manage Linux servers with OpenSSH

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

Linux commands Daquan

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.

Total Pages: 5467 1 .... 3239 3240 3241 3242 3243 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.