• RSS
  • SmsJobs
  • Sms
  • GoogleBuzz
  • Facebook
  • Twitter
  • Linkedin
  • Youtube
The Linux Juggernaut

The Linux Juggernaut

roles on……

Archive for May, 2011

Linux_Tips

This is a small how to on listing all the users in a box. This is bit tricky but if you give a thought you will realize that user info is in passwd file, so if you can grep the first field then its done.

The passwd file content for your reference
gdm:x:113:120:Gnome Display Manager:/var/lib/gdm:/bin/false

surendra:x:1000:1000:surendra,,,:/home/surendra:/bin/bash

mediatomb:x:114:123:MediaTomb Server,,,:/var/lib/mediatomb:/usr/sbin/nologin

haldaemon:x:115:124:Hardware abstraction layer,,,:/var/run/hald:/bin/false

ntop:x:116:126::/var/lib/ntop:/bin/false
How to get only user values?

Use cut command to cut the fields..… Continue Reading

Posted by Surendra Anne On Friday-May - 13 - 2011 1 Comment READ FULL POST

email newsletter

Redhat Flagship dist

Redhat announced that they are going to release RHEL7 by ...

12 examples to use f

Flower brackets examples This is a small post on how to ...

7 Linux read command

read command examples read command is useful in scripts when reading ...

7 linux sort command

Linux/Unix sort command examples This is a small tutorial on how ...

How to find command

How to find command location in Linux and Unix This is ...

  • About Linux Juggernaut

    How the blog name selected? Juggernaut: * a massive inexorable force that seems to crush everything in its way ...readmore>>

  • Contact Me

    Contact us Send an Email Phone number and vCard LinkedIn profile Advertise with us
  • About Me

    Surendra Kumar Chowdary

    My name is Surendra Kumar Anne. I am from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present i work at Persistent Systems as Module Lead.   read more »