05-30-2009
what have you tried till now??
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello I am trying to append an incrimenting number to the end of each line I have it working with a temp file. But I want to do this without a temp file.
a=1
cat "file" | while read LINE
do
echo "$LINE, $a" >> filewithnumbers
a=`expr $a + 1`
... (4 Replies)
Discussion started by: rorey_breaker
4 Replies
2. Shell Programming and Scripting
Hello,
I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^
Here is what I'm trying to achieve :
file1:
test filea 3495;
test fileb 4578;
test filec 7689;
test filey 9978;
test filez 12300;
file2:
test filea... (11 Replies)
Discussion started by: mecano
11 Replies
3. Shell Programming and Scripting
Hi -
I am looking for a replacing a string in a in multiple *.sql files in directory with a new string without using a temporary file
Normally I can use sed command as below
for W in ls `FILE*.sql`
do
sed 's/OLD/NEW/g' $W > TEMPFILE.dat
mv TEMPFILE.dat $W
done
But Here in my... (9 Replies)
Discussion started by: raghutapal
9 Replies
4. Shell Programming and Scripting
hello guys
Please help me with the below issue
I have two files one base file another lookupfile
base file
abc-001
bcd-001
cde-001
Lookupfile
abc-001|11|12
abc-001|11|12
abc-001|11|12 (6 Replies)
Discussion started by: Pratik4891
6 Replies
5. Shell Programming and Scripting
What would be the best way to store the name of an extracted file from a tar to a text file?
I want to extract one file from a tar and store the name of the extracted file to a temp file.
tar -xvf tar_file.tar file_to_be_extracted (1 Reply)
Discussion started by: erin00
1 Replies
6. UNIX for Advanced & Expert Users
Hi
I need some help with a task, i am an absolute newbie to any form of shell scripting and request guidance.
I have been building a proxy server using the apache mod proxy currently my solution is working , but i need to automate the process , suppose if any changes need to be made on... (0 Replies)
Discussion started by: satej
0 Replies
LEARN ABOUT FREEBSD
keylogout
KEYLOGOUT(1) BSD General Commands Manual KEYLOGOUT(1)
NAME
keylogout -- delete stored secret key
SYNOPSIS
keylogout [-f]
DESCRIPTION
The keylogout utility deletes the key stored by the key server process keyserv(8) to be used by any secure network services, such as NFS.
Further access to the key is revoked, however current session keys may remain valid till they expire, or are refreshed. This option will
cause any background jobs that need secure RPC services to fail, and any scheduled at jobs that need the key to fail. Also since only one
copy is kept on a machine of the key, it is a bad idea to place this in your .logout file since it will affect other sessions on the same
machine.
The following option is available:
-f Forget the rootkey. This will break secure NFS if it is done on a server.
SEE ALSO
chkey(1), keylogin(1), login(1), publickey(5), keyserv(8), newkey(8)
BSD
April 15, 1989 BSD