Linux Lite A.I. Services are now live! https://www.linuxliteos.com/shop.html


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Terminal customisations (prompt, avoiding ./ and aliasing cd ..)
#2
You may find this interesting for navigating -

https://unix.stackexchange.com/questions...d-commands


To reduce retyping of long commands you can use history command like so -

Code:
history

to reduce reading of long history of commands you could just list last 3 or 10, example

Code:
history 3

would show a list of 3 numbered commands from the history file

if the command you wished to recall was numbered at its beginning example, 381, to run that long command and save retyping it you enter -

Code:
!381

It is a chapter ahead of where I am at, but I just gave it a quick try out before posting this. It seems like it would be very useful functionality.
Reply


Messages In This Thread
Re: Terminal customisations (prompt, avoiding ./ and aliasing cd ..) - by bitsnpcs - 03-29-2018, 09:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)