The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

-bash: edit: command not found

Discussion in 'General Discussion' started by Peter Grahn a.k.a Lite, Apr 30, 2016.

  1. Peter Grahn a.k.a Lite

    Joined:
    Feb 29, 2016
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sweden
    cPanel Access Level:
    Website Owner
    This is a first for me, maybe I'm just tired and stupid; just installed a new cPanel server with CloudLinux and the edit command isn't recognized. I have 4 servers with the same configuration and all of them answer to edit. Sure I can other commands but 'edit' is sort of build in my fingers. Anyone?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Is there a specific text editor you prefer to use when entering the "edit" command? If so, you can create an alias in the bash profile by editing the /root/.bashrc file. EX:

    Code:
    vi /root/.bashrc
    Thank you.
     
  3. Peter Grahn a.k.a Lite

    Joined:
    Feb 29, 2016
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sweden
    cPanel Access Level:
    Website Owner
    I neglected to say Thank you! :)
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page