Home » Open System-Linux
« 1 2 3 4 5 6 7 »

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.

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]

... Read more »

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

       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: 1401 | 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.

       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...]


  • dig (domain information groper) is a flexible tool ... Read more »
Category: Open System-Linux | Views: 1666 | 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



... Read more »

Category: Open System-Linux | Views: 1487 | 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: 1487 | Added by: shanky | Date: 2015-04-23 | Comments (0)

fsck - check and repair a Linux file system

       fsck [ -sAVRTMNP ] [ -C [ fd ] ] [ -t fstype ] [filesys ... ] [--] [ fs-specific-options ]


  • fsck is used to check and optionally repair one or more Linux file systems.  filesys can be a device name (e.g.  /dev/hdc1, /dev/sdb2), a mount point

       (e.g.  /, /usr, /home), or an ext2 label or UUID specifier (e.g.  UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root). 

  • Normally, the fsck  program  will  try  to  handle  filesystems  on different physical disk ... Read more »
Category: Open System-Linux | Views: 1825 | Added by: shanky | Date: 2015-03-23 | Comments (0)

RUNLEVELS: It is nothing but a mode of operation in Linux OS.

  • A  runlevel  is  a  software configuration of the system which allows only a selected group of processes to exist.
  • The processes spawned by init for each of these runlevels are defined in the /etc/inittab file.
  • Init can be in one of eight runlevels: 0-6 and S or s.  The runlevel is changed  by a privileged user running telinit command, which sends appropriate signals to init, telling it which runlevel to change to.



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

JAR, a Java Archive Tool is a command line tool in linux used to combine multiple files into a single JAR archive file.

       Create jar file
          jar c[v0Mmfe] [manifest] [jarfile] [entrypoint] [-C dir] inputfiles [-Joption]

       Update jar file
          jar u[v0Mmfe] [manifest] [jarfile] [entrypoint] [-C dir] inputfiles [-Joption]

       Extract jar file
       & ... Read more »

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

w3m - this is a command line tool in linux to start a text based web browser. It can open a remote or local webpage in terminal listing all links,tables and other texts on the page. 

       w3m [options] [URL or filename]

       Use "w3m -h" to display a complete list of current options.


  •  w3m  is  a World Wide Web (WWW) text based client. It has English and Japanese help files and an option menu and can be configured to use either language.
  • It will display hypertext markup language (HTML) documents containing links to files resi ... Read more »
Category: Open System-Linux | Views: 1511 | Added by: shanky | Date: 2015-01-12 | Comments (0)

shift - shift command is used to shift positional parameters

       shift [n]

       The positional parameters can be shifted using this command. Positional parameter 1 shall be assigned the value of parameter (1+n), parameter 2 shall be assigned  the     value of parameter (2+n), and so on.

The parameters represented by the numbers "$#" down to "$#-n+1" shall be unset, and the parameter '#' is updated to reflect the new number of positional parameters.

       The value n shall be an unsigned decimal integer less ... Read more »

Category: Open System-Linux | Views: 1246 | Added by: shanky | Date: 2014-12-28 | Comments (0)