Find the answer to your Linux question:
Results 1 to 2 of 2
Is it possible to map a command so that I can just type it in - when I am anywhere on my system. Basically I want to be able to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Location
    SLC, UT
    Posts
    67

    Map a Path


    Is it possible to map a command so that I can just type it in - when I am anywhere on my system.

    Basically I want to be able to reboot my apache at anytime without having to type in the whole path to the apachectl.

    Thanks!

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    you could make a symlink to the real script and place it in /usr/bin, or /bin if you only want root to be able to do it (probably a good idea ).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •