11-17-2009
Using history of commands to save typing?
Hi,
How do I add a history function to my shell? What I mean is if I have used the command: xemacs file.tex, I'd like to be able to type 'x' then use the arrow keys and go through all the commands I've done starting with an 'x'. Thanks!
10 More Discussions You Might Find Interesting
1. Solaris
Dear
What's the command to be executed to retreive all history commands for a specific user? (1 Reply)
Discussion started by: abu_hassan
1 Replies
2. Linux
I would like to log all the commands I type (on the terminal) to a file. The command "history" does this only for current terminal only. I typically keep around 10 terminals open.
Thanks,
j
Note: I do not have root access. (2 Replies)
Discussion started by: superuser84
2 Replies
3. UNIX for Dummies Questions & Answers
Hi there,
How can I add the current session command history to .bash_history?
During a session, I type several commands.
If I close my session, those commands are added to the file .bash_history.
But if my session crashes or just if I loose connection, those commands are lost.
Is there... (6 Replies)
Discussion started by: chebarbudo
6 Replies
4. UNIX for Dummies Questions & Answers
Hello every body,
Kindly inform me How Do i find out the time I executed a command previously on UNIX Solaris??
To be more specific and more clear about what i want to know is that I want a command the enables me to know the history and which command i run at this history/time.
FYI I used... (5 Replies)
Discussion started by: ahmedamer12
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have cleared the commands by using >$HOME/.sh_history.
But if i issue HISTORY it shows some reference numbers but not the commands executed.
But i want to truncate those line numbers too.
May i know how i can achieve this?
Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies
6. UNIX for Dummies Questions & Answers
i have several boxes running either ubuntu, redhat or solaris.
there are multiple people with root access on these boxes. i really dont like people looking through my command history, is there a way i can prevent this?
what files do i have to edit to prevent anyone from being able to see what... (7 Replies)
Discussion started by: SkySmart
7 Replies
7. Shell Programming and Scripting
Hi Guys,
I am running RHEL5, I am trying to find out the history of the cammands that were executed on my server.
I have files that are missing I just want to find out what happened to them.
I used history | more but I can't find anything related to my query.
I also checked... (1 Reply)
Discussion started by: Phuti
1 Replies
8. Shell Programming and Scripting
how to list all commands history for a username during a certain time ?
Maany Thanks (2 Replies)
Discussion started by: Sara_84
2 Replies
9. Shell Programming and Scripting
I frequently use some commands, which I want to save in some file say myregularshell.shthese are the commands I use, I tried saving and executing, but couldn't get the preview of execution, and result is also not coming if I copy same commands and paste it on terminal result is coming
cd go... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
10. UNIX for Dummies Questions & Answers
Dear every one,
I am working with the data of my lab program and I have to do many times by the same list of some commands (grep, then save to file, then use awk to delete odd lines, save to file, use awk to delete even lines, save to file...).
Is there any way to save a list of command which I... (4 Replies)
Discussion started by: phamnu
4 Replies
LEARN ABOUT REDHAT
makempx
MAKEMPX(1) General Commands Manual MAKEMPX(1)
NAME
makempx - typeset labels in MetaPost pictures with TeX or Troff
SYNOPSIS
makempx [--tex|--troff] mpfile mpxfile
DESCRIPTION
This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual
Web2C: A TeX implementation.
If mpxfile is older than mpfile, translate the labels from the MetaPost input file mpfile to low-level commands in MPXFILE, by running mpto
-tex, tex, and dvitomp by default; or, if -troff is specified, mpto -troff, eqn -d$$ | troff -Tpost, and dmp.
The current directory is used for writing temporary files. Errors are left in mpxerr.{tex,log,dvi}.
If the file named in $MPTEXPRE (mptexpre.tex by default) exists, it is prepended to the output in tex mode.
makempx is typically called by mpost, not from the command line.
OPTIONS
makempx accepts the following options:
--help Print help message and exit.
--tex Assume input file contains TeX commands.
--troff
Assume input file contains Troff commands.
--version
Print version information and exit.
SEE ALSO
mpost(1), mpto(1).
Web2C 7.3.1 4 January 1998 MAKEMPX(1)