Linux study notes -- usage and differences of su and sudo commands
Abstract: This article mainly introduces the functions of the su and sudo commands and the differences between them. And usage
I. Differences between the two
Su is used for
Locate command
Function Description: locate allows users to quickly search for specified files in the file system. The method is to first create an index database that includes all file names and paths in the system, and then query the index
Users, groups, and permissionsI. Permissions: r, w, x1. File Permissions:R: readable. You can use commands like cat to view the file content;W: writable. You can edit or delete this file;X: executable, eXacutable, which can be submitted to the
Ubuntu is a powerful modern operating system that allows you to use desktops in multiple languages. By default, several language packs are pre-installed when you first install Ubuntu. But if you want your Ubuntu to support more languages, you must
Log4j introduction:
Log4j is a powerful logging tool that records operation information in the system and helps administrators analyze and manage related data in the background. You can record the data console, files, interface servers, and GUI
FIFO, also known as named pipe, is a method used for inter-process communication in Linux.The difference between FIFO and pipe is:FIFO has corresponding inode in the file system, which can be viewed using the ls command.Sh-3.2 # ls-lhF./export
To quickly adjust the parameters used by Elementary OS,+ Tom Beckmann has set up special settings for the system appearance, Font, animation, shadow, shortcut keys, cursor actions, and system components developed by Eos,These settings are unified,It
Download the latest GCC4.6.2 from the GCC website
Http://gcc.gnu.org/
Domestic image address:Http://mirrors.ustc.edu.cn/gnu/gcc/
First, an error occurs during gcc Configuration:#./Configure -- prefix =/usr/local/gcc-4.6.2Configure: error: Building
We usually need to configure and optimize many parameters when installing the new Linux system, while the installation of the server operating system is usually minimized, which is also the most stable in the production environment.
This script is
1. Introduction
The Kaldi speech recognition tool organizes a collection of various commands and functions of HTK and calls them using perl scripts. At the same time, the deep neural network classifier (DNN) is also added, which is made by the
Error message:
Bringing up interface eth1: Error: No suitable device found: no device found for connection 'System eth1 '.123456 [root @ CentOS network-scripts] #/etc/init. d/network restartShutting down loopback interface: [OK]Bringing up loopback
Recently, the LibreOffice development version is released: LibreOffice 4.2, which is a stable version. However, while following up with version 4.2, the LibreOffice developer also aimed at and strengthened the LibreOffice 4.1.x series and just
How can I configure vim to automatically add the script running environment, author, email, script description, and other information during shell script development using vim? I found some information online, and finally found some information.
Fedora 20 comes with OpenJDK, So if you install the official JDK, you must first Delete OpenJDK as follows:
1: run the rpm-qa | grep jdk command to check the current jdk status.
2: yum-y remove java java-1.7.0-openjdk * uninstall openjdk, which
Percona-toolkit-System Tools
1. pt-diskstats
Function introduction:
Is an interactive monitoring tool for GUN/LINUX.
Usage:
Pt-diskstats [OPTION...] [FILES]
Print disk io statistics for GUN/LINUX, which is a bit like iostat, but this tool is
Because the system has restarted, of course, the local storage and SSH generated keys are lost. How can I store pull locally on GitHub?
Due to system reinstallation ,~ /. The ssh file will definitely disappear. In this case, you need to regenerate
Use of monitoring tools in percona-toolkit series
1. pt-deadlock-logger
Function introduction:
Extract and record mysql deadlock Information
Usage:
Pt-deadlock-logger [OPTION...] SOURCE_DSN
Collect and save the latest deadlock information on mysql.
Text force installer install resolution = MxN force graphics X the server uses the screen resolution m'n', where M and N are numbers, for example, 1024 '768lowres sets the resolution to 640 '480
Askmethod: Ask the method for entering the second
Three things that must be done after Ubuntu 12.04 LTS is installed
Ubuntu 12.04 and Windows 7
I. Install the font
The Chinese font in Ubuntu 12.04 is neat, and I 've been reading it for a long time. It's not good for my eyes. I used to get used to
To practice your own basic JS and CSS skills,
The following are my new MediaWiki functions:
Back to Top
Link Amplification
MediaWiki upgrade
Add back to top
Returning to the top is the basic function of many websites. As long as the webpage is
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