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

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: 1831 | 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: 2076 | 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: 2420 | 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: 1646 | 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: 1944 | 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: 2117 | Added by: shanky | Date: 2015-07-12 | Comments (0)

To create SWAP space/file in your system, you just need to follow below simple steps. First we shall see how much free space we are having using free -k or swapon -s command.

shankar@shankar-desktop ~ $ free -k
             total       used       free     shared    buffers     cached
Mem:       2061716     936484    1125232          0      43624     367612
-/+ buffers/cache:     525248    1536468
Swap:      492536          0    492536
shankar@shankar-desktop ~ $ swapon -s
... Read more »

Category: Open System-Linux | Views: 1761 | Added by: shanky | Date: 2015-06-19 | Comments (0)

ALIEN - Convert FILES from/to rpm, lsb, deb, solaris packages or install an alien binary package.

FORMAT
        alien [--to-deb] [--to-rpm] [--to-tgz] [--to-slp] [options] file [...]


DESCRIPTION
       alien is a command line utility that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats to/from one another.

If you want to use a package from another linux distribution than the one you have installed on your system, you have to use alien to convert it to your preferred package format and install it.

It also supports LSB packages.

... Read more »

Category: Open System-Linux | Views: 1818 | Added by: shanky | Date: 2015-06-16 | Comments (0)

FORMAT:
       xrandr [-help]  [-display display] [-q] [-v] [--verbose] [--dryrun] [--screen snum] [--q1] [--q12]

Per-output options
       [--output  output] [--auto] [--mode mode] [--preferred] [--pos xxy] [--rate rate] [--reflect reflection] [--rotate orientation] [--left-of output] [--right-of output] [--above output] [--below output] [--same-as output] [--set property value] [--off] [--crtc crtc] [--gamma red:green:blue]

 

 



DESCRIPTION
... Read more »

Category: Open System-Linux | Views: 1775 | Added by: shanky | Date: 2015-06-13 | Comments (0)

CHAGE - the command is used to change/show user's password related information like when it will expire, when it must be changed, when user should be warned to change the password etc.

FORMAT:
For root users:      

chage [-D binddn] [-P path] [-m mindays]
             [-M maxdays] [-d lastday] [-I inactive] [-E expiredate] [-W warndays] user

For normal user      

chage -l [user]


DESCRIPTION
... Read more »

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