Search Results

Search: Posts Made By: Reboot
4,358
Posted By Reboot
Hi, you can use something as : #ls...
Hi,

you can use something as :


#ls -lrth|awk '$8 == 2003 {print}'|wc -l


then change 2003 with 2004,2005,2006... etc.

:b:
3,861
Posted By Reboot
You can use similar to following : ...
You can use similar to following :



#!/usr/bin/bash

printf "ENTER THE FULL NAME OF FIRST DIRECTORY : "
read d1
echo
printf "ENTER THE FULL NAME OF SECOND DIRECTORY : "
read d2
echo...
Forum: Solaris 06-01-2010
7,368
Posted By Reboot
Please find bellow link.... Disk Mirror in...
Please find bellow link....
Disk Mirror in Solaris 9 via Solaris Volume Manager (https://www.unix.com/solaris/37501-disk-mirror-solaris-9-via-solaris-volume-manager.html)

"Search" in "unix.com"...
1,546
Posted By Reboot
Above script do following : 1) It starts...
Above script do following :


1) It starts execution using "K-shell".
2) Then it execut "~/gateway/bin/gateway_env.sh" file in the home directory of the user executing the script.
3)...
5,796
Posted By Reboot
You can also use something like following : ...
You can also use something like following :


# more abc

#!/usr/bin/bash

if [ -z "$1" ]
then
echo "THIS SCRIPT REQUIRE AN ARGUMENT AS PROCESS_NAME....!!!!"
exit
else
PROC=`pgrep -l...
4,070
Posted By Reboot
You can use something like following : #...
You can use something like following :


# S=`ls -l b |awk '{print $5 }'`;P=0
# while [ $P -lt 60 ]
do
size=`ls -l b |awk '{print $5 }'`
echo $size
if [[ "$size" -ne...
5,646
Posted By Reboot
You can do something like : #...
You can do something like :


# >report.txt cat <<!
List of successful transfers:

`cat first_file`

List of unsuccessful transfers:

`cat second_file`

!
14,703
Posted By Reboot
1. In unix how to list the largest file in given...
1. In unix how to list the largest file in given directory.
The answer will in single line statement.


# du -akd /directory_name|sort -nr|more ---->>> to list files from largest to smallest...
Forum: Solaris 05-23-2010
8,737
Posted By Reboot
Set SDS to start if half of the state database...
Set SDS to start if half of the state database replicas are available


#echo "set md:mirrored_root_flag=1" >> /etc/system


Make sure all mirrors are in OK state

#metastat


Break...
Forum: Solaris 05-19-2010
12,094
Posted By Reboot
Sorry for late replying...:D:D Well, First...
Sorry for late replying...:D:D
Well, First check wether all these file systems i.e :

1./test/dir1
2./test/dir2
3./test/dir3
----- ----
----- ----


are mounted or not :


#mount...
71,007
Posted By Reboot
OR Else you can use two commands in a single...
OR Else you can use two commands in a single stratch as :


sed -e :a -e '$q;N;1001,$D;ba' orig_file >copy_file ;mv copy_file orig_file
Forum: Solaris 05-10-2010
11,244
Posted By Reboot
So, I can see that you have not partitioned the...
So, I can see that you have not partitioned the slices correctly.They are overlapping :



FIRST DISK : c1t1d0

Current partition table (unnamed):
Total disk cylinders available: 24620 + 2...
10,146
Posted By Reboot
# find /directory_name/where/file/resides -type f...
# find /directory_name/where/file/resides -type f -exec grep "pattern" {} +
Forum: Solaris 05-07-2010
13,218
Posted By Reboot
Please do following : #mount -v|grep nfs...
Please do following :


#mount -v|grep nfs
#umount -f <all nfs file systems, after terminatinal all respective process>

Then mount each NFS file system one by one followed by "df -k" command...
Forum: What is on Your Mind? 05-03-2010
8,667
Posted By Reboot
I first entered in the UNIX WORLD (SOLARIS),...
I first entered in the UNIX WORLD (SOLARIS), around 3 years back.I passed my Engineering in 2007 and entered in this field as fresher.Thanks to my Company, Seniors and whole www.unix.com...
Showing results 1 to 15 of 15

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