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

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: 1795 | 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: 1479 | 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: 1540 | 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: 1516 | 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: 1586 | Added by: shanky | Date: 2015-06-08 | Comments (0)

STAT command : It is used to show the statistics of a file or filesystem in Linux

Format       stat [OPTION] FILE/FILESYSTEM...


DESCRIPTION
       It shows the statistics of a file or file system with the informations like block size, inode number, acces/modifcation time, permssions, type of file/filesystem etc.

       -f, --file-system
              it display file system status instead of file status

       -c  --format=FORMAT
              use th ... Read more »

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

dig - stands for domain information groper

dig -  a tool in linux to lookup or query DNS server for ip-address/name resolution.

Format:
       dig [@server] [-b address] [-c class] [-f filename] [-k filename] [-p port#] [-q name] [-t type] [-x addr]
           [-y [hmac:]name:key] [-4] [-6] [name] [type] [class] [queryopt...]

       dig [-h]

       dig [global-queryopt...] [query...]


DESCRIPTION
 

  • dig (domain information groper) is a flexible tool ... Read more »
Category: Open System-Linux | Views: 1674 | Added by: shanky | Date: 2015-06-01 | Comments (0)

Hello Unix Lovers !!

Here, in this article, we shall learn how to login to Linux servers without username/password in PUTTY.

Just follow below simple steps and you can login to any of your linux server by just one click without entering any username or password:


  • Download Putty client from here and install it.
  • Search for puttygen on Start Menu and run puttygen.exe. Alternatively, you can go to Putty folder and run Puttygen.exe

 

pswd1

... Read more »

Category: Open System-Linux | Views: 1494 | Added by: shanky | Date: 2015-05-25 | Comments (0)

Appear for online test on Date and system related QUIZ

The best way to understand date and time of the system is to explore several examples. So, we are exercising some common date commands here:

date and time


1.To print the date of the day before yesterday:

          date --date='2 days ago'

Prompt:>date -d '2 days ago'
Tue Apr 21 13:55:20 CEST 2015
Prompt:> ... Read more »

Category: Open System-Linux | Views: 1494 | Added by: shanky | Date: 2015-04-23 | Comments (0)

  • Here in this article we shall go through some methods that can help in cleaning up outlook and creating memory for new mails.
  • Usually outlook gets full and we get alert saying "Inbox is full! Delete some items". In such situations, we always have to suffer because of less memory alocated to Outlook.

  • In your work stations you may only get a memory of 500 MB or less allocated for outlook. Its always a headache to cleanup outlook and create some space so that you could receive new mails.
  • Therefore, we can use below methods to handle this situation.

1. Create a local folder in outlook.

  • We can create a local folder/ Personal folder file (Outllok data fi ... Read more »
Category: Technical Solution | Views: 1908 | Added by: shanky | Date: 2015-04-02 | Comments (0)