Linux command prompt can be changed according to personal preferences, modify the value of PS1;Under Ubuntu, if only the individual users under the modification of ~/.profile file, all users of the unified modified/etc/profile;Join:Export ps1= '
Files and directoriesIn addition to its own content, the file contains some special information, namely, management information, including the creation/modification date of the file and its access rights, the length of the file and where the file is
The usual management of more than 130 Linux physical host, really understand the IP information of each host, application deployment is more trouble!So at the beginning of the deployment, you must plan:Write a script, put host IP, Administrator
Group Management:(1)/etc/groupFormat: Group name: Password: GID: Team memberWhere the cipher part has been moved to/etc/gshadow this shadow file.(2)/etc/gshadowFormat: Group name: Password: Team leader: Member ! Indicates no legal password, i.e. no
What happened to the system from the time the power key was pressed into the system? What kind of a process has gone through? How did you get into the login screen? Here is a simple Linux boot process for finishing.1, the server hardware to complete,
1. Comparison of several creation process functions? #fork ():? Source? ? Execution results:? ? ? In the parent process!? ? ? In the child process!? Analysis: Fork () Call once, return two times, respectively, in parent process and child
1. First download the installation file to MAVEN official website, the latest version is 3.0.3, download file is apache-maven-3.0.3-bin.tar.gz, download can use wget command;2. Go to the Download folder, locate the downloaded file, and run the
Multithreading is often used in the development of Linux, I would like to use and think about the usual record down, one is to make a memo to themselves, and the second is to share to people who may be used.The POSIX standard mutex is
Detailed description of grep usage in linux and linuxgrep usage
Search for a specific string and display the color[Root @ fwq test] # grep-n 'the 'regular_express.txt -- color = auto8: I can't finish the test.12: the symbol '*' is represented as
Gnu Linux-sorting out Ubuntu system cleanup items
/*************************************** ******************************* Author: Samson* Date: 07/11/2014* Test platform:* 3.11.0.11-generic # 19-Ubuntu* GNU bash, version 4.2.45**********************
CentOS modify tmpfs (memory file system)
By default, tmpfs is enabled for CentOS. Tmpfs uses memory. If the memory is used up, swap space is used. Adjust the tmpfs size. Do not exceed the memory + swap size. If the system resources are insufficient
How to install software in CentOS1. Install the rpm package:Run the rpm-ivh package name to install a package.Installation parameters-- Force installation even if it overwrites files belonging to other packages-- Nodeps if the installation of this
Thoroughly clear the screen in CentOS
Linux users, especially Ubuntu or CentOS users, are basically usedclearCommand orCtrl+LCombine shortcuts to clear the terminal screen. However, this operation does not actually clear the screen. It just gives
Deploy an NFS file system in CentOS
NFS is short for Network File System, that is, Network File System. A protocol used for distributed file systems. Through the network, different machines and operating systems can share data in batches, allowing
Recovery from an accidental shutdown of Ubuntu (orphan cleanup on readonly fs), ubuntuorphan
The process is as follows:
I was copying a large file. Suddenly the GUI interface of ubuntu was dead and I couldn't call it back, so -- "forced
Linux Learning (1) Add new users under unbuntu
I recently installed a dual-system and started to work with unbuntu. Linux is a multi-user operating system. Many operations require administrator permissions. All administrator permissions are very
Basic Linux commands
# Directory and file operations pwd ls cd mkdir cp mv rm file/*{{{*/1. pwd: displays the absolute path of the current working directory (the path expressed as the/starting point)Eg: pwd# Option-P: display the link file pathIi.
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