Article 6HV2M run command from anywhere

run command from anywhere

by
theyikes
from LinuxQuestions.org on (#6HV2M)
Hello! I don't know if this has been asked before but to be honest i don't really know how to ask this question. I'll try to explain. I have a command that i run on kubuntu but each time i do i have to put in the folder and file location of the command. Is there any way of running it without entering the filepath?

i tried export PATH=$PATH:/

i was trying to set the folder path, i tried setting it for each individual file and it works. but is there anyway i can just specify a folder rather than a single file?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments