Search Results

Search: Posts Made By: tuxian
Forum: Solaris 09-28-2011
19,298
Posted By vmcore
Hey there, I am assuming you need to reset admin...
Hey there, I am assuming you need to reset admin password as you have lost it?
Steps are many, so if you can get hold of T-2000 manual look at Appendix A, but here is step by step:


1. Connect...
5,280
Posted By mbak
You can delete those files using their inode...
You can delete those files using their inode numbers...
for eg..
cd <to dir..with these log files>
# ls -il | grep -i log |awk '!/total/{print $1}' | while read ln
do
find . -inum $ln -exec rm...
5,280
Posted By Scrutinizer
If you use ls -tr instead of ls -ltr you do not...
If you use ls -tr instead of ls -ltr you do not need to concatenate fields but you can use the entire line instead
5,280
Posted By birei
Hi, Use 'for' instead: $ touch "one...
Hi,

Use 'for' instead:

$ touch "one .log" "two .log" "three .log"
$ ls -1 *.log
one .log
three .log
two .log
$ for file in *.log; do echo "rm $file"; done
rm one .log
rm three .log
rm...
Forum: Solaris 06-13-2011
6,647
Posted By alister
A better workaround would be to create a new...
A better workaround would be to create a new symlink using an unpredictable temp name and then mv to clobber the old. POSIX requires the operation to be atomic so long as they're both part of the...
Forum: What is on Your Mind? 03-14-2011
20,440
Posted By Neo
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Dear Forum Members,

The UNIX and Linux Forums are working directly with the Red Cross to provide ad banners on our site to support Earthquake and Tsunami Relief in Japan. Registered users do not...
2,351
Posted By panyam
awk -F"[:()]" '/Soft Partition/ {d=$1;next}...
awk -F"[:()]" '/Soft Partition/ {d=$1;next} /Size/ {s=$3; print d" "s}' input_file
Showing results 1 to 7 of 7

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