Reference
Ubuntu Initial bash prompt color is the same as the program output color, when a large number of output, it is often difficult to find out where the output information began. If you turn the color of the prompt into a more eye-catching color, it's easy to locate the output information at the beginning.When you want to change the prompt color in bash, you can set it by the value of the PS1 variable, and if you put it in the. bashrc file in
[Email protected] ~]# echo $PS 1 # View the main prompt ~]# echo $PS 2 # View from the prompt ~]# export ps1= ' [\[email protected]\h \w]\$ ' # Set the main prompt (temporary), If you want to permanently take effect, you should write ~/.BASHRC\u # user name\h # host name\w # Current working directory\ t # time (HH:MM:SS)\$ # If the root user displays ' # ' otherwise displays ' $ 'Shell Features:
Operating Environment:
System: Mac 10.12
Editor: Vim
One, no brain configuration:1. Open the Midrange input:VI ~/.bash_profile2. Open and edit the. bash_profile file:Press keyboard "I" to enter edit modeCopy the following code:Export clicolor=1export PS1="Press esc--"W" and press "Q"--"restart terminal--" complete!Second, advanced operation:Escape characters:The above example uses a backslash-escaped sequence of characters to notify
Bash inside the variable PS1 is the user's usual prompt, the system defaults to [[email protected] working directory]$. For more information about PS1, see: http://www.cnblogs.com/starspace/archive/2009/ 02/21/1395382.htmlIn the article, it is introduced that the PS1 modification is required to be written to the ~/.bash_profile in the restart, but this is for the
The meaning of the prompt in the PS1 variable:\d: Represents the date, in the format weekday month date, for example: Wed Dec 12\h: Full host name. For example: hostname is debian.linux\h: Take the first name of the host only, as in the example above, then the debian,.linux is omitted \ t: Display time in 24-hour format, such as: hh:mm:ss\t: Display time 12 hours format \a : Display time is 24 hours format: hh:mm\u: The current user's account name suc
Modify the. bashrc file in the user's home directorySet a new PS1 value that overrides the system's default valueExample: ps1= "[\[email protected] \w]\$"X Note: No spaces on both sides of the equals signThe usual escape characters and meanings are as follows:# \d: can display date format [day of week]# \h: Full host name# \h: Take the name of the hostname before the first decimal point# \ t: Display time,
Tags: script original round directory Mat code error REAC desMy original PowerShell script to share.Scripting Purpose: Lists files in a directory where all software signatures do not match.System requirements: Win7 + PowerShell 2.0 and above.#nd your file has been tampered with by hackers. PS1 the PS1 document should be saved as a Unicode document that contains the BOM header. #Enter a directory to verify t
Problem:Start with a long, can not fit, immediately want to use a large number to do.Do not use a large number in a long load, you can try double,double to meet most requirementsNot easy series of (3)--lele RPG puzzlesTime limit:2000/1000 MS (java/others) Memory limit:65536/32768 K (java/others)Total submission (s): 35395 Accepted Submission (s): 14209Problem description called "AC female killer" Super Idol Lele recently suddenly played a deep, this
JRPG and Western RPG are very common type tags, but because there are many different types in the same game, it is not effective to convey to people what kind of game this is. In this regard, some people still disagree whether these terms can be used to define the developer's game-making stance or game type.
Below I will list the 9 major classification criteria for RPG games.
The battle system-is based on
Today we come to realize the rain + snow effect. First of all, a classic RPG game will inevitably need to join the changes in the weather. So in order to make our RPG game engine more perfect, we have to implement it slowly.
This article is the second of the series, if you want to know the previous article can look at the following list:
How to make a HTML5 RPG g
This article shows several examples of Using SQLXML functions provided by IBMDB2fori7.1 through RPG. This document describes how to embed SQL statements into RPG programs to execute relational queries involving XML data and generate XML results. This article demonstrates the SQLXML release function and the recently released XMLTABLE function.
This article shows several examples of using the SQL/XML function
In the previous article, we introduced how to use pomelo to build a chat server. In this article, we show you how to use the Pomelo framework to build an MMO RPG server, and analyze its design ideas and implementation methods. In order to help you better understand and use the pomelo framework, Understanding pomelo Framework game development of the basic process, the use of methods and design concepts.
In this paper, the game server architecture, jus
In the development of lightning in the previous article, some friends did not quite understand it. This article will explain how to develop an RPG Game from a zero-base point of view.
In the gaming world, we can see various maps, various game characters, and figures walking and talking on maps. maps and figures are actually processed and displayed, by displaying different images on the screen, we can see different game interfaces. To make these images
Heard a lot of people talking about RPG's some understanding. But many mention the list of features such as equipment, backpacks, character attributes, and so on. Seldom hear a point of view of the starting points. Perhaps the online game MMORPG, may now the fast food to the world outlook and so on already very simple, dispensable as long as has a condom can put in can, also cannot say wrong indeed the player also regardless so much. So whether it is A-RPG
Compared with the traditional green screen IBM I applications, many modern IBM I applications are based on web technology, that is, the front-end uses a web-based graphical user interface, back-end reuse of traditional RPG and COBOL business programs. How to realize software reuse is an important goal of IBM I application modernization. On the one hand, the IBM integrated Web Services for I server based on Web service technology can publish traditiona
Error message of RPG
Time Limit: 1000/1000 MS (Java/others) memory limit: 32768/32768 K (Java/Others)Total submission (s): 5536 accepted submission (s): 2269Problem description: this summer, the Hangzhou-Hangzhou ACM training team formed a girls' team for the first time. One of them was called RPG, but the wild camels, one of the members of the training team, did not know who the three
Reprinted a mobile RPG Game production tool, which is written in rpgxp.
Some friends asked if there is any script editing function. Please note:The script editing function is available. You can edit scripts on the visual interface, which is the same as rmxp.
After one year of development, the mobile RPG Game production tool mobiegamemaker can finally meet the following requirements:
Time limit:1000/1000 MS (java/others) Memory limit:32768/32768 K (java/others)Total submission (s): 8387 Accepted Submission (s): 3415Problem description this summer holiday training team The first composition girls team, including a team called RPG, but as one of the training team members of the wild camel unexpectedly do not know RPG three person specifically who. RPG
I saw a post about RPG and moving in Tianya, with a deep impression. Add it to my favorites:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>
Many people say that I have mental obsessive-compulsive disorder. I have never believed it, but I have recently gradually believed it. For example, I always like to make up one opinion, and then create another opinion, which is more correct than the two views. This process often makes my stomach not nor
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.