Linux ln commandsLn is another very important command in linux. Its function is to create a non-same link for a file in another location. The most common parameter of this command is-s, the specific usage is the target file of the ln-s source
This article uses the following system calls to implement the ls-l command function:
1. lstat: Get the File status,
2, getpwuid:
# Include
Struct passwd * getpwuid (uid_t uid );
Description:
The getpwuid () function returns a pointer to a
Basic
: E filename
OpenFilenameFor edition
: W
Save file
: Q
Exit Vim
: Q!
Quit without saving
: X
Write file (if changes has been made) and exit
: Sav filename
Saves
Mysql conflicts with mysql-4.1.20-2 error occurred while installing MySQL todayCheck whether mysql has been installed
Rpm-qa mysql
Old mysql versions installed
Error occurred when uninstalling with rpm-e mysql-4.1.20-2.RHEL4.1.i386
Use the
Trojan and backdoor detection and removal are a long-term task for system administrators. The following describes how to configure and prevent Trojans and backdoors in the Linux system:
I. Web Server (using Nginx as an example)
1. To prevent
System command:
Date: displays the current date and time.
Cal: displays the calendar of the current month.
Cal 2001: 2001 AD Tib.
Cal 5 2001: displays the calendar month of May 2001 ADCal-m: displays the calendar of this month on Monday, the first
GRUB 1 is not used for GRUB boot in Ubuntu 9.10. GRUB 2 (beta version) is used instead ). After Windows is reinstalled, the original Live CD method cannot be used for restoration.
If you have a tool disk that has been started by GRUB, use the tool
In Ubuntu, garbled Chinese characters are often displayed in flash, such as QQ games and Douban music.In fact, you only need to modify the linefeed font.Modify the file/etc/fonts/conf. d/49 = sansserif. conCodeIf the font still has no generic name,
Wallpaper sometimes gives you a different mood. You have added a lot of pictures of wallpapers to your favorites. Here, you can turn them out to make them take the initiative to get enough photos, and google will surely get it!
Ubuntu 9.10
To monitor large and small servers of the company, a Monitoring Server (Nagios) was built on the vmwarevm. To ensure stability, the VM is copied from VMware on windows2003 to another Ubuntu machine, as a result, the Nagios virtual machine was
Linux is inherited from Unix, and has been designed as a multi-user system. Let's illustrate it with actual examples.~ /Test $ ls-l-Rw-r -- 1 Yuanyuan yu1_0 a.txtDrwxr-xr-x 2 Yuanyuan YuanYi 4096 BThe displayed information is represented by columns:
Tutorial: Linux Process Management is much more powerful than Windows, and all processes are mapped to the/proc directory, we can view the memory data of these processes as we operate on common files.
~ $ Ls-l/proc
Dr-xr-x 7 root 0 1......-R -- 1
Fire Station Building Institute (Bkjia.com)LinuxDocumentAs we all know, the default search paths for Linux dynamic libraries are/lib and/usr/lib. After a dynamic library is created, it is generally copied to these two directories. When a dynamic
Linux requires a rare restart. However, once necessary, the startup is often slow. Fortunately, there are some acceleration methods. Some of these methods are not difficult. (Unfortunately, there are some difficulties ). Let's take a look.
#1:
A medium-level Linux user must always execute the. sh file. Of course, you can double-click the file under the graphic interface, but it is a waste of time.Now we will introduce the first method: (In ubuntu)First, open a terminal.Enter sudo suThen
A question about how to automatically delete a specified file larger than 1 GB.
The batch processing code is as follows:
#! /Bin/bash# When/var/log/syslog is greater than 1 GB# Automatically back up and clear# Note the usage of awkIf!
Xubuntu 12.04 is installed on one machine, and windows 7 64bit is installed on the other machine. The sshd service is installed on xubuntu, and filezilla is used to transmit files. In the past, the speed was generally about 2 MB, although not fast,
The default time management method for Ubuntu and Windows is different, so it is normal for the dual system to have time disorder. Ubuntu uses the BIOS time as GMT + 0 by default, that is, the world standard, while China is in GMT + 8 ), so if your
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