Hi,
Actually I have a file which consists data . for eg names.
Then I want my sql query to read this file and produce the output.
Currently I am using this
FOR EG : FILENAME is NAMES
for i in `cat NAMES`
{
sqlplus -s $CONNECTID << EOF
spool rooh
set heading off
select... (1 Reply)
Hi
I have around 100 users in sun server and have default home directory in /usr/home/<username>
I want to clean their home directory time to time to make free space on root, as users generate many output files during usage of application.
My idea is, generate a file with following command... (4 Replies)
Hi,
I have to write a KSH script to loop through the directory and transfer all the files through FTP. The source machine is the Network shared drive and the files in the directory needs to be FTPied to the UNIX server.
For eg. Directory (Datasource)
+ Directory1
... (6 Replies)
I run into a issue when I try to do sorting of the following with ascending order, one round of for looping seems not working, anyone knows how to use shell or perl?
$array = (5,0,3,2,7,9,8) (2 Replies)
Hello, where can I get usefull information on the use of looping with for , if and while with extensive examples.
Also use of variables in scripts (1 Reply)
Hi everyone,
I am having trouble looping through entries in a file. The file several entries that are separated by topics e.g.
<Topic r:id="Top/World/Français">
</Topic>
<Topic r:id="Top/World/Français/Actualité">
</Topic>
<Topic r:id="Top/World/Français/Actualité/A_la_Une">
<link... (1 Reply)
Hi,
Now I have written a script which sorts the records in the file and splits them according to some condition.
Now, I need to modify the script so that it reads all the files one after the other and does the sorting & splitting.
Pls help me in reading all the files in a directory and... (8 Replies)
Hi evryone
i need a help .
i have a file xcv.the content is :
accelerate
i want a script which will run 1000 times in loop and changing the value to
accelerate to
acceler
in 1st loop and in 2nd loop it will be again
accelerate and so on . (6 Replies)
so when i use rm file -i vv bb i can delete the first file vv but i cant seem to delete the second file bb as i tried to use shift on it, but it seems that it delete the first one and stops it without looping it to the next file. what is wrong with my coding ?
#!/bin/bash
function... (3 Replies)
Hey guys, so I am trying to do a loop script that will go through each folder (no gui so just each domain has a folder) and grab out the databases being used on that domain. I know I would use
mysql -e "show databases where not 'information_schema';" once in each directory to pull the actual... (3 Replies)
Discussion started by: dough
3 Replies
LEARN ABOUT CENTOS
smpppd-ifcfg
SMPPPD-IFCFG(8) SMPPPD SMPPPD-IFCFG(8)NAME
smpppd-ifcfg - SuSE Meta PPP Daemon
DESCRIPTION
smpppd-ifcfg is a daemon that controls a single dialup connection to the internet. It does so by starting and controlling the pppd. The
configuration of the dialup connections is done by YaST2.
smpppd-ifcfg is not intended for direct use. Use ifup and ifdown or a frontend like cinternet , qinternet or kinternet instead.
OPTIONS
These options are recognized by smpppd-ifcfg. If a long option shows an argument as mandatory, then it is mandatory for the equivalent
short option also.
--up Bring the connection up. This is the default action.
--down Bring the connection down.
--status
Report status of the connection.
-i, --ifcfg=NAME
Specify the ifcfg file to use. This option is mandatory.
-p, --provider=NAME
Specify the provider file to use.
--detach
Detach from the controlling terminal. This is the default.
--nodeatch
Don't detach from the controlling terminal.
-d, --debug
Turn on debugging.
--version
Show program version and exit.
--help Show help information and exit.
FILES
/etc/sysconfig/network/ifcfg-*
Configuration files for the interfaces.
/etc/sysconfig/network/providers/*
Configuration files for the providers.
/var/log/smpppd/ifcfg-xxx.log
Log file.
/var/log/smpppd/accounting.log
File containing accounting information.
/var/run/smpppd.ifcfg-xxx.pid
Pid file.
/var/lib/smpppd/ifcfg-xxx.info
Info file with various status information.
/var/run/smpppd/ifcfg-xxx
Socket to communicate with smpppd.
SEE ALSO
kinternet, qinternet, cinternet(1), accounting(1), wvdial(1), smpppd.conf(5), pppd(8), smpppd(8).
AUTHOR
Arvin Schnell <arvin@suse.de>
SuSE December 2002 SMPPPD-IFCFG(8)