Search Results

Search: Posts Made By: zarere
16,054
Posted By zarere
OK. echo $((10#${dates}%2)) obviously yields 0,...
OK. echo $((10#${dates}%2)) obviously yields 0, if [ ${dates%2} -eq 0 ]; doesn't. What conclusion would YOU draw?

Obviously something in
[ ${dates%2} -eq 0 ];is not correct or I'm missing...
16,054
Posted By zarere
Hi RudiC, 10x for the information but that...
Hi RudiC,

10x for the information but that still don't work even with:

echo $((10#${date}%2)) cat test_even.sh
#!/bin/bash

dates=$(date +%d)

echo $((10#${dates}%2))

if [ ${dates%2}...
16,054
Posted By zarere
Odd and even date in bash
Hi All,

I'm having the following script:

#!/bin/bash

date=$(date +%d)

echo $date

if [ ${date%2} -eq 0 ];

then

echo 'date is even'

else

echo 'date is odd'
Forum: BSD 10-02-2011
17,371
Posted By zarere
What about : pkg_add -r xorg This...
What about :

pkg_add -r xorg

This command installs xorg which is needed in order startx to work.What is the exact error that you are getting when you try to install it?
Forum: BSD 09-18-2011
3,418
Posted By zarere
Set this hint.apic.0.disabled="1" in ...
Set this

hint.apic.0.disabled="1"

in /boot/device.hints and the error will disappear.This is a common error nothing to worry about.
Forum: BSD 09-18-2011
3,715
Posted By zarere
Here you go Root Password - Easy Method: ...
Here you go


Root Password - Easy Method:

The simplest way to recover from a lost password is to boot into single user mode.

If you are using LILO, at the LILO boot prompt (graphical LILO...
Forum: BSD 09-18-2011
3,104
Posted By zarere
Installing MySQL package
Please check what is the current release of OpenBSD that you are using.This error is usually caused from not correct sync between ports system on the different releases.Here is some more info that i...
Forum: BSD 05-11-2011
17,371
Posted By zarere
Did you try to add also gdm_enable="YES" in...
Did you try to add also
gdm_enable="YES" in rc.conf
also make sure you have /proc mounted :
proc /proc procfs rw 0 0 to to /etc/fstab

Do you have X instaled,cause you can...
Showing results 1 to 8 of 8

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