Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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