I don't use this tool, but "touch /tmp/$1" should not be expected to do anything - you don't pass a parameter to your scripts. Did you mean to do "touch /tmp/$0" ?
Trilby
https://bbs.archlinux.org/profile.php?id=54694
2012-11-04T10:55:42Z
hi all,
ive started writing scripts to launch some of my programs, but am having mixed results. i am saving them all in the /bin folder (is this typical?). for about half of the scripts they run fine from the terminal home directoy, however for the other half i must " cd /bin" before i can run "sh script". im not quite sure why this is happening.
Dear Community,
I've an urgent issue due to a migration of an application from HP-Unix to Linux.
We have a mass of scripts which are running at a dedicated server on hpunix.
Now we do not know, which further scripts exists on this machine. the idea is, that we crawl through the scripts we already know and identify further scripts which are addressed in those.
Can I assume that enough people have zsh installed to run scripts with a
#!/usr/bin/env zsh
as shebang?
Or will this make my scripts un-runnable on too much systems?
Clarification: I’m interested in programs/scripts an end user might want to run (like on Ubuntu, Debian, SUSE, Arch &c.)
In my old shop, we only had AIX machines there (all of version 6.1 ). FTP ports were not open for these AIX machines because of some security thing.
Hi,
I am facing a strange issue when connecting to SQLPLUS via a shell scripts.
I am using Linux 2.6.18-274.18.1 and gbash shell.
When I connect to SQLPLUS through scripts then it throws TNS Time Out error ""sometimes"" and connects successfully other times.This is only happening when sqlplus is called within scripts and working fine when called directly from termin
hello
i need help so i have tablet pc rooted and i edit build.prop add some tweaks but i want add scripts to int.d folder do i must have installed kernel or not and how add scripts to stock rom or offical rom just rooted i have ICS 4.0.4
please tell me how add scripts without kernel or any other applications or softwares i just want add scripts for battery,lagfix etc......
Please let me know the how to hide Oracle credential in below script:
Code:
PP.AIX.ETL:/XYZ/abc/dsclientprod/home/scripts/monthly > cat exec_sql.sh
set +x
# import our environment
#.
i have been playing around with shell scripting, nothing too complex just learning the basics. if i try to run a script as root (by entering "sudo" then the "command") it says command not found. i can only do it ass root if i specify the full path (/home/username/bin/command) im pretty sure the directory that my scripts are in are part of the superusers path.