View Permissions[Ruby]View PlainCopy
In Terminal input:
Ls-l xxx.xxx (xxx.xxx is the file name)
Then there will be similar messages, mostly these:
-rw-rw-r--
[Ruby]View PlainCopy
Which: the front one-represents
Text processing, regular expressions, cut, grep, Egrep, FgrepLinux Chinese this processing tool is most commonly used in the text Processing Three Musketeers grep, SED, awk and the regular expression, you can achieve enough text processing functions.
Ifconfig eth0 192.168.1.223Switch to root accountStart is $ signInput SuEnter the root passwordConvert to # becomes the root accountDr View Drive letterls/etc/View the files under the ETC folderls/bin/View the files under the Bin folderLS
Cpu1. LSCPU: Display CPU Architecture information[[Email protected] ~]$ lscpuarchitecture:x86_64cpu op-mode (s): +-bit, --bitbyte order:little endiancpu (s):4 #总处理器核心数量 on-line CPU (s) List:0-3Thread (s) per core:1 #每个核心支持的线程数量. 1 means only one
La la la la laFirst, install the softwareInstalled in the librarysudo apt-get Install * * *Package Installationsudo dpkg-i iptux.deb# View details of the Iptux.deb package, including software name, version, and size (where-I is equivalent
################################ 2. User Rights list ################################################### #1. Definition of a permission list ####################Specify a record table that special users have special permissions on a file#############
DF/DU is the command used to view disk space usage. Typically used to locate an issue with insufficient disk space.Du view of the space used by file and directory disksCommon operations: du-h PathIf no path is taken, the default path is found.[email
How do I add a user under Linux? And the successful exit user login? and switch User login?The steps are as follows:
Command line enter adduser user name (e.g. LANP) Enter,(note: Here Linux does not display any information);
Then enter the
First, download the QT source package to this machine, and then unzip#tar zxvf qt-x11-opensource-src-4.3.2.tar.gz-c/usr/local//Unzip the qt-x11-opensource-src-4.2.3.tar.gz source package to/usr/ Local directory (recommended decompression
Compression, decompression command, different algorithm, compression ratio will also be differentCompression format: GZ, bz2, XZ, zip, Z==================================================gzip:. GZGzip/path/to/somefile: The original file is deleted
According to those online statements, such as Linux server assumptions in the field (Xinjiang), and the Programmer working Environment (Beijing) is too far away, then every time the problem is to go to the scene to debug, it is too annoying.As a
Override RM Command Replease RM to trash root userVi/etc/bashrcAdd the following script to the last faceSaferm (){if [!-d/export/dustbin]ThenMkdir-p/export/dustbinchmod 777/export/dustbinIf [$?-ne 0]Thenecho "error:failed to
The title here is the System monitoring command, in fact, also includes some common system Information view (not performance information), so this article is divided into two pieces of content:System Information Class:This kind of information is
Today the discovery server on the Tomcat 8080 port does not come, the old prompt port has been occupied.Use the command:Ps-aux | grep TomcatA tomcat process with no 8080 ports found.Use command: NETSTAT–APNView all process and port usage. Discover
1. Linux basic commandsWho, which, basename, dirname, echo, type, hash, Whatis, Makewhatis, Mans, info, help, LS, cd,pwd, mkdir, RmDir, Touch, RM, Date, Hwcolck, Cal, shutdown, reboot, TTY1 Who:show who was logged on, the print information about the
Hibernation is a more power-saving mode that saves in-memory data to the hard disk and all devices stop working. When you need to press the ON/off button again, the machine will revert to the state you were doing when you were performing hibernation
1. DownloadHttps://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz2. InstallationUploading to a Linux server/app/programs/#解压 tar -zxvf python-3.5. 2 . tgz# into the unpacked directory CD Python-3.5. 2 #配置安装信息. /configure--prefix=/usr/local/python3/
APACHE rewrite to remove the index. php file,Next I will explain how to remove index. php from the URL under apache.For example, your original path is localhost/index. php/index.The changed path is localhost/index.1. The mod_rewrite.so module is
Docker-3 basic commands and docker-3 commandsCreate an image
There are three ways to create an image:
Create based on existing containers
Import based on local Template
Based on dockerfile
Create based on existing containers
Mainly use the
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