Some common sense under Linux

1./etc/profile This is a global configuration file that is typically placed in this file for all user-set environment variables. ~/.BASHRC is set for single-user use.If you want to give each user an alias, please add alias la= ' Ls-al ' line to the

Linux system search and kill zombie process

Linux On the server , there are some zombie processes that show how to quickly find and destroy these zombie processesFirst, we can use the top command to see if the server currently has a zombie process, in which you can see the number of zombie

Linux Note four: sudo command used

Multi-user Management Server, sudo command is very usefulsudo configuration file:/etc/sudoersModify Command VisudoFormat:Who which_host= (runas) commandExample:Hadoop all= (Root)/usr/sbin/useradd,/usr/sbin/usermodNote: It is best to perform sudo-k

Modification of permissions for Linux files and folders two ways and commands

chmod commands such as modified files belong to the master readable writable executable chmod a+rwx such as modified file belong to the group readable writable executable chmod u+rwx such as modify the file other people can read writable executable

Linux SVN common commands

1. checkout files to a local directory SVN checkout Path (path is a directory on the server)For example: SVN checkout svn://192.168. 1.1/pro/domainShorthand: SVN Co 2 . Add a new file to the repository SVN Add fileExample: SVN add test.php (add test.

Error code handling function in Linux kernel

Many error codes are defined in Linux, such as:-enomem,-EINTR, etc. These error codes are essentially negative integers.However, in the actual code process, the return value of some functions is pointer type, there are some integer type.For example,

Linux command line shortcut keys

Linux command line edit shortcut keysFirst summarize a few people think the most usefulCTRL +? Undo previous inputCTRL + C from another lineCTRL + R Enter Word search history commandCTRL + U delete all characters in front of the cursor equal to VIM

Linux Shared memory Practices (2)

SHMDT functionFunction: Detach a shared memory segment from the current processPrototype:int SHMDT (const void *SHMADDR);Parameters:SHMADDR: The pointer returned by Shmatreturn value:Successful return 0, failure return-1Practice: Run the program,

A concise explanation of the LS command of the Linux command

I am familiar with the Linux operating system of the students to the LS command is more familiar withBecause we typically use this command to view files in a directoryIts command form is:ls [options] directory or fileThe two most common options are

Linux common Commands (24)-Chown

Chown the owner of the specified file to the specified user or group, the user can be either a user name or a user ID; a group can be a group name or a group ID; a file is a space-separated list of files to change permissions, and wildcard

(note) Arm-linux-gcc/ld/objcopy/objdump parameter summary

DescriptionGCC is the compiler responsible for compiling C code, and LD is the connector responsible for linking multiple *.o target files into elf executables. The elf executable is a common UNIX executable file type, just like the Windows EXE file.

(note) How to install ARM-LINUX-GCC

How to install ARM-LINUX-GCCTo Install the cross-compilation toolchain:1, first log in as root user2, copy arm-linux-gcc-4.3.2.tgz to the root directory in the TMP folder3. Unzip the command tar xvzf arm-linux-gcc-4.3.2-c/Note that the above command

Example of "Linux" semaphore semaphore thread synchronization

0. Signal VolumeThe semaphore under Linux is slightly different from the amount of semaphores under Windows.WindowsThe semaphore under Windows has a maximum value and an initial value, and the initial and maximum values can be different. And the

Solution for viewing and occupying linux system ports, linux Port

Solution for viewing and occupying linux system ports, linux Port Reprinted please indicate the source: curtain roll west wind column (http://blog.csdn.net/ljxfblog) For a long time, a problem is often encountered in the process of processing

Detailed description of SSH key logon under CentOS6.5

Detailed description of SSH key logon under CentOS6.5I. Necessity of key Logon Generally, SSH key logon is safer than Account Password Logon. Sometimes, the company needs to configure Server logon for new colleagues. Generally, SSH key logon is

Drive rtl8188eu and A20 rtl8188eu of quanzhi a20 Series

Drive rtl8188eu and A20 rtl8188eu of quanzhi a20 Series This tutorial is applicable to A20 series development boards. I used rtl8188eu usb-wifi on the A20 board. After three days, the driver was successfully driven, connected to the router with wifi,

Basic use of CentOS

Basic use of CentOS1. view the running status of the process:Ps [options] [-- help]This command can be used to view the running status of processes in the instant computerParameter description:-A all: list all processes.-W width, show widening to

Iptables service for CentOS 7

Iptables service for CentOS 7 By default, CentOS 7 uses firewalld to manage iptables rules. Because firewall rules are rarely changed, it doesn't matter if they are not moved. But it is used to being a devil. Unlike before, it is always a bad habit.

How to securely upgrade Ubuntu Server 14.04 to 14.10

How to securely upgrade Ubuntu Server 14.04 to 14.10 You may already know how to upgrade your Ubuntu Desktop to the latest version. However, if you use Ubuntu Server and want to upgrade it again, it will not affect your application. In general, we

General Production Environment Linux Server Configuration

General Production Environment Linux Server Configuration 1. Selection of the Linux server system version in the production environment Select the 64-bit Linux operating system of CentOS6.5 CentOS (Community Enterprise Operating System) is one of

Total Pages: 5467 1 .... 3058 3059 3060 3061 3062 .... 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.