cmd and ps1
Command Prompt - Copy and Paste
I often need to copy text from a command prompt window. Sometimes the settings are preset to allow one to select text with the mouse, but often they are not. This is the option that needs to be selected from (right click->properties) on a command prompt window that allows you to select text (error messages, commands, debug messages, etc) to copy to somewhere else.

PS1 and command line formatting in unix shells
export|set (depending on shell) PS1=”$(print ‘<–> $(UNAME)../${PWD#/} <–> ‘)
There are a lot more options that I’ve only recently discovered, but it is really helpful to avoid needless typing of ‘ls.’
This message was brought to you by alias4life.





Add New Comment
Viewing 1 Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)