Saturday, September 19, 2015

Oracle Linux and RHEL command history tips

14.8. Tips on Using Command History

What are some other ways I can use command history?
If you type history, a numbered list scrolls by very quickly, showing you the previous 500 commands you have used.
You probably do not need to see all of the last 500 commands, so the command history 20 might be useful. This way, only the previous 20 commands you typed are displayed (you can use any quantity as an argument of the history command).

14.8.1. Other Shortcuts

Here are other command history shortcuts which may be useful to you:
  • "Bang, bang": Typing !! (called "bang bang") executes the last command in the history.
  • "Bang number": Typing !number (as in !302) executes the command which is numbered 302 in the history file.
  • "Bang string": Typing !string (as in !rpm) executes a command with the most recent matching string from the history file.
  • [Up arrow] and [down arrow]: At the shell or GUI terminal prompt, you can press the up arrow to move back through previous commands in your history list (the down arrow moves you forward through the commands) until you find the command you want. Press [Enter] to execute the command, just as if you had typed it on the command line.

2 comments:

  1. Best Places To Bet On Boxing - Mapyro
    Where To Bet On wooricasinos.info Boxing. It's a sports https://tricktactoe.com/ betting event in which you bet on the 메이피로출장마사지 outcome 1등 사이트 of a game. In the boxing 1xbet login world, each player must decide if or not to

    ReplyDelete
  2. The further thrill comes from in a position to|with the flexibility to|having the flexibility to} make neighbor bets you could regulate to incorporate as much as} 9 numbers on both sides of your primary guess. Black & Yellow Roulette at PartyCasino a shot — you won't want to play roulette another means after this. Pala Casino’s Roulette Advanced must 1xbet be proper up your alley. You can place your bets directly on the new or chilly numbers, and might also|you can even} make your commonplace neighbor bets. French Roulette from Harrah’s is another gorgeously laid out game, making the entire approach uncluttered and streamlined to give you the best focus on to} what’s occurring.

    ReplyDelete