9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
#!/bin/sh
sqlplus -s "/ as sysdba" << EOF
SET HEADING OFF
SET FEEDBACK OFF
Select
pt.user_concurrent_program_name , OUTFILE_NAME
FROm
apps.fnd_concurrent_programs_tl pt,
apps.fnd_concurrent_requests f
where
pt.concurrent_program_id = f.concurrent_program_id
and pt.application_id =... (1 Reply)
Discussion started by: usman_oracle
1 Replies
2. Shell Programming and Scripting
Hi,
I require help to complete below requirement through Linux Script.
I have a SQL query which shows two columns as output. One is Report Name and other is report path. Query return multiple rows. below is the output.
Report Name
Cotton Stock Report (Net Weight)- Customized
Output... (3 Replies)
Discussion started by: usman_oracle
3 Replies
3. Shell Programming and Scripting
Is better way to write the script loop through one by one "Old_File_1: & New_File_1:" to copy 100 files to /staging/test folder then re-name & gzip all those files? I wrote this code below and don't like that much. Thanks
I have a control_file under /tmp/test folder like below 100 files and... (10 Replies)
Discussion started by: dotran
10 Replies
4. Shell Programming and Scripting
I need to pull down a good bit of files for another support team for an upgrade project. I have a server.list with all of the server names.
I need to do two parts:
FIRST:
I have this example, but it does not list the server name in front of each line.
#! /bin/bash
for server in $(<... (10 Replies)
Discussion started by: asnatlas
10 Replies
5. Shell Programming and Scripting
How can i rename list of files in a directory? (4 Replies)
Discussion started by: knip
4 Replies
6. Shell Programming and Scripting
Hi All,
I am new to scripting and am looking for some assistance setting up a script. Basically I need the script to scan a folder for the newest files and make a copy of those files, adding a month to the date stamp. I also need this script to delete the previously copied files to save space.... (4 Replies)
Discussion started by: Lucid13
4 Replies
7. Shell Programming and Scripting
hello,
I am write a Script and i would listing all Files from Path1 out with DSR*.txt and give a new name an copy to the Path2.
I have problems with that to rename. Someone can help me?
Sorry, for my english. My english is not gut.
I hope you understand my.
That is my Script.
... (2 Replies)
Discussion started by: efeijoo
2 Replies
8. Shell Programming and Scripting
hello, I need to build a shell script that receives the folder to copy by parameter and copy all files except thumb.db to another folder and rename them like, file.jpg renamed to file_bb1.jpg.
can someone help me
Thanks (4 Replies)
Discussion started by: zeker
4 Replies
9. UNIX for Dummies Questions & Answers
I have few webservers logs like access.log. which would be growing everyday.
what i do everyday is, take the backup of access.log as access.log_(currentdate) and nullify the access.log.
So thought of writing a script... but stuck up in middle.
My requirement: to take the backup and nullify... (6 Replies)
Discussion started by: logic0
6 Replies
uucp(1c) uucp(1c)
Name
uucp, uulog, uuname - unix to unix copy
Syntax
uucp [option...] source-file... destination-file
uulog [option...]
uuname [option...]
Description
The command copies files named by the source-file arguments to the destination-file argument. A file name either may be a path name on
your machine or may have the form
system-name!pathname
where `system-name' is taken from a list of system names which knows about. Shell metacharacters ?*[] appearing in the pathname part will
be expanded on the appropriate system.
Pathnames may be a full pathname, a pathname preceded by ~user, where user is a userid on the specified system and is replaced by that
user's login directory, or anything else prefixed by the current directory.
If the result is an erroneous pathname for the remote system, the copy will fail. If the destination-file is a directory, the last part of
the source-file name is used. If a simple ~user destination is inaccessible to data is copied to a spool directory and the user is noti-
fied by
The command preserves execute permissions across the transmission and gives 0666 read and write permissions. For further information, see
Options
The following options are interpreted by
-d Creates all necessary directories for the file copy.
-c Uses the source file when copying out rather than copying the file to the spool directory.
-m Sends you mail when the copy is complete.
-nrec
Sends mail to the recipient.
-W Expands only local files. Normally files names are prepended with the current working directory if a full path is not specified. The
-W tells to expand local files only.
The command prints a summary of and transactions that were recorded in the file
The options cause to print logging information:
-ssys
Displays information about work involving specified system.
-uuser
Displays information about work involving specified user.
The command lists the uucp names of known systems.
-l Lists local system name.
Warnings
The domain of remotely accessible files can (and for obvious security reasons, usually should) be severely restricted. You will very
likely not be able to fetch files by pathname. Ask a responsible person on the remote system to send them to you. For the same reasons,
you will probably not be able to send files to arbitrary pathnames.
Restrictions
All files received by will be owned by uucp.
The -m option will only work sending files or receiving a single file. (Receiving multiple files specified by special shell characters
?*[] will not activate the -m option.)
Files
/usr/spool/uucp - spool directory
/usr/lib/uucp/* - other data and program files
/etc/acucap - shared autodial modem database
See Also
mail(1), uux(1c), acucap(5)
"Uucp Implementation Description," ULTRIX Supplementary Documentation, Vol. III:System Manager
uucp(1c)