06-05-2008
meaning of .& in shell
Hi ,
can anyone explain me the meaning of following line
". &13FNAME/version_encours/cfg/dfm.cfg"
Regards
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new into UNIX shell scripting and I am wondering what is the meaning of the below text which appears at the end of each line in the ".sh" file:
> /dev/null 2>&1
For example, the line below:
sh $HOME/stats/Rep777/Act_777.sh omc omc > /dev/null 2>&1
I know for sure what "sh... (10 Replies)
Discussion started by: salanalani
10 Replies
2. Shell Programming and Scripting
All,
I have a line in my code like below , could any one please tell me what this actually mean what is the & doding there.
I am in sh shell
#!/bin/sh
..............
mv &fname &III.tar.gz
Thanks in Advance,
Arun (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
3. Shell Programming and Scripting
What does >&2 at the end of the statement echo "Alright man..." >&2 mean? (4 Replies)
Discussion started by: proactiveaditya
4 Replies
4. Shell Programming and Scripting
All,
In the below mentioned line ---
$SCRIPT_FILES/wrapper_sleep.ksh > $MVXREFLOG 2>&1
what is the meaning of &1 here.
Regards
Oracle User (2 Replies)
Discussion started by: Oracle_User
2 Replies
5. Linux
Hello. In some script, I saw:
filename=${1:-/etc/hosts}
if && ; then
md5sum $filename
else
echo “$filename can not be processed”
fi
# Show the file if possible
ls -ld $filename 2>/dev/null
What does the first line means? In $filename I still got /etc/hosts. (2 Replies)
Discussion started by: lozicd3
2 Replies
6. UNIX for Dummies Questions & Answers
Hello, I'm currently implementing the && function in a shell using C. For example, if we input cmd1 && cmd2, then cmd2 executes only when cmd1 exits successfully. I'm thinking about:
int main() {
int i;
char **args;
while(1) {
printf("yongfeng's shell:~$ ");
args =... (5 Replies)
Discussion started by: Yongfeng
5 Replies
7. UNIX for Beginners Questions & Answers
Hi Team,
I know that "&" holds the result of current pattern match.
But what does "&&" means and its use please?
Thanks & Regards,
Batta Archana (6 Replies)
Discussion started by: Archana Batta
6 Replies
8. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies
9. Shell Programming and Scripting
Hi All,
I am new to unix shell scripting and I was documenting one of the unix script and encountered below statements -
for ii in `ls -1rt /oracle/admin/MARSCOPY/ext_files/fpm-ifpm/*.small.txt | tail -1 | awk '{print $1}'`
do
smallssim=${ii##/oracle/admin/MARSCOPY/ext_files/fpm-ifpm/}... (2 Replies)
Discussion started by: shuklajayb4
2 Replies
10. Shell Programming and Scripting
Please let me understand the meaning of following line in unix bash scripting .is =~ means not equal to or equal to .
if ]; then
echo -e "pmcmd startworkflow -sv ${INTSERV} -d ${INFA_DEFAULT_DOMAIN} -uv INFA_DEFAULT_DOMAIN_USER" \
"-pv INFA_DEFAULT_DOMAIN_PASSWORD -usdv... (2 Replies)
Discussion started by: harry00514
2 Replies
LEARN ABOUT SUSE
tracker-miner-fs.cfg
tracker-miner-fs.cfg(5) Configuration Files tracker-miner-fs.cfg(5)
NAME
tracker-miner-fs.cfg - Configuration file for tracker-miner-fs
DESCRIPTION
This file resides in $HOME/.config/tracker/ and uses the common .ini format, i.e.
[Group]
# Comment
Key=Value
SECTIONS
[General]
Verbosity
Log verbosity, 0=errors, 1=minimal, 2=detailed, 3=debug.
InitialSleep=15
Time in seconds before crawling filesystem (0->1000).
[Monitors]
EnableMonitors=true
Set to false to completely disable any monitoring.
ScanTimeout=0
Time in seconds between same events to prevent flooding (0->1000).
CacheTimeout=60
Time in seconds for events to be cached (0->1000).
[Indexing]
Throttle=0
Sets the indexing speed (0->20, where 20=slowest speed).
IndexOnBattery=false
Set to true to index while running on battery.
IndexOnBatteryFirstTime=true
Set to true to index while running on battery for the first time only.
IndexMountedDirectories=true
Set to true to enable traversing mounted directories on other file systems (this excludes removable devices).
IndexRemovableMedia=true
Set to true to enable traversing ALL removable media such as memory cards, CDs, DVDS, etc. Disabling this means that IndexOpticalD-
iscs has no effect and is considered false.
IndexOpticalDiscs=false
Set to true to enable traversing optical discs only, this includes CDs DVDs, etc. IndexRemovableMedia must be true for this option
to have any effect.
LowDiskSpaceLimit=1
Pause indexer when disk space is <= this value (0->100, value is in % of $HOME file system, -1=disable pausing).
IndexRecursiveDirectories=$HOME;
List of directories to crawl recursively for indexing (separator=;).
IndexSingleDirectories=
List of directories to index but not sub-directories for changes (separator=;).
IgnoredDirectories=po;CVS;.svn;.git;core-dumps;
List of directories to NOT crawl for indexing (separator=;).
IgnoredDirectoriesWithContent=backup.metadata;
List of directories to NOT crawl for indexing based on child files (separator=;).
IgnoredFiles=*~;*.o;
List of files to NOT index (separator=;).
SEE ALSO
tracker-miner-fs(1), tracker-extract.cfg(5), tracker-fts.cfg(5), tracker-store.cfg(5).
GNU
September 2009 tracker-miner-fs.cfg(5)