Troubleshooting – LINUX :: Part-4

0

Red Hat

Problem : How do you set blank time of your screensaver?

Usally set in /etc/rc.d/rc.M

# Example:

# To make your screen  blanks after 15 minutes of idle time.

/bin/settern – blank 15

Problem : How do I ignore system messages at login?

Just do this at your prompt.

touch~/.hushlogin

Problem : How can I tell what file systems my kernel supports?

A.Just type this at you Linux command prompt.

cat /proc/filesystems

Problem : I just made changes to my /etc/profile.Do I have to reboot?

No you don’t if you do this at your prompt.

source /etc/profile

Problem : How can I talk to a user on my Linux box?

At your Linux prompt

who

write

+d

Problem : How can I talk to all the Users at once on my Linux box?

At your Linux prompt

wall

|+d

Problem : How do I stop a crontab from emailing me?

Just add this to the end of the crontab line

> /dev?null 2>&1

For example:

#Run my_scipt every 5 minutes

*/5****/usr/local/bin/my_script>dev/null2>&1

                                             ——————– Thanks everyone

Share.

About Author

TN365

Leave A Reply

Powered by themekiller.com