Search Results

Search: Posts Made By: vikas898
47,362
Posted By vikas898
I think u can use "prstat -a " u will get all...
I think u can use
"prstat -a "
u will get all running processes.

Plz kindly provide output for below command from ur system.
uname -a
47,362
Posted By vikas898
U can try below command, /usr/ucb/ps -axxw |...
U can try below command,
/usr/ucb/ps -axxw | grep java
12,237
Posted By vikas898
After each command, give one more command as...
After each command, give one more command as "read".
So it will wait for ur enter.


eg.

echo " script started"
read;
ls -ld
read;
bdf | grep "rama"
read;
tail -10 log.txt
read;
Forum: Solaris 02-08-2010
9,608
Posted By vikas898
Error in /var/adm/messages
Hi All,
I m new to Solaris environment,
Right now I m using Solaris 10.

I get continuously following waring message in `messages` file so var partition going to full.

plz help me to...
7,156
Posted By vikas898
Include following lines in ur shell script ...
Include following lines in ur shell script

echo "Hello how are you?" >> hello.sh
echo "Where are you?" >> hello.sh
3,572
Posted By vikas898
grep -i "string" `find ./ -name...
grep -i "string" `find ./ -name "*.txt"`
27,296
Posted By vikas898
Yes absolutely correct by anchal_khare
This thing creates confusion,
>&2 and >&1 both of this showing o/p on screen.


If u possible proactiveaditya copy past some more lines from this file.
Forum: Solaris 12-09-2009
4,808
Posted By vikas898
How to use "ntpd"
Hi All,
How to synchronize two servers in time using ntpd command ?
Plz tell me how to use it with some examples.
Also mention which files are include in that process with proper path.
...
2,866
Posted By vikas898
You mean to get only cksum or extract cksum in...
You mean to get only cksum or extract cksum in detail?

if u want to know only check sum there is only two line sufficent in shell script


#!/usr/bin/bash
cksum $1;


we need to improve...
3,167
Posted By vikas898
Hi Isha,
If u check help page of export u will get info.
use following command

man export


set, unset, setenv, unsetenv, export - shell built-in functions to determine the characteristics for...
34,397
Posted By vikas898
Hi mail2sant,
=======================================================

I have Solaris 10 on it I always set
LD_LIBRARY_PATH

Try to set ur lib directory to this variable
export...
1,810
Posted By vikas898
Absolutely Right by scottn
Actually "&" told to shell to do this process in background,
If u want to look this process use following command.

fg 1

If u want to send this back to background use following command.
...
11,546
Posted By vikas898
i always recommended following commands who ...
i always recommended following commands
who
whodo
finger
finger -l
20,093
Posted By vikas898
Really Thanks steadyonabix
In your example you could do: -

find $DIRLOC -name "$FILEEXT" | xargs -i rm -f {}

However this only addresses the issue of not launching rm as a new process every time you delete a file. So...
9,408
Posted By vikas898
Hi easterraj,
i have try with sftp

$ cd /temp # this is on server 1 ur file a.lst is here
$ ls -lrt a.lst

$ sftp user@IPofServer2
sftp>? # for more help
...
20,093
Posted By vikas898
Thanks "steadyonabix"
Thanks Dude, Actually I am new in shell scripting and in UNIX environment.

If u possible plz give some solution, to overcome this problem.

Thanks,

---------- Post updated at 11:17 AM...
8,046
Posted By vikas898
Try To go in ur log folder grep -i " error...
Try To go in ur log folder

grep -i " error message" `find ./ -type f`

it will search all files in that folder and grep " error message".

---------- Post updated at 07:04 PM ----------...
20,093
Posted By vikas898
Hi Abhinav
#!/sbin/sh
###################################################
# Write This Shell Script and run it. Edit As u Wish.
###################################################

# Give ur dirctory...
Showing results 1 to 18 of 18

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