Use only one of the cp lines. Using the first, you need a directory for each user, using the second, the user's logname is appended to the file name.
If you are using RM cobol, there is a config file that contains the relationship between lpx and the actual queue/destination name.
hello
have a file1
H87I
Y788O
T347U
J23U
and
file2 J23U U887Y I99U T556U
file3 I99O J99T F557J
file4 N99I T666U R55Y
file5 H87I T347U
file6 H77U R556Y E44T
file7 Y788O K98U H8I
May be using script we can use file1 to search for all the files
and have the output
H87I file5... (3 Replies)
Need shell script to read two file at same time and print output in single file
Example I have two files 1) file1.txt 2) file2.txt
File1.txt contains
Aaa
Bbb
Ccc
Ddd
Eee
Fff
File2.txt contains
Zzz
Yyy
Xxx (10 Replies)
using OS X and the Terminal, I'd like to find all locked files in a specified directory, unlock them, and print a list of those files that were unlocked
how can I do this?
I'm familiar with chflags nouchg for unlocking one file but not familiar with unix enough to do what I'd like.
Thanks! (0 Replies)
I'm trying to clean up my samba share and need to print the found file or print the path of the image it tried to searched for. So far I have this but can't seem to get the logic right. Can anyone help point me in the right direction?
for FILE in `cat list`; do
if ;
then
... (1 Reply)
Hi,
I have two files. 1st file has 1 column (huge file containing ~19200000 lines) and 2nd file has 2 columns (small file containing ~6000 lines).
#################################
huge_file.txt
a
a
ab
b
##################################
small_file.txt
a 1.5
b 2.5
ab ... (4 Replies)
Hi,
I have to print a excel file in solaris server. I am using lexmark printer with post script printer driver . But the problem is when i am using " lp -d <printer name> <somefile name.xls>" command it is not printing correctly. but for pdf file using the same command it printing correctly.
... (2 Replies)
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (1 Reply)
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (4 Replies)
I have files named with different prefixes. From each I want to extract the first line containing a specific string, and then print that line along with the prefix.
I've tried to do this with a while loop, but instead of printing the prefix I print the first line of the file twice.
Files:... (3 Replies)
Discussion started by: pathunkathunk
3 Replies
LEARN ABOUT PLAN9
fetchfile
SENDFILE(1) General Commands Manual SENDFILE(1)NAME
fetchfile - fetch file(s) via O-SAFT protocol
SYNOPSIS
fetchfile [ -46lakdPriqQvVI ] [ -f user ] [ -s [user@]server ] [ -C[wr]=conffile ] filename
fetchfile [ -lakdPriqQvVI ] [ -f user ] [ -s [user@]server ] [ -C[wr]=conffile ] -n filenumber
DESCRIPTION
fetchfile fetches files from a SAFT server to the local user spool.
In the SAFT server spool there must lay your sendfile public key to identify yourself. This key can be generated by the fetchfile -I com-
mand and has to be transfered to the SAFT server at the very first time. This prevents other people to steal your files.
You may list or fetch your files from the server. But remember, they are stored first in your local sendfile spool. You have to call
receive to really receive them to your current directory.
OPTIONS -4, -6 Explicitly force IPv4 or IPv6 connections. By default, the program will try to resolve the name given, and choose the appropriate
protocol automatically. If resolving a host name returns both IPv4 and IPv6 addresses, fetchfile will try to use the adresses in
the order they are returned by the resolver.
-l Only list the files on the server.
-a Fetch all files.
-k Keep files on server after fetching.
-d Delete files without receiving.
-n Specify the file number instead of the file name.
-r Call receive automaticly afterwards.
-f user Restrict file selection to this specifc user.
-V Show version information and exit.
-v Be verbose and show SAFT protocol messages.
-P Send files to stdout directly.
-i Ignore testing whether file has been already fetched.
-q Quiet mode 1: print no transfer messages.
-Q Quiet mode 2: print no transfer, information or warning messages.
-I Initialize fetchfile and the pgp key pair.
-s [user@]host
Specify an alternate saft server and/or alternate user.
-Cr=conffile
Read configuration file "config" or "restrictions" from server.
-Cw=conffile
Write configuration file "config" or "restrictions" to server.
ARGUMENTS
filename or filenumber
Specify the name of the file or its number (with option -n).
EXAMPLES
fetchfile -l
fetchfile -a
fetchfile -Cr=config -s saft.belwue.de
FILES
/var/spool/sendfile/$USER/
Your local spool directory.
$HOME/.sfspool/
Your local private spool directory if /var/spool/sendfile/$USER/ does not exist.
config, restrictions
Your configuration files for the server. See sendfile(1) for a description.
SEE ALSO receive(1), sendfile(1), fetchfile(7), sendfiled(8).
AUTHOR
Ulli Horlacher - framstag@rus.uni-stuttgart.de
3rd Berkeley DistributionSENDFILE(1)