Pauvam.com (Heil open source)



Links in Linux are like shortcuts created in windows (.lnk files). In Linux there are two types of links that can be created, they are hard and soft links.

Before getting closer to links, a understanding of how files are stored in Linux is good,

inode – All files and directories in Linux are stores with a unique number called inode, this inode is also a data structure that holds the attributes of the file/directory

Hard Link

The created link takes the inode of the original file

Advantages

  • Any change (attribute) done to the original copy will reflect in the link.
  • Link will still point to the file, if the source file is deleted.

Limitations

  • Cannot go beyond file systems boundaries.
  • Cannot link directories (This limitation is to prevent endless recursive loop)

(more…)

Share
 



Download the latest libflashplayer.so from http://get.adobe.com/flashplayer if running from Linux.
From other operating system get flash for Linux from http://get.adobe.com/flashplayer/otherversions
Extract the downloaded tar.gz
Copy the libflashplayer.so to /usr/lib/mozilla/plugins directory
Restart firefox, (close all firefox windows) now adobe flash will be awailable in firefox.

Share
Tagged with:
 



segment_fault_cation.png

Introduction to segmentation fault

A segmentation fault is caused because of bad coding practices. It is also called as sig failts. This kind of faults prevent the program or application to not continue further with execution.

Segmentation fault happens, If a application if tries to access a memory location which it should not.

Cause of segfaults

  • If a buffer over flow happens.
  • While dereferencing a NULL pointer.
  • Using uninitialized pointer.
  • Accessing a memory, that we should not (not belonging to the program)

Click on more to continue reading on detecting location of segfault and practices to avoid segfaults.

(more…)

Share
Tagged with: