Sponsored Content
Top Forums UNIX for Dummies Questions & Answers need help.. ! Production Env. Post 302228038 by Danny.Chouinard on Friday 22nd of August 2008 03:28:51 PM
Old 08-22-2008
Notice that in your ls output, there doesn't seem to be a name for that link. It's possible it's been created with a non-printable character.

Try `ls -lb`

That should list it with non-printables escaped with octal codes. Like so:

Code:
$ ls -l
total 0
lrwxrwxrwx 1 danny users 9 Aug 22 15:26 ? -> /etc/motd
lrwxrwxrwx 1 danny users 9 Aug 22 15:26   -> /etc/motd
$ 

$ ls -lb
total 0
lrwxrwxrwx 1 danny users 9 Aug 22 15:26 \002 -> /etc/motd
lrwxrwxrwx 1 danny users 9 Aug 22 15:26 \  -> /etc/motd
$

In that case, I have two links. The first is a single character, Control-B (ascii code 2), the second is named ' ' (Space).
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Adding command line env in cron env

Hello friends, i run two scripts manually & they work. i run them in cron & they don work. how to match the two env's 1.command line env 2.cron env i would like cron to use command line env. Thanks & Regards Abhijeet (1 Reply)
Discussion started by: abhijeetkul
1 Replies

2. BSD

Copying OpenBSD Kernel from a non production to production machine

Hi All, There are few OpenBSD 4.8 servers without compiler installed at my working place. However, sometimes there are some patches released for patching the kernel. My question is: Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to... (1 Reply)
Discussion started by: lcxpics
1 Replies

3. Web Development

Deny from env=env-variable Does not work

(Above from Apache docs). On my system, using: SetEnvIf User-Agent Mozilla IsBad=1 Order allow,deny Allow from all Deny from env=IsBad ...I see that environment variable is set (using phpinfo()) but the page is still served. No errors in the Apache logs. (1 Reply)
Discussion started by: gnurob
1 Replies

4. IP Networking

Production to DR switch

Hi, I have application server on IP 10.10.220.42 (Prod). When the Production goes down I wish to switch over all my application server's configuration files onto IP 10.10.220.45 (DR). The client is exposed to proxy apache http webserver running @ IP 10.10.220.30 Can you please suggest... (4 Replies)
Discussion started by: mohtashims
4 Replies
MOTD.TAIL(5)						   Debian Administrator's Manual					      MOTD.TAIL(5)

NAME
motd.tail - Template for building the system message of the day DESCRIPTION
On Debian systems, the system message of the day is rebuilt at each startup, in order to display an accurate information. /etc/motd.tail is the file to edit permanent changes to the message of the day. OVERVIEW
The initiation script /etc/init.d/bootmisc.sh prepends a line containing information about the system to /etc/motd.tail and stores the resulting file in /var/run/motd. /etc/motd is a symbolic link to /var/run/motd. This is done to prevent changes to /etc as the system can not assume /etc to be writable. Changes to /etc/motd effectively end up in a file under /var/run which will be regenerated upon reboot. A symbolic link to a different file, such as /etc/motd.static disables this behaviour. FILES
/etc/init.d/bootmisc.sh The initiation script which builds /var/run/motd /etc/motd Symbolic link to the system message of the day at /var/run/motd /etc/motd.tail Template for building the system message of the day /var/run/motd System message of the day file rebuilt at each computer start SEE ALSO
login(1), issue(5), motd(5). Debian 2007-04-28 MOTD.TAIL(5)
All times are GMT -4. The time now is 03:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy