06-01-2006
Hi ranj@chn,
thank you for your reply. It was a silly mistake. Some of my paths were invalid. I amended the paths, and it could work.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Folks,
Is it possible somehow to unset all the environment variables which have been defined before in UNIX (Solaris).
Thanks,
Slava (3 Replies)
Discussion started by: spavlov
3 Replies
2. UNIX for Dummies Questions & Answers
hi,
1). i would like to know what is meant by environment variables?
2). is the number of envi variables is a constant number for unix systems?
3). how to see the list of envi variables (and the values of the envi variables)in a single command?
4). if this questions were already asked... (3 Replies)
Discussion started by: sekar sundaram
3 Replies
3. Shell Programming and Scripting
Hi All
Some how, variables are not getting exported while running the script in cronjob. Variable value is coming blank. But the variables are geting the value when the same script I am running manually. Any idea why?
When running the script in cron-job
==================================... (7 Replies)
Discussion started by: csaha
7 Replies
4. Shell Programming and Scripting
Hi,
If i have a variable set and exported in my pofile file will that variable be available in all shell scripts created.
Thanks,
Radhika. (3 Replies)
Discussion started by: radhika03
3 Replies
5. Shell Programming and Scripting
say i define an environment variable in a particular script (upgrade.sh).
my script is upgarde.sh and it calls another script try.sh. will this environment variable be accessible to try.sh also. if not how to I make environment variables global so that they can be used by any script. (2 Replies)
Discussion started by: lassimanji
2 Replies
6. Shell Programming and Scripting
Hey everyone,
I have a problem with a certain shellscript. I have a script like this:
#!/bin/sh
template=$1
for values in {60,150,240,330}\ {60,150,240,330}\ {60,150,240,330}\ {60,150,240,330}; do
set $values
X=$1; Y=$2; Z=$3; M=$4
mkdir "X$X-Y$Y-Z$Z-M$M"
cp... (2 Replies)
Discussion started by: mario8eren
2 Replies
7. UNIX for Dummies Questions & Answers
why are all environment variables represented in a fixed format regardless of the shell you use?
like $HOME $PATH etc (6 Replies)
Discussion started by: sravani
6 Replies
8. Shell Programming and Scripting
Hello,
When I run this UNIX code without the -t option it gives me the desired results.
The code keeps the record with the greatest datetime based on the key columns.
I sort it first then sort it again with the -u option, that's it.
I need to have a variable to specify an ASCII character... (2 Replies)
Discussion started by: script_op2a
2 Replies
9. Shell Programming and Scripting
can someone please explain to me what i'm doing wrong with this code:
WELT=$(awk '(($1 ~ "^${caag}$") || ($2 ~ "^${caag}$"))' /tmp/Compare.TEXT)
when run from the command line, it works. but it seems to be having a problem doing the comparison when variables are involved.
i tested from... (1 Reply)
Discussion started by: SkySmart
1 Replies
10. Homework & Coursework Questions
1. The problem statement:
What is the mesg value set for your environment? If it is on, how would you turn off your current
session? How would you set it permanently?
3. The attempts at a solution :
Read Unix The textbook.
3rd chapter has many things like environment variables and... (5 Replies)
Discussion started by: mahinkhan22
5 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)