Search Results

Search: Posts Made By: sgstuart
6,964
Posted By sgstuart
solved
I created a new variable and different syntax was needed

i=1
next=`diskutil list | grep disk1s"$i"s2 | awk '{print$3}'
while[ $next = $T1 ]
do
echo `diskutil list | grep disk1s"$i"s2 | awk...
6,964
Posted By sgstuart
while loop is all I need now
Hi all,
now all I need is to make my while loop to work, which might be syntax.

So I have

i=1
while[-n `diskutil list | grep disk1s"$i"s2 | awk '{print$3}' ]; do
echo `diskutil...
6,964
Posted By sgstuart
grep a variable
Hi all,
I am trying to do a simple thing in my mind. However I am fairly new to bash. What I need to do is create a folder for each partition on each CD, and each partition has a unique name...
Showing results 1 to 3 of 3

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