Thread: Sourcing scripts in '/usr/bin/myscripts'
i put scripts write special jobs 1 source directory. forget exact names , spend time looking them.
went /usr/bin , created this: '/usr/bin/myscripts/' permissions 755.
test produced this:
to prove file worked:code:dave@dave:~$ echotest.sh echotest.sh: command not found
i able list /usr/bin/myscripts confirm correct name of script want run. can that? how?code:dave@dave:~$ /usr/bin/myscripts/echotest.sh testing new directory in /usr/bin
path variable, doesn't have /usr/bin/myscripts
besides can store scripts in home in bin folder. ubuntu configured pick existing ~/bin folder , add path automatically.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Sourcing scripts in '/usr/bin/myscripts'
Ubuntu
Comments
Post a Comment