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

Facter - Collect and display facts/information about the system like uptime, OS info, memory usage, PATH, processor, n/w etc.

       facter [-d|--debug] [-h|--help] [-p|--puppet] [-v|--version] [-y|--yaml] [-j|--json] [fact] [fact] [...]

       Collect  and  display  facts about the current system. The library behind Facter is easy to expand, making Facter an easy way to collect information about a system from within the shell or within Ruby.

puppet:  Load the Puppet libraries, thus allowing Facter to load Puppet specific (custom) facts

... Read more »

Category: Open System-Linux | Views: 1512 | Added by: shanky | Date: 2016-05-24 | Comments (0)

We very often use the inbuilt variable $? in linux to check the status of last command used.

To find if the last command is correctly executed, we fire echo $? always. If it return 0, the command is successfully completed else some error occured while executing the command.

See below example.

shankys:~> date
Wed May 11 06:50:07 CEST 2016

shankys:~> echo $?

shankys:~> date 9
... Read more »

Category: Open System-Linux | Views: 1503 | Added by: shanky | Date: 2016-05-11 | Comments (0)

AT command is used to schedule/run a command at a later time, 1 hour later, 2 mins from now, 1 week later or one month later.

       at [-V] [-q queue] [-f file] [-mldrbvt] TIME
       at -c job [job...]
       atq [-V] [-q queue]
       atrm [-V] job [job...]
       batch [-V] [-q queue] [-f file] [-mv] [TIME]

       at  and  batch read commands from standard input or a specified file which are to be executed at a later time, using /bin/sh.

atq     lists the user's pending jobs, unless the user ... Read more »

Category: Open System-Linux | Views: 1322 | Added by: shanky | Date: 2016-04-14 | Comments (0)

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: 1383 | 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:


  • 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: 1476 | 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: 1606 | 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: 2409 | 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.




  • Set the following properties of background worker: Put below code on the load event of form or t ... Read more »
Category: Programming Languages | Views: 1928 | 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


rev command


2. SL< ... Read more »

Category: Open System-Linux | Views: 1669 | 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.


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

See below example

evince1< ... Read more »

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