Results 1 to 2 of 2
i recive this error :
%
% chmod +x script_name
% script_name
script_name: Command not found.
%
what to do ?
ubuntu 7.10 / i have install tcsh & csh
...
- 12-30-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 2
script in terminal ( chmod +x script_name)
i recive this error :
%
% chmod +x script_name
% script_name
script_name: Command not found.
%
what to do ?
ubuntu 7.10 / i have install tcsh & csh
nabel058@gmail.com
- 12-30-2007 #2
In Linux, unlike dos, your current working directory is not automatically on the default command path. This is a security feature; it means that if you unpack a piece of malicious software from an email and it has the same name as a system command, it won't run in preference to the real thing.
To run a command that is in your home directory, you must give its full pathname to show Linux where to look for it. You can use "." as an abbreviation for the current working directory, e.g. ./script_name."I'm just a little old lady; don't try to dazzle me with jargon!"


Reply With Quote