All of lore.kernel.org
 help / color / mirror / Atom feed
From: Atishay Kumar <atishay.kumar@gmail.com>
To: linux-admin@vger.kernel.org
Subject: Re: make-the-admin-happy-with-one-line
Date: Mon, 18 Oct 2004 20:54:13 +0530	[thread overview]
Message-ID: <430c159a041018082499ff22e@mail.gmail.com> (raw)
In-Reply-To: <4691977.1098104779361.SLOX.WebMail.wwwrun@ox.hermes.dmz>

On Mon, 18 Oct 2004 15:06:19 +0200 (CEST), Daniel Berlin
<mail@daniel-berlin.de> wrote:
> Hi everybody,
> how about starting a collection of cool linux admin tips/commands/...

creating a collection of tips/commands on a mailing list is a great
idea. but doing it on a mailing list may not be a good option. I think
we should document it so that it is available to all those who need it
rather than going throgh mailing list to get a set of commands.
does it sound good??
> Like:
> 
> # To search all files in a directory and it's subdirectories do this:
> grep -risnH 'PATTERN' *
> 
> or
> #  To copy a directory structure without changing atime/rights/owner/...
> do this:
> cd <SRC> && find ./ -print | cpio -padm <DEST>
> 
> Is there anybody out there with other cool
> "make-the-admin-happy-with-one-line"
> commands or similar tips ???
# change password of any user in a single line . This is useful for
use in scripts for changing passwords. You need root priveledges to
use --stdin option.

echo "password" | passwd --stdin username


> 
> Greez,
> daniel
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
:)
Atishay Kumar
Btech, SEM VII
DA-IICT
Gandhinagar - 382009
India
ph: +91 9825383948
/****************************************************************************
 * Learn the rules as you would need them to break them properly *
 ****************************************************************************/

  reply	other threads:[~2004-10-18 15:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18 13:06 make-the-admin-happy-with-one-line Daniel Berlin
2004-10-18 15:24 ` Atishay Kumar [this message]
2004-10-19  4:24   ` make-the-admin-happy-with-one-line James Turnbull
2004-10-20  1:54     ` make-the-admin-happy-with-one-line Atishay Kumar
2004-10-20  2:01       ` make-the-admin-happy-with-one-line James Turnbull
2004-11-01 16:53         ` make-the-admin-happy-with-one-line Matías López Bergero
2004-11-01 17:10           ` make-the-admin-happy-with-one-line Atishay Kumar
2004-10-19  4:37 ` make-the-admin-happy-with-one-line Nathan Dietsch
  -- strict thread matches above, loose matches on Subject: below --
2004-11-15 18:30 make-the-admin-happy-with-one-line Scott Taylor
2004-11-16  2:45 ` make-the-admin-happy-with-one-line Atishay Kumar
     [not found]   ` <3702.68.161.233.122.1100614974.squirrel@68.161.233.122>
2004-11-16 20:18     ` make-the-admin-happy-with-one-line Atishay Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=430c159a041018082499ff22e@mail.gmail.com \
    --to=atishay.kumar@gmail.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.