Sponsored Content
Top Forums Shell Programming and Scripting Shell script to manipulate a message count for the same IP @ diff session Post 302200156 by Franklin52 on Wednesday 28th of May 2008 03:13:31 PM
Old 05-28-2008
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

session timeout for shell script

I am executing test.sh script. But this script takes lot of time and in the meantime the shell timeouts without completing the script. Is there any command which will continue processing the script. Thanks (3 Replies)
Discussion started by: infyanurag
3 Replies

2. Shell Programming and Scripting

Shell script using Diff

Hello - I have a small diff script that checks 2 directories. It reports the difference in count such as wc -l, and also names the different files. How should I get "ERROR: diff found . (host)" - when it actually finds a diff? This is how I have written: #!/bin/bash ... (10 Replies)
Discussion started by: DallasT
10 Replies

3. Shell Programming and Scripting

Shell script to manipulate a file

Hello, I have a file with following contents : WSL SRVGRP=LISTENER SRVID=2 CLOPT="-A -t -- -n 0x0002aa050a03cc65 " RQPERM=0660 REPLYQ=Y RPPERM=0660 MIN=1 MAX=1 CONV=N I need to print only the value in Hex i.e.... (2 Replies)
Discussion started by: deo_kaustubh
2 Replies

4. Shell Programming and Scripting

Time Diff in shell script

Hi all , i am trying to calculate time difference btw the script execution I am using solaris start_time=`date +%s` sleep 2 end_time=`date +%s` duration=`expr $end_time - $start_time` when i try to subtract i get the error line 13: %s - -time : syntax error: operand expected... (3 Replies)
Discussion started by: posner
3 Replies

5. Shell Programming and Scripting

Manipulate string in shell script

I am writing a shell script for some purpose. I have a variable of the form -- var1 = "policy=set policy" Now I need to manipulate the variable var to get the string after index =. that is i should have "set polcy". Also I need to to this for many other variables where the value of "=" is not... (3 Replies)
Discussion started by: Dev_Sharma987
3 Replies

6. UNIX for Dummies Questions & Answers

Diff between calling a shell script with ./ and . ./

Hi ALL I have a shell script named setUP in which i am sourcing one variable like source var_name="CLASSPATH". When i call it as ./setUP, it does not set the var_name variable. But when i call it like . ./setUP then var_name is set up. What is the difference between this two calls? ... (1 Reply)
Discussion started by: SasDutta
1 Replies

7. UNIX for Dummies Questions & Answers

script help shell session times out

while read s1 ; do url= suf=ignore=.csv; wget $url$s1$suf; sleep 5; cat /home/joey/public_html/charts/program/fn\charts/data/tickers/header.txt > $s1.txt; chmod 777 $s1.txt; sed '1d' table.csv?s\=$s1 >> /home/joey/public_html/charts/program/charts/data/tickers/$s1.txt; rm -Rf... (0 Replies)
Discussion started by: harte
0 Replies

8. Shell Programming and Scripting

serach diff filename in diff location using shell scripting

Hi, I am new to shell scripting. please help me to find out the solution. I need a script where we need to read the text file(consists of all file names) and get the file names one by one and append the date suffix for each file name as 'yyyymmdd' . Then search each file if exists... (1 Reply)
Discussion started by: Lucky123
1 Replies

9. OS X (Apple)

Manipulate terminal session background color

Greetings, I know I can manipulate from AppleScript to terminal.app or just run commands from apple script. But what about from a BASH Script. when A user logs in and runs a maintenance utility I have written for them, I want to modify their background color and text color. example; ... (4 Replies)
Discussion started by: doctorfoo1
4 Replies

10. UNIX for Advanced & Expert Users

Shell script to manipulate files

My requirement is explained below: list of files available in server 1 in path /home/xxx/src are: XX_SRC_20130417.txt XX_SRC_20130417.dat $cat XX_SRC_20130417.txt col1=ABC col2= col3=xyza sequence file name is maintained which is in the path /ab_app/xx/seq $cd /ab_app/xx/seq$cat... (0 Replies)
Discussion started by: vedanta
0 Replies
FVWM-THEMES-START(1)					      General Commands Manual					      FVWM-THEMES-START(1)

NAME
fvwm-themes-start - FVWM Themes starter SYNOPSIS
fvwm-themes-start [ --session|-s name ] [ --no-start|-n ] [ --fvwm-exe|-e ] [ -- fvwm-args ] DESCRIPTION
This script runs fvwm with FVWM Themes. It should be run under X. Put a call to this script as the last line of your .Xclients, .xinitrc or .xsession file. OPTIONS
--session name - name of the FVWM Themes session. By default it is "main". This allows to have and run different FVWM Themes configuration. --no-start - do not start fvwm, just do preparation for starting it. This is useful to start FVWM Themes with a session manager, see FAQ. --fvwm-exe - changes the default executable, which is fvwm or whatever fvwm-config --fvwm-exe returns. -- everything after -- is passed to FVWM. See the fvwm(1) man page for the fvwm options. EXAMPLES
Most users just should put: fvwm-themes-start as the last line of their .Xclients, .xinitrc or .xsession file. If you want to use FVWM Themes with a real session manager, say GNOME, you need to use the --no-start option and put: fvwm-themes-start --no-start gnome-session as the last lines of your .Xclients, .xinitrc or .xsession file. The session option allows to use FVWM Themes with different configura- tions. Say, you want to use 3 different configurations under a normal FVWM session when FOO test is false, under gnome-session and under a normal FVWM session when FOO test is true. Then, your .xinitrc/.xsession file may look as follows (where $1 is the "first" argument given by startx, or by kdm or gdm ...): ... case $1 in fvwm) if FOO; Then fvwm-themes-start --session special else fvwm-themes-start fi ;; gnome) fvwm-themes-start --session gnome --no-start gnome-session ;; ... other cases ... esac Note that with most session managers (e.g., GNOME or XSM) it is preferable to give "fvwm -f themes-rc" as the starting window manager com- mand in the session manager. COPYING
The script is distributed by the same terms as fvwm-themes itself. See GNU General Public License for details. BUGS
Report bugs to fvwm-themes-devel@lists.sourceforge.net. Fvwm Utility 15/Aug/2000 FVWM-THEMES-START(1)
All times are GMT -4. The time now is 04:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy