Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I have a server with Redhat ES 5. When I connect with ssh i want to see the system status so load average/hard disk space etc. How can I ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    3

    System status at motd ssh

    Hello,

    I have a server with Redhat ES 5. When I connect with ssh i want to see the system status so load average/hard disk space etc.

    How can I do this? I tried to make a bash script and put the command line in /etc/motd but i only see the command line and not the outcome.

    Hope somebody can help me out.

    Kind Regards.

  2. #2
    Just Joined!
    Join Date
    Jul 2009
    Posts
    10
    Try placing the command in your ~/.bashrc (assuming you use bash). That will run it once you login.

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    3
    Thanks! It works!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...