01-05-2011
My server can run history as well, but the check working same with you:
-bash-3.00$ man history
Manual entry for history not found or not installed.
-bash-3.00$ which history
which: 0652-141 There is no history in /usr/linux/bin /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java14/jre/bin /usr/java14/bin /usr/python/bin.
-bash-3.00$ whereis history
history:
The only different is I used bash.
---------- Post updated at 09:06 AM ---------- Previous update was at 09:04 AM ----------
Do you think that is the problem?
And if you login server used the same userid as others'?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Not really sure whether this question should go to this forum but am giving it a shot.
I have compiled a simple C program test.c.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static int a;
int test()
{
a=a+1;
return a;
}
When I run a make command, I get this:
... (2 Replies)
Discussion started by: nattynatty
2 Replies
2. Shell Programming and Scripting
Hi All,
The script which i am using to SSH to remote server is working fine when i run is using ./ but when cron runs it it gives error that "ssh: not found"
please help!!! (3 Replies)
Discussion started by: visingha
3 Replies
3. Shell Programming and Scripting
Hi All,
My question is how can i stop my users on system from deleting their history.
How can i stop the users from running 'history -c'.
I have searched thoroughly on the forum but didn't find any satisfactory solution to the problem.
kindly help if you any suggestions
Thanx in... (3 Replies)
Discussion started by: xander
3 Replies
4. UNIX for Dummies Questions & Answers
I am running nm for a file.
the command is
nm -f libC.a
but it gives below error
nm: libC.a: 0654-203 Specify an XCOFF object module.
any solution ?
Please use and tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks. (2 Replies)
Discussion started by: yatrik007
2 Replies
5. UNIX for Dummies Questions & Answers
Can anyone tell this:
If two users are logged into the same server from different locations. Is there a way to see the history command of the other user? I tried the history command, but it is showing me only the commands I used.
Thanks in advance for your help.
Iamnew2solaris (1 Reply)
Discussion started by: iamnew2solaris
1 Replies
6. UNIX for Dummies Questions & Answers
Hi
I want to search the history of commands.
for the last use of eg.$ service httpd reload
$history = brings up the full list
$!serv = runs service httpd reload, if thast was the last command used with the string
$!?serv? = does the same as above
I do not want to run the command... (1 Reply)
Discussion started by: dunsta
1 Replies
7. Shell Programming and Scripting
Hello Gurus,
I am firing the below command :
df -g | grep -v var| awk '{ (if $4 > 90% ) print "Filesystem", $NF,"over sized";}'
But I am getting the below error:-
======
syntax error The source line is 1.
The error context is
{if ($4 > >>> 90%) <<<
awk: The... (9 Replies)
Discussion started by: pokhraj_d
9 Replies
8. UNIX for Advanced & Expert Users
I am running a command in Solaris non-global zone and it is complaining for a library file, while that is already preset in server.
mwcontrol: fatal: relocation error: file /usr/openwin/lib/locale/common/xlibi18n.so.2: symbol _XlcAddUtf8Converters: referenced symbol not found
# ls -l... (15 Replies)
Discussion started by: solaris_1977
15 Replies
9. Red Hat
Hi,
Firstly, I want to say hello to all of you guys. My first post here... I have issue with CentOS and I hope that there is someone who can help or even explain what could cause this kind of situation.
I have installed CentOS 5.7 x86_64 into Hyper-V (Windows Server 2012 R2) environment. After... (0 Replies)
Discussion started by: gigolos
0 Replies
10. AIX
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1).
0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded.
0509-152 Member... (4 Replies)
Discussion started by: Ohmkar
4 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)