[ Add new entry ]
« 1 2 3 4 5 ... 13 14 »

Finally I understood sticky bit concept and I want to share this with all..

Best way to learn it is we shall try an example. We all might be aware of its definitions and theory:

RESTRICTED DELETION FLAG OR STICKY BIT(t)
 

  • The restricted deletion flag or sticky bit is a single bit, whose interpretation depends  on  the  file  type.  
  • For directories,  it  prevents  unprivileged users from removing or renaming a file in the directory unless they own the file or the directory; this is called the restricted deletion flag for the  directory,  and  is  commonly  found  on world-writable  directories  like  /tmp.  
  • ... Read more »
Category: Open System-Linux | Views: 1364 | Added by: shanky | Date: 2016-02-05 | Comments (0)

netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships

 By default, netstat displays a list of open sockets.  If you don't specify any  address  families,  then  the  active sockets of all configured address families will be printed.
We shall exercise some examples to make it more clear.

1. List all connections to the system(Listening/ Non-listening)

nestat -a

 

Prompt~> netstat -a|head
Active Internet connections (servers and established)
Proto Recv ... Read more »

Category: Open System-Linux | Views: 1486 | Added by: shanky | Date: 2016-01-23 | Comments (0)

Hello Windows 10 lovers

 

Now that people are switching to windows 10, they need to consider one big problem that they will face. The internet speed is totally eaten by windows. 

It has so manu stuffs running which are consuming your internet data.

Lets list out them and try to fix this problem..

1. First of all you need to turns the tiles off in window start menu. They are all gadgets using internet speed/data. Right click the gadget and click on "Turn the tile off".

live tile off

If you want you may later turn it on to see the feature ... Read more »

Category: Technical Solution | Views: 2260 | Added by: shanky | Date: 2015-12-30 | Comments (2)

Hello Guys

If you want to create a simple downloader or you want to learn the concept of background worker and progress bar , you must go through this basic article.

Here we are using a very simple example that will help you to understand these concepts. So we shall go steps by step.


  • First of all add a button to your Form to start download, a progress bar to show download progress and a background worker for background processing of download. A cancel download button is additional.

bw1

 

 

  • Set the following properties of background worker: Put below code on the load event of form or t ... Read more »
Category: Programming Languages | Views: 1852 | Added by: shanky | Date: 2015-09-15 | Comments (0)

Dedicated to all linux lovers..

If you love working in Linux/Unix operating system, you must try these commands for FUN.

 

1. REV 

The rev utility copies the specified files to the standard output, reversing the order of characters in every line.  If no files are specified, the standard input is read.

shankar@shankar-desktop ~ $ rev
shankar
raknahs
shankysportal
latropsyknahs
kumar
ramuk
bhagat
tagahb
shankys
syknahs

 

rev command

 

2. SL< ... Read more »

Category: Open System-Linux | Views: 1549 | Added by: shanky | Date: 2015-09-09 | Comments (0)

 

Hello Linux Lovers

 

In this article we shall learn how to view/open a PDF file (*.pdf) or a postscript file (*.ps) in Linux system using commands.


 

This is quite simple. You can user Evince document viewer.

Evince is document viewer capable of displaying multiple and single page document formats like PDF and Postscript.


Syntax:

evince [--help] [--usage] [--page-level=<level>] [filenames]

See below example

evince1< ... Read more »

Category: Open System-Linux | Views: 1788 | Added by: shanky | Date: 2015-08-18 | Comments (0)

In this article we shall learn how to connect to several databases using Microsoft visual studio or VB .NET. We shall practice the simplest code to connect to each database one by one. 

 

1. MS Access Database:

Dim con As New OleDb.OleDbConnection

'Dim conString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\SHANKAR\Documents\Employee.accdb;User Id=admin;Password=shanky;"

Dim conString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\SHANKAR\Documents\Employee.accdb;User Id=admin;Password=;"

        &nb ... Read more »

Category: Technical Solution | Views: 2085 | Added by: shanky | Date: 2015-08-15 | Comments (0)

There are several ways for filing ITR. But what I used and found the easilway is :

cleartax for ITR

 


Just follow below simlple steps and you can finish it in one hour:

clearTax for ITR

  • Upload your Form-16.

... Read more »

Category: Cool Stuffs | Views: 1368 | Added by: shanky | Date: 2015-07-28 | Comments (2)

Logical Volume Manager is a device mapper in LINUX which provides Logical Volume management.

 

With LVM, we can create logical partitions that can span across one or more physical hard drives.

 

LVM virtualizes the memory and the biggest advantage of LVM is that it allows disks to be added, replaced, reduced, resized without any downtime or service disruption.

 

LVM allows file systems to be easily resized later as per our need.


Creating and managing LVM is very simple. Just follow 3 steps process:

  1. First the hard drives are divided into physical volumes(PV).
  2. ... Read more »
Category: Open System-Linux | Views: 1651 | Added by: shanky | Date: 2015-07-18 | Comments (0)

In this article we shall try to undestand grep and extended grep(grep with '-E' option).

 -E, --extended-regexp
              Interpret PATTERN as an extended regular expression (ERE, see below).  (-E is specified by POSIX.)


Basic vs Extended Regular Expressions
       In basic regular expressions the meta-characters ?, +, {, |, (, and ) lose their special meaning; instead use the backslashed versions \?, \+, \{, \|, \(, and \).

       Traditional egrep did not support the { meta-character, and some egrep implementations support \{ instead, so portable scripts should avoid  {  in grep -E patterns and should use [{] to match a lite ... Read more »

Category: Open System-Linux | Views: 1788 | Added by: shanky | Date: 2015-07-12 | Comments (0)