PS1 variables for UnxUtils -
(Assuming you are in C:\Windows\System32\) -
%c - current folder (e.g. "System32")
%C - current folder with drive letter - (e.g. "(C:)System32")
%d - full path - (e.g. "C:/Windows/System32")
%D - date - (yy-mm-dd)
%h - history - "n" where "n" is serial number of current command
%m - computer name
%M - computer name
%n - user name
%t - time
%T - time - 24HR
%w - date - (day and date)
%W - date - (mm/dd/yy)
$ export PS1="%d> "
C:/Windows/System32> export PS1="%c%D-%t> "
System32:5-03-19,10:19AM> export PS1="%w> "
Download cool ringtones and wallpapers from http://www.e-wireless.ca/mobilefun
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.