Re: vi editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-06-26 at 16:43 +0800, Ed Greshko wrote:
> > 
> > Inside vi editor when I am in command mode
> > 
> > For Example : If I want to know the hostname or pwd command How do i
> > execute
> > inside the Vi Editor while editing a file in command mode
> 
> Type...
> 
> :!pwd   or any other shell command

Or, if you would like the output of that command inserted into
your text, use

:r !pwd

or any other command.  Oddly, that space before the ! is important.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux