I cannot easily get to the aix system from a putty client. However, we might be able to whittle down the number of possible issues. Please post the results of these commands from the prompt (the dollar is the prompt for me). After the command are listed the responses I get:
cheers, drl
Does anyone know of a way to mimic the up arrow/down arrow type bash behavior within a shell script?
Say I have a scripted menu, and would like to be able to up arrow to bring up the last X number of lines of user input?
Thanks to anybody with a suggestion. :) (0 Replies)
Hi All,
I would like to know how to get the command history from the prompt. For example in dos, if we hit the Up Arrow, we get the previous command. I am not getting this in my telnet session (AIX) at the prompt.
I know that if I type history command it will give a list of cammands I typed... (2 Replies)
Hello all, I have a bash function that opens Safari (I'm on OS X) with a specified argument.
Here it is :
function safari
{
#Safari bash function
TLDS=( "http://www." ".com" ".org" ".net" ".gov" ".edu" )
if ; then
open -a Safari ${TLDS}$2${TLDS}
elif ; then
open -a Safari... (0 Replies)
Moderators,
Please excuse if I am in the wrong section.
I have a question that someone may know the answer to. We know that a current bash shell keeps a record of all commands in a buffer. When the shell is terminated this buffer is written out to ~/.bash_history for the user.
I know... (2 Replies)
Hi,
I want to export bash history to a file, I used the following command
history > /home/administrator/bashHistory
But the exported file only contains commands with line number from 996 to the last one, How to export all the commands including commands before line 996?
Thanks a lot.... (2 Replies)
Hi Friends,
I am using AIX 6 with ksh shell, i am not able to get the commands histroy which was used earlier by pressing up and down arrow keys. Could you please help me to enable the history for ksh shell in AIX 6 OS.
Thanks in Advance.
Siva Kumar. (3 Replies)
Hi
I am trying to increase the number of commands recorded in my .bash_history file.
I followed what is indicated and have add to my .bashrc
export HISTCONTROL=ignoreboth
export HISTSIZE=1000000
export HISTFILESIZE=1000000
export HISTIGNORE='ls'but the .bash_history only contains 690... (5 Replies)
That's what appears at the beginning of my bash history (when you type "open .bash_history" in terminal)
sudo -k
export PS1="";sudo echo AUTHENTICATED;echo RETRY
exit
export PS1=""
sudo echo AUTHENTICATED ; sudo -k ; echo AUTHENTIKILL ; echo PROCESSEDAUTHENTICATION
sudo ls;sudo -k;exit;echo... (1 Reply)
Discussion started by: jonathansmith
1 Replies
LEARN ABOUT DEBIAN
condor_convert_history
condor_convert_history(1) General Commands Manual condor_convert_history(1)Name
condor_convert_history Convert - the history file to the new format
Synopsis
condor_convert_history[-help]
condor_convert_historyhistory-file1[history-file2...]
Description
As of Condor version 6.7.19, the Condor history file has a new format to allow fast searches backwards through the file. Not all queries
can take advantage of the speed increase, but the ones that can are significantly faster.
Entries placed in the history file after upgrade to Condor 6.7.19 will automatically be saved in the new format. The new format adds infor-
mation to the string which distinguishes and separates job entries. In order to search within this new format, no changes are necessary.
However, to be able to search the entire history, the history file must be converted to the updated format. condor_convert_historydoes
this.
Turn the condor_schedddaemon off while converting history files. Turn it back on after conversion is completed.
Arguments to condor_convert_historyare the history files to convert. The history file is normally in the Condor spool directory; it is
named history . Since the history file is rotated, there may be multiple history files, and all of them should be converted. On Unix plat-
form variants, the easiest way to do this is:
cd `condor_config_val SPOOL`
condor_convert_history history*
condor_convert_historymakes a back up of each original history files in case of a problem. The names of these back up files are listed;
names are formed by appending the suffix .oldver to the original file name. Move these back up files to a directory other than the spool
directory. If kept in the spool directory, condor_historywill find the back ups, and will appear to have duplicate jobs.
Exit Status
condor_convert_historywill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
Author
Condor Team, University of Wisconsin-Madison
Copyright
Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu
September 2012 condor_convert_history(1)