In this post, we are going to develop a simple alarm with shell scripts.
To get the time we use date command. To play a sound file we use aplay command-line player. It is also a recorder. Since we are developing an alarm it must control the time continuously so we need an infinite loop. Source codes are given in the following.
Source Codes:
#!/bin/bash
# Purpose: Demo date command
# Author: Mustafa Demir -www.eeecoder.blogspot.com-...

Showing posts with label shell. Show all posts
Showing posts with label shell. Show all posts
Thursday, February 6, 2014
Thursday, July 25, 2013
CPU Sıcaklık Alarmı Sistemi

Merhabalar, bu yazımda linux kernel ve linux shell in verdiği harika avantajlardan faydalanarak yaptığım CPU Sıcaklık Alarmı Sistemini anlatmak istedim.
Linux un bize sağladığı en büyük avantajlardan biri kolaylıkla hardware bileşenlerine ulaşabilmemizdir. Hardware ile iletişim şu şekilde gerçekleşir :
1. Kullanıcı isteklerini kodlar...
Subscribe to:
Posts (Atom)