[Linux] User Switching

For Linux users, you can use the su and sudo commands. The Use Cases of these two commands are different.Su if your current identity is root, you can use the su command to switch to any other user (without a password), as shown below: [root@lx200 ~]#

Install and configure VSFTP in LINUX

Create a script for quick logon in windows:1. Create a file named "ftp. bat"2. The script content is as follows:@ Echo onCd C: \ Windows \ system32Ftp.exe 192.168.56.101 #########################1. Install the vsFTP Server:[Root @ localhost yum.

Linux System Service 6

# Example config file/etc/vsftpd. conf # The default compiled in settings are fairly paranoid. this sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd. conf.5 for all compiled in defaults. # read this:

Linux TCP packet retransmission process ---- Summary

/* This retransmits one SKB. policy decisions and retransmit queue * state updates are done by the caller. returns non-zero if an * error occurred which prevented the send. */int round (struct sock * sk, struct sk_buff * skb) {struct tcp_sock * tp =

How to set strict password policies in linux)

Original article address: Success!The management of user accounts is one of the most important tasks of the system administrator. In particular, password security is the most important concern for any self-declared security linux system. In this

Linux. Shell programming notes-basic text processing

Chapter 5 basic text processing sorted text Text processing is almost the most important part of UNIX/LINUXShell programming. In the UNIX/LINUX design, everything is a file, and the collaborative work of many programs in the system is achieved

Configure DRBD in Linux

I. Working Principle of DrbdDRBD is a block device that can be used in HA. it is similar to a network RAID-1 function. (compare NFS in Linux) when you write data to a local file system, the data will be sent to another host on the network. record in

Take notes on Linux Private food from laruence (17)-Linux guide process

1. System guiding process Step 1: firmware fireware (CMOS/BIOS) -- POST some self-check (not related to the operating system) This step mainly checks whether hard disks and other hardware work properly. CMOS: is solidified on the motherboard,

How to smoothly restart and upgrade nginx

How can I achieve smooth nginx restart and upgrade?Smooth restart kill-HUP 'cat/usr/local/www/nginx/logs/nginx. pid' Smooth nginx upgrade: Cd/yujialin Wget http://nginx.org/download/nginx-1.0.6.tar.gz Tar zxvf nginx-1.0.6.tar.gz Cd

Signal kill and raise Functions

The kill function sends signals to processes or process groups. The raise function allows a process to send signals to itself. #include kill(pid_t pid, raise(- Call raise(signo); It is equivalent to calling kill(getpid(), signo); Kill has four

Sigpending function of Signal

The sigpending function returns a signal set, where each signal isBlocked but not deliveredTherefore, it must beCurrently pending. This signal set is returned through the set parameter. (These signals areGeneratedSignal, but it is blocked because

[Linux] iostat System Monitoring command

Iostat: Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions [root@billtest ~]# iostatLinux 2.6.18-194.el5 (billtest) 01/09/2014avg-cpu: %user %nice %system %iowait %steal %idle

After linuxapche + resin is restarted, the web page still cannot be opened.

Recently, the website server has a high access volume, which often causes frequent server crashes. Normally, restart the server, ./Httpd. sh stop./httpd start is complete. However, due to frequent operations such as this, the website cannot be

Installation and Use of RAR in linux

Today, rar is not installed on a server, and the following error occurs: rar: error while loading shared libraries: libstdc ++. so.6: cannot open shared object file: No such file or directory is still handled by hao32. After asking about the method,

Temporary files in the standard I/O Library

The iso c standard I/O Library provides two functions to help create temporary files. #include *tmpnam( **tmpfile( If ptr is NULL, the generated path name is stored in a static zone, and the pointer pointing to the static zone is returned as the

Opening and closing a stream for a standard I/O Library

The following three functions open a standard I/O Stream. #include *fopen( *restrict pathname, **freopen( *restrict pathname, *restrict type, FILE **fdopen( filedes, * The differences between the three functions are: (1) fopen open a

Standard I/O Library read and write streams

Once a stream is enabled, you can select among three different types of unformatted I/O to read and write the stream: (1) I/O of each character. One read or write character at a time. If the stream is buffered, standard I/O processes all the

Standard I/O Library

The following two functions provide the function of inputting a row at a time. #include *fgets( *restrict buf, n, FILE * *gets( * Both functions specify the buffer address, and the row to be read is sent to it. Gets reads from the standard

Differences between rpm and yum in linux

Rpm and yum are used to install software and programs in linux. Let's take a look at the differences between rpm and yum in linux. I hope this article will help you. Differences between yum and rpm Rpm is a software package management method

How to configure and install postfix in linux

Postfix is the MTA software developed by Wietse Venema under the ibm gpl protocol. Postfix is an attempt by Wietse Venema to provide alternatives to the most widely used sendmail. Let's take a look at the postfix configuration and installation

Total Pages: 5467 1 .... 4224 4225 4226 4227 4228 .... 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.