09-14-2005
Try posting your OS and version. The 'ulpview' command you mentioned isn't found on a search.
Also look at pulling the information and using the cut command (or similar) to get the columns you do want.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have created a new printer in the printcab file.
when i use lpc and the status command it says:
LMAPFE20:
printer is on remote host lpt1:
queuing is enabled
printing is enabled
cannot examine spool directory
What ive... (1 Reply)
Discussion started by: JuergenW
1 Replies
2. UNIX for Dummies Questions & Answers
hi every body,
is there any possibles to spool the commads with output(like oracle spool file) (1 Reply)
Discussion started by: kskumar
1 Replies
3. Shell Programming and Scripting
Hi everyone
I'm new in this forum, I have a question:
I have a script with many sql staments and I have the spool command at the beginning and the 'spool off' at the end of the script. But, I want to write after each sql stament to a log file not at the end. How can I do it?
Thanks (0 Replies)
Discussion started by: edzela
0 Replies
4. Solaris
hi all,
I have unix box
I install 2 zone on it
I want to make spool directory and assign one to each zone
How can I do that ? (5 Replies)
Discussion started by: coxmanchester
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Can you please help me how to spool the unix commands executed in my client and its output to a file in local machine.
Basically, I want to save all OS commands executed in my session and its output into a file from my client something like we do oracle with "SPOOL".
Thanks in advance.... (2 Replies)
Discussion started by: pointers
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I use SunOS and i connect to database via isql. When tried using SPOOL command to extract the report from database, system thrown me saying "Spoool command not found".
Please advise. (3 Replies)
Discussion started by: kusathy
3 Replies
7. Shell Programming and Scripting
Hi Friends,
I am trying to spool the data from Teradata. The rpoblem which i am facing is , the coulmn data is appended with ".(dot)" for some coulmns. Please find the below data :
data i want in file :
1|BANG|KINR|3456
2|KIBNJ|UIE|6347
3|JEEM|Y34E|3874
data which is spooling... (6 Replies)
Discussion started by: i150371485
6 Replies
8. Shell Programming and Scripting
I am using a unix shell script to create and then FTP the file to a mainframe application.
The unix script uses spool to extract data from a Oracle database. The data is extracted into a text file.
The text file is having all the data I need but not in the correct format. The rows of... (1 Reply)
Discussion started by: rameez
1 Replies
9. Solaris
Hi guys .
I have a solaris machine serving as a DNS server for my environment. Everytime I go into /var/spool/mqueue , there are an aweful lot of emails with names likes:
qfqB6ChrpL006644.
When I cat the file , I get the following output:
H??Received: from machine.domain.com... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
10. Solaris
Hello all
Currently I am working in a live production environment with 100+ Solaris servers . The environment has one DNS server and one SMTP server.
The problem that I am facing since the past 2 months is that the /var/spool/mqueue on my DNS server keeps getting full i.e. mails with name... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
CUT(1) BSD General Commands Manual CUT(1)
NAME
cut -- select portions of each line of a file
SYNOPSIS
cut -b list [-n] [file ...]
cut -c list [file ...]
cut -f list [-d delim] [-s] [file ...]
DESCRIPTION
The cut utility selects portions of each line (as specified by list) from each file and writes them to the standard output. If the file
argument is a single dash ('-') or no file arguments were specified, lines are read from the standard input. The items specified by list can
be in terms of column position or in terms of fields delimited by a special character. Column numbering starts from 1.
list is a comma or whitespace separated set of increasing numbers and/or number ranges. Number ranges consist of a number, a dash (-), and a
second number and select the fields or columns from the first number to the second, inclusive. Numbers or number ranges may be preceded by a
dash, which selects all fields or columns from 1 to the first number. Numbers or number ranges may be followed by a dash, which selects all
fields or columns from the last number to the end of the line. Numbers and number ranges may be repeated, overlapping, and in any order. It
is not an error to select fields or columns not present in the input line.
The options are as follows:
-b list The list specifies byte positions.
-c list The list specifies character positions.
-d string Use the first character of string as the field delimiter character. The default is the <TAB> character.
-f list The list specifies fields, separated by the field delimiter character. The selected fields are output, separated by the field
delimiter character.
-n Do not split multi-byte characters.
-s Suppresses lines with no field delimiter characters. Unless specified, lines with no delimiters are passed through unmodified.
EXIT STATUS
cut exits 0 on success, 1 if an error occurred.
SEE ALSO
paste(1)
STANDARDS
The cut utility conforms to IEEE Std 1003.2-1992 (``POSIX.2'').
BSD
December 21, 2008 BSD