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

Hello Linuxmen

Today in tis article we shall learn cool command execution tricks in Linux/Unix.

Many times we have to run the same command or last command or any one command in recent history in our lovely Terminal/Putty. We press up button several times and search.

Lets try and implement some easier methods.

1. Execute the last command.

To execute last command we can simply press up button and press enter. Or We can use "!!" and press enter. This will do the same.

Prompt:~> date
Thu Mar 17 19:38:55 CET 2016

... Read more »

Category: Open System-Linux | Views: 1287 | Added by: shanky | Date: 2016-03-17 | Comments (1)

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: 1385 | 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: 1510 | 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: 2297 | 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: 1871 | 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: 1571 | 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: 1811 | 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: 2108 | 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: 1393 | 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: 1673 | Added by: shanky | Date: 2015-07-18 | Comments (0)