/etc/motd - queries


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Question /etc/motd - queries

If I have /etc/motd, he is file or directory?
I saw that some call them folders and files others... Which option is better?
I knew that being a director, but many told me not.

Thank you!
# 2  
/etc/motd is a file

UNIX supports the following types (from stat):
- files
- directories (not folders)
- devices - character or block
- symbolic link (symlink)
- fifo
- socket

Ddepending on your flavor of UNIX, additional types could be supported,
This User Gave Thanks to derekludwig For This Post:
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Motd
BOFH
In which login startup script is the motd displayed? Red Hat 4AS As I understand it, upon login (bash) it hits /etc/profile ~/.bash_profile ~/.bash_login ~/.profile I went through the scripts and the associated scripts (/etc/profile.d/*.sh) but don't see where it's being displayed...... Linux
5
Linux
Motd
DragonLenage
Does anyone know how to get the IP Address of the connecting client to apear in the MOTD I am new to linux and I was wondering if this was possible thanks in advance. :D :confused: :D... UNIX for Dummies Questions & Answers
4
UNIX for Dummies Questions & Answers
/etc/motd
run_time_error
Hi I do get the message of the day upon logging in to my machine(Solaris 9). I do NOT have a .hushlogin file in my home directory. Any ideas :-)... UNIX for Dummies Questions & Answers
7
UNIX for Dummies Questions & Answers
replacing old motd with new motd
antalexi
I need to replace the current /etc/motd text file with a new motd across 30+ servers. Which is the best way to do this? Shell script? sed? Does anyone have an example I can use? Thanks in advance. Unix people are the best!!! :)... Shell Programming and Scripting
2
Shell Programming and Scripting
Dynamic MOTD
hoppese
Hello all, I'm looking for a way to have motd display something different when users log in based on what groups they belong to. I'm network administratinng at a college and professors would like to have different posts come up to students when they log in based on the different classes they are...... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers

Featured Tech Videos