When I execute following shell script I am getting the following error
syntax error at line 50 : `<<' unmatched
What am I doing wrong :confused:
Script begins here
----------------
MPAN_FILE=$1
exec 3<$MPAN_FILE ... (2 Replies)
Does anyone see anything wrong with this.
#getInfraFiles()
#{
# cd Infra/$DAY
# rm *
# /usr/bin/ftp -i -n $LINE << cmd
# user "$USER" "$PASSWD"
# cd $INFRAPATH
# binary
# mget *
# bye
#}
besides that its commented out (4 Replies)
Hello,
I have a simple script such as
-----------------------------
#! /bin/sh
YEAR=`date -u +%Y`;
MONTH=`date -u +%m`;
DAY=`date -u +%d`;
DATE=$MONTH$DAY$YEAR
LOGFILES=auditTrail-$DATE
LOGMATCH=$LOGFILES\*
ARGUM=''
# find all files and write them to a file
find . -name... (7 Replies)
when user select option 2 nothing happen.for testing purpose I put
echo command but is not executing .
basically when user prompt for option 2,I want to get list of database name from user separeted by space (TEST DEVL)
and put into the file seprated by new line
TEST
DEVL
after that stay on... (1 Reply)
For one of my script, I want one extra parameter needs to be added to one of the Usage option. Below its given
#Check Input parameters are valid
if ; then
function usage() {
echo
echo "*******************************************"
echo " !!! USAGE... (2 Replies)
I am working on a simple login ID check shell script that should prompt for a user ID then check to see if this user is logged on. Trying to get the hang of this stuff so I am thinking of my own little projects.
#! /bin/sh
echo "please enter a user name"
read user
if user=$user
then... (3 Replies)
Hi ! all I am just trying to check range in my datafile
pls tell me why its resulting wrong
admin@IEEE:~/Desktop$ cat test.txt
0 28.4
5 28.4
10 28.4
15 28.5
20 28.5
25 28.6
30 28.6
35 28.7
40 28.7
45 28.7
50 28.8
55 28.8
60 28.8
65 28.1... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
LEARN ABOUT DEBIAN
shatagd
shatag(1) Shatag shatag(1)NAME
shatagd - Automatically maintain hash tags for files in a given directory
SYNOPSIS
shatagd [-druv] [PATH]...
DESCRIPTION
shatagd Is a daemon companion to shatag(1) that will monitor filesystem paths using inotify(7) and automatically recompute a tag whenever a
file is written to.
OPTIONS -d, --daemon
Daemonize. You must use absolute file paths when using this option.
-r, --recursive
Recursively watch sub-directories, as well as newly created directories.
-u, --update
Only update already tagged files. See the shatag(1) manpage for pitfalls.
-v, --verbose
Write to stdout the paths of files which have their tags recomputed.
BUGS
Recursive mode is subject to an unavoidable race condition, due to a limitation of inotify.
Relative paths do not work when daemonized, only use absolute paths.
REPORTING BUGS
Report shatag bugs to the bugtracker at http://bitbucket.org/maugier/shatag,
SEE ALSO shatag(1)Shatag 0.3 11.03.2012 shatag(1)