Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

-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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm happy to see the information provided was helpful. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice