Skip to content

linux

January 23, 2008

Create user and set temp pwd:
adduser ids -p abcd123
passwd ids

to find any file matching a pattern.
find. -exec grep -l “\abc\def” {} /;

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: