Search Results

Search: Posts Made By: rohan10k
25,332
Posted By rohan10k
Thanks for the solutions. I would like to go with...
Thanks for the solutions. I would like to go with following solution.
(1) Use touch to create a file whose mtime is 10 minutes in the past.
(2) Use find's -newer (negated with !) to match files...
25,332
Posted By rohan10k
Files older than 10 minutes
Hi, I have to find files older than 10 minutes and have to remove those files as well as to redirect file names into log file.

I am using SUNOS unix and it is not having GNU version.
Also below...
25,332
Posted By rohan10k
files older than 10 minutes
Hi,
I have to find the files older than 10 minutes and remove those files as well as redirect the file names into a log file.
i am using sun OS and my unix is not GNU and also not having perl....
5,959
Posted By rohan10k
Killing oracle sessions
Hi, I need to write a shell script to kill all oracle sessions.

I have to login in unix with unix userid and have to use sudo command to login with oracle userid and has to find out all oracle...
1,381
Posted By rohan10k
It is working fine. Thanks a lot. ...
It is working fine.
Thanks a lot.

value=`head -2 $file_name|tail -1|awk -F'\037' '{print $3}'`
1,381
Posted By rohan10k
Still not working. your command is getting...
Still not working.
your command is getting output as below.
head -2 $file_name|tail -1|cut -f3 -d-e
1,381
Posted By rohan10k
multiple commands
Hi, I have a flat file with delimitor as X'1F'
Need to get a string from second line, third field.
I have problem with the below command. Below command is not correct.
value=`head -2...
7,511
Posted By rohan10k
Field separator X'1F'
Hi,
I have a flat file with fields separated by a X'1F'
i have to fetch 4th field from second line.
please help me how to achieve it.

I tried with below command and its not working.
cut -f4...
98,320
Posted By rohan10k
Thanks Corona and LivinFree for your suggestions....
Thanks Corona and LivinFree for your suggestions.

openssl is also the same like what you said "limited use"
because we provide hardcoded password to openssl (or storing somewhere in a file).
...
98,320
Posted By rohan10k
Encrypt and decrypt a string
Hi, I want to encrypt and decrypt a string(database password) which will be used in my scripts.
encrypt the string while storing in a file and while using it in other scripts
it should decrypt.
i...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 12:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy