05-22-2017
Thanks Jim . There was a junk character in the script which was causing this issue . This has now been corrected and script has completed successfully. Thanks for your help .
This User Gave Thanks to J1nx007 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to grant the 'write' right to one user so they can delete log files in a given directory. These are http log files, so a new one is created each day. The file owner is 'nobody'. If I use the command 'chmod a=rwx *' will this work for the new files created each day.
I've tried the... (7 Replies)
Discussion started by: Westy564
7 Replies
2. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
3. Shell Programming and Scripting
Hi Guys..
I need a solution for these two questions... Plz help me...
1)How can you load multiple files in a script ?
2)How do you get a process Id for multiple files in a shell script ? (3 Replies)
Discussion started by: mraghunandanan
3 Replies
4. UNIX and Linux Applications
i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies
5. Shell Programming and Scripting
I have the below code for ftping a file
sftp "ogl@serverna,me"ogl@serverna,me <<EOF
cd $path_on_the_server
binary
put $path_on_my_sever/filename.txt
bye
EOF
Not sure is this works.but when i tried its asking for password .How i can avoid asking password and provide it in the... (5 Replies)
Discussion started by: shyamrad
5 Replies
6. Shell Programming and Scripting
HI friends , i am also facing an issue in mysql
i ma trying to insert detail in a variable but not got success
#!/bin/sh
mysql -u<username> -p<password> <dbname> << EOF
DEV=`mysql --skip-column-names <dbname> -e "SELECT timestamp from process_record where id = 1"`
EOF
echo $DEV
ERROR... (3 Replies)
Discussion started by: sanjay833i
3 Replies
7. Shell Programming and Scripting
Hi
I have a requirement where in I need to check 103,104,105 letters in each line and if it equal to MAS then I need to copy the whole line (Till End) to a file.
In case if there are 10 lines, all these lines must be copied to a file.
Can you please help me with script. (1 Reply)
Discussion started by: krishna87
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have a requirement where in I need to check 103,104,105 letters in each line and if it equal to MAS then I need to copy the whole line (Till End) to a file.
In case if there are 10 lines, all these lines must be copied to a file.
Can you please help me with script. (1 Reply)
Discussion started by: krishna87
1 Replies
9. Shell Programming and Scripting
I have written the below query to genrate a telephone.I am passing account number from oracle database.
I am calling 2 scripts which generate the bill
1. bip.sh (it runs in the background)
2.runXitInvoice_PROFORMA_integ
bip.sh generates a number which runXitInvoice_PROFORMA_integ
uses.How... (7 Replies)
Discussion started by: rafa_fed2
7 Replies
10. Shell Programming and Scripting
#!bin/ksh
---------------------------------------------------------------------------------------------
-- Get sequence number from database
---------------------------------------------------------------------------------------------
.os rm... (3 Replies)
Discussion started by: swathi reddy1
3 Replies
LEARN ABOUT DEBIAN
startfluxbox
STARTFLUXBOX(1) Fluxbox Manual STARTFLUXBOX(1)
NAME
startfluxbox - start a fluxbox session
SYNOPSIS
startfluxbox
DESCRIPTION
startfluxbox is a script which runs the file ~/.fluxbox/startup If it doesn't exist it will be generated.
startfluxbox should be started from your ~/.xinitrc if you use startx, or ~/.xsession if you run a display manager, like xdm.
FILES
~/.fluxbox/startup
This file contains all commands that should be executed before fluxbox is started. The initial file contains helpful comments for
beginners. It also starts fluxbox.
EXAMPLES
The default ~/.fluxbox/startup is as follows:
#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "$HOME/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log "$fluxdir/log"
If you need to start applications after fluxbox, you can change the exec fluxbox line above to something like this:
exec fluxbox &
fbpid=$!
sleep 1
{
xsetroot -cursor_name left_ptr -fg white -bg black &
ipager &
gkrellm2 &
} &
wait $fbpid
So xsetroot, ipager, and gkrellm2 will all be started after fluxbox, after giving fluxbox 1 second to startup.
For more details on what else you can do in this script, see sh(1), or the documentation for your shell.
AUTHORS
The author of startfluxbox(1) is Han Boetes <han at fluxbox.org>
This manpage was converted to asciidoc format by Jim Ramsay <i.am at jimramsay.com> for fluxbox-1.1.2
SEE ALSO
fluxbox(1)
AUTHOR
Jim Ramsay <i.am@jimramsay.com>
Author.
startfluxbox.txt 28 October 2011 STARTFLUXBOX(1)