03-21-2012
For convenience, post the long list info.
Last edited by satish51392111; 03-21-2012 at 11:39 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
if test -z "$1"
then echo "you must give a filename or filepath"
else path=`dirname $1`
f_name =`basename $1`
if path="."
then path=`pwd`
fi
fi
cat $f_name $path >> index.txt
The only problem I am encountering with this is writing $path to index.txt
Keeps going gaga:
cat:... (1 Reply)
Discussion started by: Vintage_hegoog
1 Replies
2. UNIX for Advanced & Expert Users
I need to convert a password protected excel file which will be in UNIX server to a comma separated file. For this I need to open the excel file in UNIX box but the UNIX box doesn't prompt for password instead it is opened in an encrypted manner.
I could manually ftp the excel file to local... (2 Replies)
Discussion started by: Devivish
2 Replies
3. UNIX for Advanced & Expert Users
Dear Guru's,
I am being facing strange issue in UNIX.
My user name is shah and one more user name is appstest
I have a directory created by appstest user i.e.
/home/appstest/work
ls -ld /home/appstest/work
drwxrwxr-x 10 appstest apps 12288 Aug 06 23:41 /home/appstest/work
Now I... (1 Reply)
Discussion started by: shahnazurs
1 Replies
4. Shell Programming and Scripting
I have a very big log file which looks like this:
I need to split this file and create files with "+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+" as the delimiter.
The file names need to be the contents of the next line after the delimiter(FIRST_ITEM,SECOND_ITEM...so on..). (7 Replies)
Discussion started by: engineer
7 Replies
5. Shell Programming and Scripting
Hi all...
I have a text file which i want to move to some remote directory...
when i use command prompt to ftp that textfile,.. after ftp if i check the file by using vi i can see many ^M with the starting and end of each line...
instead if i use grab and drop method to copy that... (5 Replies)
Discussion started by: smarty86
5 Replies
6. Shell Programming and Scripting
Hi Guys,
I am having a file which does not have any name when i do a ls -l
-rw-r--r-- 1 dctrdat1 dctrdata 35 Feb 09 08:04
-rw-r--r-- 1 dctrdat1 dctrdata 11961 Feb 08 06:40 DAI_data.txt
Now i want to see what is inside that file. Can you please let me know how to read... (9 Replies)
Discussion started by: mac4rfree
9 Replies
7. Shell Programming and Scripting
Hi,
I am in trouble ... again :wall:
I formating a log file as .txt from Unix (solaris 9) and then I compress it with gzip and I use uuencode and send it in an email.
gzip -c ${fic_report} | uuencode Report_File.gz > ${attachment_file}
my problem is when I received the mail with the... (6 Replies)
Discussion started by: Aswex
6 Replies
8. Shell Programming and Scripting
Hi,
I would like to ask if someone know how to test a files if exist the file is a nfs mount ufsdump archive file..
i used the test operator -f -a h almost all test operator but i failed
file1=ufs_root_image.dump
|| echo "files doesn't exist && exit 1
the false file1 is working but... (0 Replies)
Discussion started by: jao_madn
0 Replies
9. Shell Programming and Scripting
Dear All,
this is my first post on this Forum, glad to be here.
I'm trying to fix an .ods file. Yes, I had a backup, but it's also corrupted.
When opening the document I get this EM:
read error
format error discovered in the file in sub-document content.xml at
2,337040(row,col).
So I... (3 Replies)
Discussion started by: jameslast
3 Replies
10. Shell Programming and Scripting
To convert file epcdic to ascill format,i am using below code.Getting some junk characters in output file.not sure what the issue is.Please correct if below command is wrong.
DD conv=ascii if=filename of =output_filename. (2 Replies)
Discussion started by: srivalli
2 Replies
LEARN ABOUT PHP
cups-files.conf
cups-files.conf(5) Apple Inc. cups-files.conf(5)
NAME
cups-files.conf - file and directory configuration file for cups
DESCRIPTION
The cups-file.conf file configures the files and directories used by the CUPS scheduler, cupsd(8). It is normally located in the /etc/cups
directory.
Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
DIRECTIVES
The following directives are understood by cupsd(8). Consult the on-line help for detailed descriptions:
AccessLog filename
AccessLog syslog
Defines the access log filename.
ConfigFilePerm mode
Specifies the permissions for all configuration files that the scheduler writes.
DataDir path
Specified the directory where data files can be found.
DocumentRoot directory
Specifies the root directory for the internal web server documents.
ErrorLog filename
ErrorLog syslog
Specifies the error log filename.
FatalErrors none
FatalErrors all -kind [... -kind]
FatalErrors kind [... kind]
Specifies which errors are fatal, causing the scheduler to exit. "Kind" is "browse", "config", "listen", "log", or "permissions".
FileDevice Yes
FileDevice No
Specifies whether the file pseudo-device can be used for new printer queues.
FontPath directory[:directory:...]
Specifies the search path for fonts.
Group group-name-or-number
Specifies the group name or ID that will be used when executing external programs.
LogFilePerm mode
Specifies the permissions for all log files that the scheduler writes.
PageLog filename
PageLog syslog
Specifies the page log filename.
Printcap
Printcap filename
Specifies the filename for a printcap file that is updated automatically with a list of available printers (needed for legacy applica-
tions); specifying Printcap with no filename disables printcap generation.
RemoteRoot user-name
Specifies the username that is associated with unauthenticated root accesses.
RequestRoot directory
Specifies the directory to store print jobs and other HTTP request data.
ServerBin directory
Specifies the directory where backends, CGIs, daemons, and filters may be found.
ServerCertificate filename
Specifies the encryption certificate to use.
ServerKey filename
Specifies the encryption key to use.
ServerRoot directory
Specifies the directory where the server configuration files can be found.
SystemGroup group-name [group-name ...]
Specifies the group(s) to use for System class authentication.
TempDir directory
Specifies the directory where temporary files are stored.
User user-name
Specifies the user name or ID that is used when running external programs.
SEE ALSO
classes.conf(5), cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5), printers.conf(5), subscriptions.conf(5),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2012 by Apple Inc.
19 November 2012 CUPS cups-files.conf(5)