Categories
- Computer Science (46)
- C Language (5)
- Coding Discussions (21)
- Linux / Unix Shell (15)
- Others (4)
- Overview (3)
- Entertainment (4)
- GNU+Linux+FOSS (37)
- Humor (16)
- Writings (3)
- Computer Science (46)
Tags
StackOverflow
Follow Information Retrival Q&A site in Stackexchange
-
Top 10
- Geeky Code Wallpaper with GIMP
- Floating point math operations in bash
- Read multiple arguments in bash script
- Bash Script : Print lines of a file in reverse order
- Choose login manager GDM or KDM in Fedora
- Fix dark video in Skype for Linux
- C Language Constructors and Destructors with GCC
- Running Skype for Fedora x86 in Fedora x86_64
- Bash Script: Counting lines, words, characters
- Balanced Parenthesis Check
-
Recent Comments
Polls
Category Archives: Linux / Unix Shell
Simple script to restart services automatically when stopped in Fedora/Redhat
When occasionally the services like Apache or MySQL or other rc.d script crashes and stops working, then instead of restarting them manually, it may be more desirable to restart them automatically. A friend of mine asked about such an issue … Continue reading
Posted in Computer Science, GNU+Linux+FOSS, Linux / Unix Shell, Tutorials
Tagged bash, fedora, linux
3 Comments
Bash Script: Reading ID3v1 Tags
mp3 files contain track name, artist name, etc meta data about the music file itself. The meta data format used in mp3 files are called the ID3 tags. There are different versions of ID3 tags available. The objective is to … Continue reading
Bash Script: Find occurrence count of a string in a file
A file is given, and a string is given. The number of time the string occurs in the file, and the line number in which the string occurs in the file needs to be found out and printed.
Bash Script: Counting lines, words, characters
Objective The objective is to write a shell script to mimic the functions of the wc command. This shell script would be made with bash built-ins and standard coreutils commands, and is made as accurate as possible to mimic wc.
Bash Script : Bitwise Not Operation in bash
This is a post to present one method to inverse the bit pattern of an input number, the bitwise not operation on a bit pattern. I am presenting one method which i figured out.
Bash Script: Generating Primes within Range
Objective Generating prime numbers within a range using bash script. The technique used in this implementation to generate the prime numbers is still the good old divide and check method, but with some tweaks attempting to make the execution a … Continue reading
awk to the rescue
Some days back I got a collection of 100 Greatest Piano Works cd collection. The first thing I did was to rip the CD in flac and preserve a lossless copy of the disks. Then I converted those to ogg … Continue reading
Read multiple arguments in bash script
A shell script is written to achieve a purpose, and it is very helpful is the shell script takes multiple commandline arguments and then operate on each argument, instead of execute the shellscript multiple times. This post will talk about how to make the shell script work with multiple arguments. Continue reading
Bash Script : Print lines of a file in reverse order
A bash script to print the lines of a file in reverse order. Continue reading
Bash Script : Finding Digital Root of an Integer
A bash script to find the digital root of an integer Continue reading





