| 
     
       |  |  |  | 
            
              | 
             
               | 
               
                 |  | UGU: Unix Guru Universe - Unix Tip #4349- February  6, 2025
 -  Home : Help
 : Today's Tip Unix Tip #4349- February  6, 2025
 
 
SUSPEND A VI SESSION FOR SHELL 
Ever want to run some shell commands while doing a vi edit
 session? Like, "what's the name of that file" I want to use in
 this script I'm making?
 
 Instead of exiting vi; doing the ls filenamepart*, and going
 back into vi, you can from  a vi session:
 
 enter ":", then enter "shell".
 
 This suspends the vi session and gives you a command prompt
 where you can use any shell command. When finished, enter the
 "exit" command and you will be returned to the vi session.
 
 
 This tip generously supported by: cwhenske@gatx.com
 
 NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.
 
 LAST 5 TIPS
 4348
 - BC AND NOT BEFORE AD
 4347
 - LISTING FILES BY SIZE
 4346
 - WHERE AM I ALWAYS
 4345
 - WHO SENT ME MAIL
 4344
 - STRINGS - OLD BUT A GOODIE
 I want to 
 SUBSCRIBE
 and get a UGU Tip everyday.
 I want to 
 UNSUBSCRIBE
 and NOT get a UGU Tip everyday.
 If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
 |  |  
                 |  |  
                 |   Copyright 1994-2024 Unix Guru Universe 
 |  |  |  |  |