I am trying to run a shell script using the ./<ScriptName> command, but the server returns an error bash: ./Script1.sh: Permission denied
What variable do I need to set to avoid this? (4 Replies)
Hi All,
When I am trying to execute the below shell script I got this error message.
script
==========
#!/bin/bash
/usr/java/jdk1.5.0_10/bin/java - classpath /var/lib/asterisk/agi-bin/mysql-connector-java-3.0.15-ga-bin.jar/:
/var/lib/asterisk/agi-bin/jarfiles:... (4 Replies)
Hi Gurus,
I've a find command that gets the list of files from a source directory where the extension is not html, xml, jsp, shtml or htaccess. The below find command runs fine from the command prompt or in a shell script. I need to eventually run it in a PERL script and am getting the... (5 Replies)
Hi,
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
do
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
fi
done< files.txt
sftp -b sftpCommand.txt stu@192.168.2.1
The above... (1 Reply)
Guys,
when i am executing the following script I am getting following error.
-bash: test.sh: command not found
$ test.sh -- script name
#! /bin/bash
echo " Job started........"
CURRENTDIR=`pwd`
exit 0
thanks
Please view this link: How to use ... tags (2 Replies)
Platform : Solaris 10, RHEL 5.4, OEL 6
I've noticed that some of my colleagues execute scripts by typing sh before the script name
sh myscript.shI always execute a script by typing the script name and typing enter provided PATH variable has . (current directory) in it
myscript.sh (and... (1 Reply)
hi all,
i have a unix script where i am calling a database procedure from it. while executing the procedure i am getting an error:
but when i tried to call the same procedure manually then it ran successfully, i goggled this issue and found timezone.dat file missing at... (0 Replies)
Hi All,
I wanted to know why we use the '-f' option while executing script.
in my case...
abcd.sh -f any_evts 02 2014
abcd = Scriptname
-f = dont know
any_evts = Some file or string
02= month
2014 = year
So in above pleas ehelp to understand here -f and other arguement like... (1 Reply)
Discussion started by: ajju
1 Replies
LEARN ABOUT DEBIAN
swap-offset
SWAP-OFFSET(8) swap-offset SWAP-OFFSET(8)NAME
swap-offset - program to calculate the offset of a swap file in a partition
SYNOPSIS
swap-offset [<swap_file>]
DESCRIPTION
This manual page documents briefly the swap-offset.
This manual page was written for the Debian(TM) distribution because the original program does not have a manual page.
The programs s2disk and s2both can be used to save the state of the whole system to a swap partition or file and power off or suspend your
system. After restarting your system it will be put back in the exact system state you left it (this is sometimes called hibernation).
In the case of using a swap file you will have to specify the location of the swap file's header as the offset from the beginning of the
partition that contains the swap file. The swap-offset utility can be used to determine this value.
SEE ALSO uswsusp.conf(8), s2disk(8)
For more information see the HOWTO and the README
AUTHOR
This manual page was written by Tim Dijkstra tim@famdijkstra.org for the Debian(TM) system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version
published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
AUTHOR
TimTim DijkstraDijkstra <tim@famdijkstra.org> <tim@famdijkstra.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2006 Tim Dijkstra
uswsusp juni 24, 2006 SWAP-OFFSET(8)