Search Results

Search: Posts Made By: neverhood
2,138
Posted By neverhood
great, thanks!
great, thanks!
2,138
Posted By neverhood
trying to devide existing physical volume
hi guys, i`m trying to take 40GB of my sda5 (/home mounted) to create new volume group(lvc)

here`s the df output:

/dev/sda2 7,9G 3,3G 4,3G 44% /
udevfs 5,0M 60K...
1,300
Posted By neverhood
perl 5.10
Guys, i`m really sorry to ask a dumb question..but maybe you could suggest something. Recently i`ve updated perl to 5.10
some of the things ain`t work now :
pretty simple lines sort: ...
4,464
Posted By neverhood
declaring variable with for $(seq)
Hi guys. i have the following script:

1 #!/bin/bash
2 linkcount=$(grep "/portal" tickets | wc -l)
3 grep "/portal" tickets > links
4 for i in $(seq 1 $linkcount); do
5 echo "BLYAT"
...
3,448
Posted By neverhood
seems like RH
seems like RH
1,523
Posted By neverhood
ok guys..i`ve made it. it`s probably the ugliest...
ok guys..i`ve made it. it`s probably the ugliest script ever, but it does what i want :D
#!/bin/bash
linecount=$(cat -n http.log | grep ALERT | awk '{print $1}' | wc -l)
lines=$(cat -n http.log |...
1,523
Posted By neverhood
so the question now is: $i=3 $line3=331 ...
so the question now is:
$i=3
$line3=331
how do i echo line$i as a variable (to get 331)?
is it possible?
1,523
Posted By neverhood
lines searching >>
hi guys! I`ll really appreciate your help.
The situation is:
i have a log file, and i need to get the needed lines from it.
linecount=$(cat -n http.log | grep ALERT | awk '{print $1}' | wc -l)...
Showing results 1 to 8 of 8

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