Tag Archives: ubuntu

Hibernate or Sleep which is best ?

From my point of view and by searching various websites  I have found that

Hibernate is good that it resume all of your work after an extended period of time…..And do not use any power while close

and For sleep it can be use for shortest period of time and it uses some power while close…

So hibernate is good from the comparison and my personal experience

But we have to be cautious not to do those things too much Hibernate or Sleep that can sometimes causes the damage for hard disk if power interruption or any misinterpretation happens.

 

References: http://www.howtogeek.com/102897/whats-the-difference-between-sleep-and-hibernate-in-windows/

Odd Even in Bash/Shell Scripting

I tried it so many times but it didn’t gave the solution but the code I have found on the net and I understood where my problem was

caution: Don’t forget to give space after if eg. if [ ] and symbols eg. [ $remainder = 0 ]

and don’t forget to style after then eg.

then
echo “$number is evern”
else
echo “$number is odd”

if you don’t do all of the above mentioned system will give various errors.

What to do If fresh installed ubuntu does not find wifi ?

What to do If fresh installed ubuntu does not find wifi ?

I have just installed the recent 15.04 ubuntu but after installing the fresh ubuntu I didn’t find wifi

So what I did to restore my wifi

I connected my LAN cable in my laptop’s ethernet port then I opened up terminal and typed

then

after this command you can restart your system and get your wifi back 🙂