Changing the Bash Prompt
Current Path
Use this command to display the current path followed by a new line as bash prompt:
$export PS1="\w\n$"
More Bash Special Characters
\s - name of the shell
\T - current time
\w - current directory
\H - hostname
\u - current user
Date Created: 2016-11-22 12:50:46 -0600 (Tue, 22 Nov 2016)
B.A.S.H.
.bashrc
find
Prompt
tail
Programming Languages
BASH
Java
Markdown
OpenSCAD
Tours
3D Modeling - OpenSCAD
Arduino
Build Technologies
Continuous Integration
Development Environments
Games
Integrated Development Environments
Imaging
Operating Systems
Programming Languages
Software Developement
Text to Speech - Festival
Video Editing
Guides
3D Modeling with OpenSCAD
3D Printing Workflow
Android
Software Development
Electronics
FFMPEG
G.I.M.P
Networking
Operating Systems
Sculptures - Kay Marco Cat
System Administration with Ansible
Science - Human Anatomy
Other Guides
Version Control
Site Info
Blog
Feedback
Guides
Market
Videos
back
|
top