Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

grep in linux


  • Please log in to reply

#1
matthewvogt

matthewvogt

    New Member

  • Member
  • Pip
  • 7 posts
I'm trying to figure out how to use grep in linux. The system manager before me put in some text on the login screen that needs to be taken off. Only problem is I can't find where he put the text. A friend suggested grep, but I'm having problems with that too. If anyone has any suggestions I would appreciate it.
  • 0

Advertisements


#2
Ojoshiro

Ojoshiro

    Member

  • Member
  • PipPipPip
  • 146 posts
try man grep
It's probably the fastest way to find out more about grep.
(don't yo want to use fgrep?)

You may want to look in /etc/issue and /etc/issue.net. Maybe you'll find what you're looking for there.
I came across these files when I was messing up some luknix box. :tazz:

Hope it helps.
Ojo
  • 0

#3
\\`ired

\\`ired

    New Member

  • Member
  • Pip
  • 9 posts
If the text is on the login screen it would most definately be places inside the configuration file for your SSHd or Telnetd Daemon. If its a message that is displayed after a login is sucessfully entered try checking /etc/.cshlogin and /etc/.login Somewhere in one of those files will be a line near the top calling for "more filename" or "less filename" or possibly even a echo to display the file on screen. As for your SSHD or TELNETD configuration directories. They are different on each Distro's default install. Consult your OS's online documentation for help there.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP