Unix vi command?

Discussion in 'Linux Discussion' started by BenL, May 5, 2008.

  1. BenL Guest

    BenL
    What command do you type to read the output of the 'who'
    into the file 'test' in command mode?

    What initialization file is started each time you start editing seesion with vi?

    What command instructs vi to map the command # to append the
    output of the date utility after the current line?
    BenL,
  2. Similar Threads: Unix command
    Forum Title Date
    Linux Discussion How do I run multiple commands on a Unix/Linux system without a GUI? Jul 3, 2008
    Linux Discussion i need codings for unix commands in c language ...please help... an urgent task...? May 29, 2008
    Linux Discussion Unix command helps!!? May 5, 2008
    Linux Discussion How do I check if my linux, or unix, box is 32bit of 64bit through the terminal? Jul 3, 2008
    Linux Discussion unix help!!!!!? Jun 18, 2008
    Linux Discussion Unix/programming question? Jun 18, 2008
    Linux Discussion free UNIX servers? Jun 3, 2008
    Linux Discussion Installing Unix with Windows XP? Jun 1, 2008
    Linux Discussion Drivers for Unix? May 30, 2008
    Linux Discussion What is recursive in Linux/Unix? May 30, 2008

  3. Search in google
  4. 1) !who > test

    2) File .exrc in your home directory, or the file pointed to by EXINIT environment variable if it's defined.

    3) :map # :r !date^M

    The ^M character is the Carriage Return character.
    It would have been typed into vi or the .exrc file as CTRL-V followed by CARRIAGE-RETURN.

Share This Page