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
Bash Script : Check for palindrome
A simple problem: To find if a string is a palindrome or not using Bash script Continue reading
Floating point math operations in bash
This article tells how to make floating point calculations and use basic scientific functions in bash. Continue reading
CD Tray Open/Close infinite loop
A mad shell script opening and closing the CD-ROM tray in infinite loop. Continue reading
Split and Join Files
This guide describes how to split a file in smaller equal sized parts in Linux/Unix and join it under Linux/Unix or in Microsoft Windows. Continue reading
Posted in Computer Science, GNU+Linux+FOSS, Linux / Unix Shell, Tutorials
Tagged bash, linux, Programming
Leave a comment
Linux / Unix Shell Commands: Problems and Solutions (1st issue)
A solution to some Linux / Unix commands. The questions are taken from different year question papers of Computer Science Honours, Part II Practical examination of Calcutta University, India, Kolkata. This section carries 5 marks. When going through the papers i noticed that the questions were repeated in different years and also there were common questions in different groups in the same year. I have tried to solve the questions with the best and simple method and also provided more than one solution where applicable, i have also added a brief description of what the command does. A note for the students: Please do not try to remember each and every command without understanding how they work. If you do not know the commands it is recommended that first learn the basics and know what the commands do. For this, any standard text book, the command manual pages, or the GNU website can be used. If anything you cannot understand in this solution refer the man pages, if any mistake is found please leave a comment or contact me. The main intention of this solution is to act as a ready reference to save time and not just to be used as a Continue reading





