[raspberry-vi] Re: Did you know...?

  • From: Jeffery Mewtamer <mewtamer@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Fri, 5 Aug 2016 13:32:40 +0000

cd - sounds like one of those tiny, but infinitely useful tricks I
wish I had learned years ago.

In returns, here's a little trick I've learned recently(though I'll
admit I still use the more cumbersome method out of habit):
ctrl+l will clear the terminal. Not that useful, but it's still many
fewer keystrokes than typing the clear command.

Also, PS1=STRING will change the command prompt to STRINg. PS1=$ is
usually the first command I type when launching a fresh terminal since
my terminal screenreader likes to repeat the prompt every time a new
empty prompt is displayed, I tab complete more than one character, or
cycle through my command history and I don't need constant reminders
of my user and host names and if I forget what directory I'm currently
in, I have pwd for that. Though, if anyone knows what config file I
need to alter to make $ the default prompt, or go a step further and
make the prompt say tty followed by the active terminal number, that
would be great.

-- 
Sincerely,

Jeffery Wright
President Emeritus, Nu Nu Chapter, Phi Theta Kappa.
Former Secretary, Student Government Association, College of the Albemarle.
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: