10 More Discussions You Might Find Interesting
1. Solaris
Is this even possible?
Its a request for external auditors to login remotely. (5 Replies)
Discussion started by: psychocandy
5 Replies
2. Shell Programming and Scripting
Hello,
I heva a problem creating a script that read specifc value from all the files of an entire folder
I have a number of email files into a directory and i need to extrect from each file 2 specific values.
After that i have to put them into a new file that looks like that:
To: value1
... (1 Reply)
Discussion started by: ahmenty
1 Replies
3. Shell Programming and Scripting
I've got a file that looks like this (spaces before first entries intentional):
12345650-000005000GL140227 ANNUAL HELC FEE EN
22345650-000005000GL140227 ANNUAL HELC FEE EN
32345650-000005000GL140227 ANNUAL HELC FEE EN
I want to read through the file line by line,... (6 Replies)
Discussion started by: Scottie1954
6 Replies
4. Shell Programming and Scripting
Hi All,
I am trying to redirect output for every line in a korn shell script that is going to generate output and append it to a log file.
I have been doing this after EACH and every line that is going to produce output:
command 1 >> test.log
command 2 >> test.log
command 3 >>... (5 Replies)
Discussion started by: MIA651
5 Replies
5. Shell Programming and Scripting
Hi All,
I have a file, let's call it "info.tmp" that contains data like this ..
ABC123456
PCX333445
BCD789833
I need to read "info.tmp" and for each line add strings in a way that the final output is
put /logs/ua/dummy.trigger 'AAA00001.FTP.XXX.BLA03A01.xxxxxx(+1)'
where XXX... (5 Replies)
Discussion started by: Andy_ARG
5 Replies
6. Shell Programming and Scripting
Guys,
I am trying to read the whole file using while loop but when i run the ssh part of the script it reads only the first line and exit after that.
There are in total 134 lines in the file, but when the output is redirected, it does only for one line and comes to command prompt.
pls help..... (11 Replies)
Discussion started by: sdosanjh
11 Replies
7. UNIX for Dummies Questions & Answers
Hi
i need a script which reads a certain file and then display it on the screen.
The thing is i need to filter the display output.
this is an example of the file which is to be loaded in the script.
asdfg1.1.1|98
hjkldfe4.0.3|123
asdzxzvdweradfsdafascv10.0.10|123456789... (1 Reply)
Discussion started by: khestoi
1 Replies
8. UNIX for Advanced & Expert Users
Actually I want to display the entire output fired by ps command. My output gets trucated after 80 chars.
Thus, i am not able to see the entire command running when i give a ps -eaf ....
Does anyone know how do i display the entire output fired by ps command .. (i.e the command along with... (5 Replies)
Discussion started by: vinithepoo
5 Replies
9. Shell Programming and Scripting
hi,
I have a baby.txt file with two type of message:
xxxxxxxx is missing
xxxxxxxxxxx is not missing
xxxx is missing
xxxxxxxx is not missing
xxxxxxxx is not missing
For the above, I need to read file and get all "xxxx is missing" and write into baby_missing.txt. If no message "xxxxx is... (12 Replies)
Discussion started by: happyv
12 Replies
10. Shell Programming and Scripting
Hello all,
I need to run snoop command for a period of time (a day) and extract remote host column from it to find out who is accessing my server. When I run the following on the command line it works
snoop -port 22 | awk '{print $3}'
but when I do
snoop -port 22 | awk '{print $3}' | while... (2 Replies)
Discussion started by: afadaghi
2 Replies
XFMMAILCAP(1) XFM XFMMAILCAP(1)
NAME
xfmmailcap - show mailcap information as parsed by xfm
SYNOPSIS
xfmmailcap --help
xfmmailcap mime-type [(default|all|edit|view) [filename]]
DESCRIPTION
xfmmailcap parses the xfm(1)'s mailcap file (see xfm_mailcap(5) for its format) and prints information about what command xfm would use
when told to open a file of the given mime-type.
If there is no second argument, the default it default.
If there is a third argument, xfmmailcap will insert this filename into the action. (This is not yet implemented)
ACTIONS
all
Show all information collected about this mime-type.
default
Show the action xfm(1) would start when confronted with this action, together with all debug output xfm would show when the echoMimeSearch
resource represents True. It first tries everything the edit action would show and if nothing is found there, then it tries the view
action.
edit
Find the best (in the sense of highest priority) command to edit this mime type.
view
Find the best (in the sense of highest priority) command to view this mime type. (There is yet no way to trigger that from within xfm).
CAVEAT
xfmmailcap has the paths $HOME/.xfm/xfm_mailcap and /etc/X11/xfm/xfm_mailcap built in statically. This differs from xfm(1), where all of
these can be changed by means of X resources.
FILES
$HOME/.xfm/xfm_mailcap
If this file exists, it is read and its content used as mailcap database. See xfm_mailcap(5) for its format.
/etc/X11/xfm/xfm_mailcap
If the previous file is not found, this one is used instead. Same format.
SEE ALSO
xfm(1), xfm_mailcap(5).
COPYRIGHT
Copyright (C) 2006 Bernhard R. Link
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
xfm 20 April, 2006 XFMMAILCAP(1)