04-30-2013
Quote:
when coping the script to the terminal
What do you mean? You don't "copy a script to a terminal". In case helpful, in case you are really "copying script to terminal": The script lives in a file. You set execute permission on the file, and run the file as a command.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all
I have this simple script that checking if file exist
but when Im running it im getting error
here is the script :
#!/usr/bin/tcsh -fx
set mod_test = "mod_test"
if (-e $mod_hsf) then
echo "File Here !!"
else
echo "File Not Here !!"
endif
And here is the error ..
... (1 Reply)
Discussion started by: umen
1 Replies
2. Shell Programming and Scripting
I have started to write Korn scripts on the client's AIX 4.2 servers and there is this small problem that puzzles me.
I code all my scripts the same way:
- first line contains :
#!/bin/ksh
- I do this console command on every scripts:
chmod +x scriptname
But still, on some occasions,... (4 Replies)
Discussion started by: Browser_ice
4 Replies
3. Shell Programming and Scripting
i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine.
then last week i wrote capture.sh and it... (2 Replies)
Discussion started by: danpaluska
2 Replies
4. Debian
Hi, all.
When I run iceweasel as normal user in squeeze,
I got forrowing message.
exec: 193: ./firefox-bin: not found
I think this is readlink problem, because ...
#cat /usr/bin/iceweasel
line 40...........
MOZ_APP_LAUNCHER=$(which $0)
MOZ_DIST_BIN= $(dirname $(readlink -f... (3 Replies)
Discussion started by: miru
3 Replies
5. AIX
I can able to access /usr/local/bin/cvs in the terminal (AIX 6.1 Box). but i am getting the "/usr/local/bin/cvs: Not found " when i call it from the script. please some one assist me what maybe problem (6 Replies)
Discussion started by: hifirockz
6 Replies
6. Linux
I tried to run nohup command line on my Linux server to connect to a remote server, then execute Oracle binary to run a process at background. My Linux information looks like this:
oracle@myserver:/opt/oracle/scripts
$ uname -a
Linux myserver.domain.com 2.6.18-194.32.1.0.1.el5 #1 SMP Tue Jan 4... (1 Reply)
Discussion started by: duke0001
1 Replies
7. Shell Programming and Scripting
Hello,
When i run the shell script in Solaris, i am getting the below error.
/bin/sh: Test.sh: not found
I have tried including "#!/bin/bash" , did not work,
tried with #!/bin/ksh , did not work,
tried without the above include in the script, but still did not work.
Please help me to... (5 Replies)
Discussion started by: balareddy
5 Replies
8. Open Source
Hi Everyone,
We are trying to compile Kerberos library using xlc and we get an error that xlc is not found in the system.
We tried using gcc as well but it also fails with the same error. We could not find the compiler in the software media we received from IBM.
Any inputs on how... (2 Replies)
Discussion started by: madhav.kunapa
2 Replies
9. Shell Programming and Scripting
Some question about the usage of shell scripts:
1.) Are the commands of the base shell scripts a subset of bash commands?
2.) Assume I got a long, long script WITHOUT the first line.
How can I find out if the script was originally designed für "sh" or "bash"?
3.) How can I check a given... (3 Replies)
Discussion started by: pstein
3 Replies
10. UNIX for Beginners Questions & Answers
In Bash shell - the ps -ef shows only the /bin/bash but the script name is not displayed ? Is there any way to get the script names for the process command ?
--- Post updated at 08:39 AM ---
in KSH (Korn Shell), my command output shows the script names but when run in the Bash Shell... (3 Replies)
Discussion started by: i4ismail
3 Replies
LEARN ABOUT DEBIAN
build-lives-rfx-plugin-multi
build-lives-rfx-plugin-multi(1) General Commands Manual build-lives-rfx-plugin-multi(1)
NAME
build-lives-rfx-plugin-multi - builds rendered effects for LiVES
SYNOPSIS
build-lives-rfx-plugin-multi type [scripts_dir exec_dir] [build_bindir]
DESCRIPTION
This perl script builds rendered effects (RFX) plugins for LiVES. If scripts_dir is not defined then type is used to locate the plugin
scripts directory and output directory. Type can be builtin (the default), custom,
test, or builtinx. The type builtinx forces scripts_dir and exec_dir to be read from parameters and is used during LiVES install, and is
the only type which should be used if scripts_dir is specified.
Each plugin script in input directory is scanned to find its language code. The script is then passed to the script compiler for that lan-
guage. The directory location of the script_compiler may be specified by the build_bindir parameter (as is the case during LiVES installa-
tion0; otherwise the user's $PATH will be searched.
Return values the script returns the following values
0 - success 1 - the "type" parameter was not defined, or set to an invalid value 3 - the builder for a plugin script was not found
SEE ALSO
build-lives-rfx-plugin(1), lives(1)
AUTHOR
Gabriel Finch a.k.a Salsaman (salsaman@xs4all.nl)
May 9 2010 build-lives-rfx-plugin-multi(1)