10-02-2008
You posted in the HP-UX forum, but mention Red Hat in your posting. Are you using Linux or HP-UX? On Linux in the Bash shell arrow keys usually work just fine, unless your admin made local changes to switch the shell's keybindings to vi mode or something. Possibly if you get garbage when you press the arrow keys, the shell thinks you are on a different terminal type than what you really are; they send different arrow key codes. What does echo $TERM display for you?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
When I run a command on any shell, many times the output is longer than the screen can hold, so I only can see parts of the output. Is there a command that will show me page by page the results of each command?
Thanks, Jared (3 Replies)
Discussion started by: JaredsNew
3 Replies
2. UNIX for Dummies Questions & Answers
Is there a command that will show me all ports being used?
I thought maybe the "lsof" command would show me, but I'm not seeing anything.
Thanks,
Jeff (2 Replies)
Discussion started by: lawadm1
2 Replies
3. UNIX for Dummies Questions & Answers
For examples, I have typed 4 commands in the command prompt:
ls -la
rm -rf /home/user1
du -k /home
find . -name "abc.out" -print
And now I want to retrieve the command which begin with letter "r" (i.e. rm -rf /home/user1), what can I do? (5 Replies)
Discussion started by: laum
5 Replies
4. UNIX for Advanced & Expert Users
i am not able to recall the command typed earlier in unix whenever i press esc key ^[ comes on the unix prompt . so esc k isnt working for me
whenever i press backspace key i get ^H on my unix cursor
need help (1 Reply)
Discussion started by: murli1200
1 Replies
5. Shell Programming and Scripting
hi
I want to know how to save all the command used by all the used under a particular root with the time stamp in a file.
Eg:
User Name: UX10
Time: 10:56
Command: LS
User Name: UX23
Time: 10:59
Command: MORE abc.txt
Please do help.
thanks and regards
-Anand (1 Reply)
Discussion started by: anandtharani
1 Replies
6. Solaris
I use command
#lscfg -v
in AIX system and it gives the detail of the hardware of the system.
what is the similar command to view the detail of the hardware of the system in SUN-Solaris (3 Replies)
Discussion started by: pchangba1
3 Replies
7. Shell Programming and Scripting
Hi,
Can you help me in providing me a command to view all files present in a directory.
Thanks a lot.
-Vamsi (1 Reply)
Discussion started by: VamsiVasili
1 Replies
8. AIX
When I use "/" to look for a particular command that I typed in the current session it says
D02:-/home/user1/temp> /job
ksh: /job: not found.
D02:-/home/user1/temp>
previously it used to fetch all the commands which had job in it..
for example subjob, endjob, joblist etc...
may I... (7 Replies)
Discussion started by: meetzap
7 Replies
9. UNIX for Dummies Questions & Answers
Hi,
One of our users has loads of jobs scheduled. When I do at -l I get a long list of tasks which end in .a
Is there anyway I can view what these commands will do? Also, What's the relationship between the 'at' function and the crontab? I can't see any entries in crontab....Cheers (4 Replies)
Discussion started by: Grueben
4 Replies
10. SCO
Hi everyone, i used to know the command to show current CPU usage but i cannot remember it. It was not "Top". Openserver 6. (4 Replies)
Discussion started by: Paulbas
4 Replies
LEARN ABOUT DEBIAN
xfmmailcap
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)