07-04-2006
On SunOS 5.6 it's in histstore in your home directory (~/histstore) - may be the same for 5.8
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was reading about unix on the site on the internet when I came across a topic that deals with using commands like "crypt" to encrypt files so that no one but the owner can see contents of the file.
Now, I tried that command "crypt" on my Linux RedHat version 7.2 system and it didn't work
... (5 Replies)
Discussion started by: TRUEST
5 Replies
2. Shell Programming and Scripting
Hello All,
I have a list of short programs (over 200) to run and it is a hassle to sit and execute each one of them one after the other.
What I'd like to know is if it was possible to create one file which would list all these commands and all I need to do is to execute this one single file.... (2 Replies)
Discussion started by: zenla15
2 Replies
3. Programming
Hello all,
i've written a small piece of code that will read commands from standard input and executes the commands.
Its working fine and is execting the commands well. Accepting arguments too. e.g
#mkdir <name of the directory>
The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies
4. UNIX for Dummies Questions & Answers
How could you put the output of two commands into one file using a single command? For example put the output of a grep command and a sort command into one file together.
Here is another rough explanation of what I am trying to do;
output of
$ grep pattern file1
plus output of
$ sort file... (8 Replies)
Discussion started by: enuenu
8 Replies
5. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
6. Shell Programming and Scripting
I am trying to create a script that will read bash commands from a text file and execute them. These commands would all be defining variables. Is this possible, and if so, how do I do it. Any help would be greatly appreciated. (2 Replies)
Discussion started by: vockleya
2 Replies
7. Solaris
Hi,
1)In which file we can see commands of vxvm.
2) In my PC when i use commands like vxresixee, vxevac, vxconfigd etc error comming like command not found? can anyone help me out? (1 Reply)
Discussion started by: rahulpakanati
1 Replies
8. Shell Programming and Scripting
Hi All
I have written the following script:
#!/bin/ksh
while read cmdline
do
echo `$cmdline`
pid="$cmdline"
done<commands.txt
===========
commands.txt contains:
ps -ef | grep abc | grep xyz |awk '{print $2};
My objective is to store the o/p of the command in a variable and do... (8 Replies)
Discussion started by: rahulparo
8 Replies
9. Shell Programming and Scripting
Need unix commands to delete records from one file if the same record present in another file...
just like join ... if the record present in both files.. delete from first file or delete the particular record and write the unmatched records to new file..
tried with grep and while... (6 Replies)
Discussion started by: msathees
6 Replies
10. Shell Programming and Scripting
Hi there
I have the following code
SDFFILE_SRC=$BACKEND_DIR/$SDFFILE_MIN_tar
SDFFILE_DST=$SIM_DIR/$SDFFILE_MIN
if ]
....
....
....
fi
Simply I need to check if $SDFFILE_SRC isa newer than $SDFFILE_DST or $SDFFILE_DST does not exist then execute the IF Body.
Although the the... (2 Replies)
Discussion started by: aelhosiny
2 Replies