≡ Menu

Programming Tutorials and HowTos

Programming related tutorials, topics, howtos, tips, and hacks under Linux, OS X, *BSD and Unix like operating systems with special focus on sys admin/devops tasks ( rss feed ).

Linux / UNIX: Convert Hexadecimal to Decimal Number

How do I convert hex number to decimal number using a shell script under UNIX / Linux operating systems?
[click to continue…]

Bash Shell Script Function Examples

How do I create a shell script function using Bash under UNIX / Linux operating systems?
[click to continue…]

Applescript: Run or Call a Shell Script

How do run a shell script with an AppleScript? How do I integrate shell scripts into AppleScript? How do I call a shell script called /path/to/chkhost.sh using an applescript?
[click to continue…]

PHP Send Email

Q. How do I send an email using PHP and Apache webserver under Linux / UNIX operating systems? How do I send email from a PHP Script?
[click to continue…]

Q. How do I install Eclipse integrated development environment and write first program under Ubuntu Linux Eclipse IDE?
[click to continue…]

Alarm clock: How To Set Timeout For A Shell Command

Q. How can I run a command called foo, and have it timeout / abort after 10 seconds under GNU/Linux running bash shell or script? How do I run command under an alarm clock?
[click to continue…]

How To Find Files by Content Under UNIX

I had written lots of code in C for my school work and saved it as source code under /home/user/c/*.c and *.h. How do I find files by content such as string or words (function name such as main() under UNIX shell prompt?
[click to continue…]