Improved Linux command history

With four lines setup one time you can type the beginning of a command (ex: “ls”) then press the up and down arrows to see the most recent commands containing the text you typed (ex: “ls ~/scripts”) making it much easier to find what you’re looking for. To make this happen, create a text file called .inputrc in your home folder and put the following four lines inside:

"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on

Weekly Challenge 8: Go to Bed!

Weekly challenge 8 is the compliment to what we were trying to achieve in the week 1 and week 4 weekly challenges.

Numerous studies have shown how important the amount of sleep we get is. It affects important things like our mood, memory, and ability to control ourselves/impulses. Take a minute to read this article by the National Sleep Foundation, this article by Sleepdex, and the info-graphic at the bottom of this post. Then, set a timer/alarm that’s at least 7 hours before the alarm you set in week 4 (which you’re still doing, right?). You may even consider setting an alarm for the amount of sleep you want plus a buffer so that you can wrap up what you’re doing or prep the next day so you’re ready to go when your alarm goes off in the morning.

Personally, I’ve come to the conclusion that I’m more of a night owl than a super early morning person so I’m getting up at 6:15. From what I can tell I need about 6.5-7 hours of sleep so that means I need to be asleep by 11:15 to 11:45 (asleep, not just getting into bed). Based on that I’ll be setting an alarm for 10:30 as a reminder that it’s time to start wrapping things up. What about you? What’s your schedule? How much sleep do you need?

To join the challenge follow this link or go to my goal page where you can find it and join in. Each day when you went to be at your scheduled time be sure to “check in” on coach.me.

Suggested Sleep Time