6
2012
Segmentation Fault correction with GNU Debugger
One of the reasons why I prefer Linux for programming is because of the GNU debugger. Any programmer at one point or the other would have to use a debugger so it’s always better we get started off sooner rather than later. In our previous stone “Understanding Segmentation Fault with simple C code snippets ” we digged out the various reasons for the annoying segmentation fault in our programs. Next up we now learn how [...]
13
2012
Basic Networking Commands in Linux
Ifconfig Your connection to a network is made by your system through a particular hardware interface such as an Ethernet card of a modem. Data passing through this interface is then routed to your network. The ifconfig command configures your network interfaces and the route command sets up the network connections accordingly. Ifconfig is used to configure the kernel-resident network interfaces.It is used at boot time to set up interfaces as necessary. If no arguments [...]
27
2012
Unix Shell Metacharacters
Metacharacters are those characters which hold special significance. There are numerous metacharacters in Linux. We will try to discuss the significance of each one of them through simple unix commands. Different metacharacters in Unix can be grouped in the following way : 1. Filename Substitution Metacharacters * - This wild card character represents any combination of number or characters. ? - This metacharacter stands for one character. [....] - This gives the shell an [...]
24
2011
Create a ‘makefile’
When working with a C project we might have multiple .c files in the same project. Having to compile each and every source file after some alterations in one of them would be a painful task. Hence to avoid this , we make use of the make utility which reads its makefile and makes the building and managing of our C project lot more easier. Thus when one of the .c files is changed , [...]
11
2011
Simple Scripts & Sed
In my previous stone on Terminal tricks using sed, I had included simple sed one-liners to carry out some amazing text editing tasks. The beauty of sed command is more accentuated when used in scripts.A combination of two or more commands with sed can result in effective scripts. You can either create a bash file or make an alias. Alias allows you to define ‘shortcuts’ to shell commands. Usage : alias newcommand=’yourcommand -arguments’ For e.g. [...]
17
2011
Terminal Tricks using Stream Editor ( sed )
In this article, I have included some of the basic sed one-liners. These amazing one liners make difficult tasks look so simple and elegant. Moreover,they make you believe that you can perform such tedious tasks in a simple one-liner. So, What is sed ? It’s a non-interactive text editor. It reads an input from STDIN or a given file, executes a series of editing commands and returns the output to STDOUT. It is designed to [...]
13
2011
What’s new in Ubuntu 11.10 ( Oneric Ocelot )
Oneric Ocelot ( Ubuntu 11.10 ) is scheduled to be launched on October 13, 2011. There are no such major changes in Oneric Ocelot. Instead, it improves on the drastic changes made in Maverick Meerkat ( Ubuntu 11.04 ). So, What’s new in Oneric Ocelot? New Login Screen – BetaGDM is no longer the default login screen for Ubuntu; ( replacing the old GDM Manager ) – Instead, a new login screen called LightDM – [...]
Fortystones Lab Projects
Categories
- Articles (43)
- Idea (2)
- Review (5)
- Social Media (29)
- Trending Topics (13)
- Collection (29)
- How To (27)
- Linux (28)
- News (15)
- PHP (6)
- Project (2)
- Tutorials (36)
- Java (4)
- Programming (10)
- Wordpress (7)
Popular Posts
- 40 Basic Linux Command-line Tips and Tricks
- Tips and Tricks for Facebook Chat (Save History/ Video Chat/ Send Files)
- 40 Linux Shell Commands for Beginners
- Creating a Simple GUI for Absolute Beginners (Java Tutorials)
- Online Coding Zones for Programmers
- Special: Facebook Smiley, Special Text Symbols and ASCII Arts
- The First on the World Wide Web



An article by Raju Khanal




