of the path and the end of the path):Command DirName (remove the directory name from the path)Note: If you are using a relative path, use the absolute path if you are not on the way.Naming format for files:In the file system, based on the file name reference files, according to the name to access, in the file system, the filename has a series of provisions1. The file name cannot contain a "/" Slash, "/" can represent the root file system, or "/" can also represent the path delimiter.2. The file
In Linux, how do I list the two commands on which the RPM package depends ?, Linuxrpm
The following two commands can list the RPM package dependencies,
1 yum deplist pakcage
yum deplist ntpLoaded plugins: fastestmirrorFinding dependencies: Loading mirror speeds from cached h
connections# netstat-s # View Network statisticsProcess# ps-ef # View All Processes# top # Real-time display of process statusUser# w # View active Users# ID # last # View user log in log# cut-d:-f1/etc/passwd # View All users of the system# cut-d:-f1/etc/group # View all system groups# crontab-l # View Current user's scheduled tasksService# chkconfig--list # list all system services# chkconfig--
Enter your username and password. of course, enter root to obtain all management permissions! You really want to see the pretty graphic interfaces immediately, but maybe I want to disappoint you. Before using the graphic interface, I suggest you master the basic Linux life first.
Enter your username and password. of course, enter root to obtain all management permissions!
You really want to see the pretty g
Many of the most common commands in Linux must be mastered, and here I share some of the basic commands I learned when I started Linux, hoping to help you.
This is I will be the book on the bird in the collation, I hope not to involve copyright issues.
1, display the date
use bzip2 to compress tar files
To create a tar file, enter the command:TAR–CVF Filename.tar Directory/file/home/mineThe above command puts Directory/file,/home/mine into the archive.To list the contents of a tar file, enter the command:TAR–TVF Filename.tarTo extract the tar file command, enter the command:TAR–XVF Filename.tarThis command does not delete the tar file, but it copies the contents of the archive to the current working
Test the logic of basic Linux commands 1. Test the linux Logic
1. Use test to judge the result of a command. The return value is 0 or an integer. Returns 0 to true, and an integer to indicate the error code.
2. Use $?
3. For example
My server has a folder like/home/www, so the return result of the ls/home/www command i
Linux Common commands:Practice more than 3 timesFirst, the command basic format1. Command format:[Root (Administrator) @localhost (hostname) ~]# (super User prompt, normal user prompt is $) adminis/root First level directory with PWD print working directory (print working directory) view/home/user1/Level Two Directory[[email protected] ~]# cd/usr/local/src/switch current directory[Email protected] src]#comm
Ext.: http://blog.csdn.net/xiaoguaihai/article/details/8705992There are many common commands in Linux that must be mastered, and here I will learn some common basic commands that I learned from Linux to share with you and hope to help you.This is the bird in the book I have
Linux is a lot of frequently used commands are necessary, here will I learn Linux in the introduction of some of the frequently used basic commands to share with you, hoping to help you.This is the bird in the book I have done a bit, I hope not to deal with copyright issues.
(Transferred from: http://blog.csdn.net/xiaoguaihai/article/details/8705992)There are many common commands in Linux that must be mastered, and here I will learn some common basic commands that I learned from Linux to share with you and hope to help you.This is the bird in th
Linux is a lot of frequently used commands are necessary, here will I learn Linux in the introduction of some of the frequently used basic commands to share with you, hoping to help you.This is the bird in the book I have done a bit, I hope not to deal with copyright issues.
[[Email protected] ~]# stat test/test2 File: ' test/test2 ' size:0 blocks:0 IO block:4096 Plain Empty text Pieces device:803h/2051d inode:261657 links:1 Access: (0744/-rwxr--r--) Uid: (500/user1) Gid: (500/TESTG roup) access:2013-05-10 09:00:36.092000531 +0800 modify:2013-05-10 09:00:36.092000531 +0800 change:2013-05-10 09:30:58 .788996594 +0800Atime does not necessarily have to be modified after accessing the file, because: when using the Ext3 file system, the Atime information is not updated i
with Ubuntu desktop and CENTOS6/7 environments
Linux Knowledge related
Linux thought map finishing
Advanced Learning Resources finishing for Linux beginners
Getting Started with Linux basics
Understanding of the "translated" Linux conceptual archit
Reprint please indicate the source:http://blog.csdn.net/u011974987/article/details/52695647This article comes from: "Stromxu's Blog" preface
Linux provides a large number of commands that can be used to efficiently perform a large amount of work, such as disk operations, file access, directory operations, process management, file permissions, and so on. Therefore, working on a
The vast majority of databases run on Linux and UNIX platforms, and as the X86 platform's computing power nears or exceeds minicomputer, and in the tide of the IoE, more and more database environments run on Linux platforms.The Linux system is large and complex, summarized as a DBA, some basic management, network manag
Linux is a lot of frequently used commands are necessary, here will I learn Linux in the introduction of some of the frequently used basic commands to share with you, hoping to help you.This is the bird in the book I have done a bit, I hope not to deal with copyright issues.
The basic idea of Linux: 1. everything is a file. 2. it consists of a single program with a short cut purpose. 3. Combine the applet to complete the big task. 4. try to interact with users as little as possible. 5. Save the configuration information of all software in the form of a text file. Shell: Shell refers to providing the user interface to save the user's life...
Beginner Linux may appear to forget the command, this time should be a few common commands to write down, so that every day can knock, the days will be a long time in the mind has a deep impression. Here is my record of the common Linux commands, as well as the configuration of the service, are very practical, but for
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.