[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Hvordan er man kan genkalde en tidligere kommando i bash



On Fri, 22 Jun 2007 10:55:34 +0200, Michael Rasmussen <sslug@sslug> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 22 Jun 2007 10:47:13 +0200
"Michael Schmidt" <sslug@sslug> wrote:

Hej NG
Et måske banalt spørgsmål:
Hvordan er det man kan genkalde en bestemt tidligere afgiven kommando
i bash.
-Så det ikke er nødvendigt at bladre hele historikken igennem ved
tryk på piletaserne.

1) $ history | grep -i "<søgestreng>"
2) $ !<nummer>
OK det var en lidt udvidet udgave, men jeg kan allerede se at jeg kan få brug for den når jeg kun kan huske dele af det søgte.
Tak.



-- Med venlig hilsen /Zmit/ RLU # 314205


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2007-07-01, 02:02 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *