Search Results

Search: Posts Made By: raman1605
2,919
Posted By raman1605
Please check the right access to the user from...
Please check the right access to the user from which you are trying to spool the data.

1. User must have right access to the directory/mount your are trying to spool into
2. Try to write the...
3,912
Posted By raman1605
This will help you out ls -1 | egrep -v...
This will help you out


ls -1 | egrep -v "toto|tata" | xargs chmod 755
1,679
Posted By raman1605
You can use While loop too. while read...
You can use While loop too.


while read line
do
echo $line

done < "filename_here"
3,958
Posted By raman1605
File handling in Script
Hi All,

How can we handle file operation in scripts. I have written a script that run ok otherwise however the "Cat" operation leaves a process open on the box. Command is like


cat...
15,483
Posted By raman1605
Thanks for the response but another issue here is...
Thanks for the response but another issue here is that perl is not there :mad:

Do we have some solution using sed or some other way?

I just need to replace. No need to retain the value for...
15,483
Posted By raman1605
copy contents of one column in another
Hi,

I want to pick contents of a column in a file and copy the contents of this to other column.

awk can be used for this, but the number of fields are higher so awk will not help. Any other...
2,958
Posted By raman1605
Problem with ssh
Hi All,

I get the following error message when i try to ssh to a node

ssh_exchange_identification: Connection closed by remote host

this is the output when i run in verbose mode

...
Forum: Solaris 03-28-2008
10,412
Posted By raman1605
processes are scheduled in crontab. U can...
processes are scheduled in crontab.

U can check that in crontab

check by using

crontab -l

it will give u the scheduled processes list.
4,527
Posted By raman1605
reading them as one variable and the segregating...
reading them as one variable and the segregating will help
1,508
Posted By raman1605
What exactly you want to achieve ? Any...
What exactly you want to achieve ?
Any specific reasons?
1,570
Posted By raman1605
Example code
Here is sm example code that you can use accordingly.


diffdays=`sqlplus -s <username>/<password> <<END
set pagesize 0
set feedback off
set heading off
set echo off
set verify...
2,501
Posted By raman1605
word=whatever { IFS= read -r line ...
word=whatever
{
IFS= read -r line
printf "%s %s\n" "$word" "$line"
cat
} < FILENAME > NEWFILE
3,754
Posted By raman1605
do want the files to be as such or we can sort...
do want the files to be as such or we can sort the file for comparison and find out the difference ?
Forum: Solaris 03-20-2008
5,076
Posted By raman1605
mail is present in /usr/bin
mail is present in /usr/bin
4,517
Posted By raman1605
use this way
DATE="$(date '+%Y%m%d%M%S')"
echo $DATE
Forum: Solaris 03-20-2008
18,737
Posted By raman1605
top for Solaris 10
I need some information for the top statistics being displayed in Solaris 10

they look like the following


CPU states: 92.0% idle, 3.3% user, 4.7% kernel, 0.0% iowait, 0.0% swap
Memory: 8192M...
Forum: Solaris 02-01-2008
5,076
Posted By raman1605
How to configure mail function on Solaris
Can some one please help to configure mails on Solaris.

mail -s or mailx function don't work on the system. Commands do nothing.
Forum: Linux 01-28-2008
1,908
Posted By raman1605
echo $? will give u the exit status of last...
echo $? will give u the exit status of last command executed.

If the last command was successful it will return 0 else some other value.
21,449
Posted By raman1605
Please check here
https://www.unix.com/unix-dummies-questions-answers/28217-what-wrapper-script-how-write.html
4,165
Posted By raman1605
use escape sequence
sed "s\/${old_line}\/${new_line}\/" f

use escape sequence "\" and then try.
25,336
Posted By raman1605
try this
cat <filename> | sed s/$/"\|"hello/g > new_file.txt
6,682
Posted By raman1605
U can use the the query as provided in ur sql...
U can use the the query as provided in ur sql file "@retriveData.sql" and then call the shell script.

- If there are some error/exception or whatever is the difference in the output vs expected,...
2,187
Posted By raman1605
Use this way
echo "\"Hello\""
Forum: Solaris 11-28-2007
10,609
Posted By raman1605
Any error/exception u are getting ? Have u...
Any error/exception u are getting ?

Have u ftp'ed the files from some other place ?
Forum: Solaris 10-22-2007
5,577
Posted By raman1605
Other Scripts
1. Are the other scripts configured in Cron running successfully.
2. This can be related to writing the logs in the script.
Showing results 1 to 25 of 44

 

Featured Tech Videos

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