Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Illegal characters in Servername / Path Post 302127893 by goodjuju on Friday 20th of July 2007 03:01:01 AM
Old 07-20-2007
Illegal characters in Servername / Path

Hi there.

I wonder if anybody can help me. I am very new to this and a bit out of my depth.

I have a .cmd file which sets various environmental variables for me.

When I input a server name that does not contains dots (.) in the name it works fine. As soon as I place in a server name containing dots it fails.

Below is an example of what I mean.

$ENV{'PD_IFORMS'} = '\\\\myservername\\AAA\\BBB\\CCC\\';

$ENV{'PD_IFORMS'} = '\\\\my.server.name\\AAA\\BBB\\CCC\\';

Does anybody know if I can change the line to use an ASCII character for example?

I hope I have posted this in the right area. Please let me know if this should be moved to the 'Perl / Scripting' area, although I have no idea how to move it ;-)

Many Thanks

Last edited by goodjuju; 07-20-2007 at 04:04 AM.. Reason: addition
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Illegal instruction(coredump)

Hi I am trying to execute a simple grep command looking for records in a filename that start with 01 (grep ^01 filename) and am getting the error Illegal instruction(coredump). Has anyone any idea why this happens? Is it due to the file being corrupted? Thanks (1 Reply)
Discussion started by: colinmas
1 Replies

2. Solaris

/etc/security/audit/SERVERNAME/files

What files are in this directory? Are they files that tell you what events have been performed on the system for the day? Also, I am searching in one of these files for a Permission Denied entry. How do I go about searching for this entry in these files if they are so huge and cannot display on my... (2 Replies)
Discussion started by: jastanle84
2 Replies

3. IP Networking

Illegal network activity

Hi, I have a wireless router connecting both windows and linux systems at home. I've discovered someone has been downloading illegal content on my network simply because they accidentally left the torrent downloader on their screen when showing me something. I removed their access for a few days... (1 Reply)
Discussion started by: neil999
1 Replies

4. Web Development

servername in apache httpd.conf

I'd like to know if servername in apache httpd.conf is the machine name or domain name. If it is domain name like example.com, should it be registered before in use? (1 Reply)
Discussion started by: yzhang738
1 Replies

5. Shell Programming and Scripting

pbrun ssh -l servername

Hi, Can you plz help me in the below command! what is the pbrun command does with ssh pbrun ssh -l servername (0 Replies)
Discussion started by: lnviyyapu
0 Replies

6. UNIX for Advanced & Expert Users

NFS server <servername> not responding still trying

Hi gurus, OS = SunOS 5.8 Not sure whether to post this in the scripting one or to advance and experts. Am posting on both since there is two things that am wanting to achieve. Am currerntly having NFS server errors below. At this stage, I am not sure whether I am having a SAN storage issue... (2 Replies)
Discussion started by: newbie_01
2 Replies

7. Shell Programming and Scripting

stat -c illegal option

I'm trying to get the size of each file, but when I try to use stat -c %s <file> I get the message stat: illegal option -- c Also, the man page for stat shows readlink,stat. It doesn't seem to match the man pages I've seen online. what is going on here? (6 Replies)
Discussion started by: nextyoyoma
6 Replies

8. Solaris

Illegal Instruction error

I keep getting a Illegal instruction error when running my MCP file below is the dump error message followed by truss log, dose anyone have any ideas? /opt/builds/bin/core: ELF 32-bit MSB core file SPARC Version 1, from 'mcp' *** Select Close or Exit from the window menu to close this window... (12 Replies)
Discussion started by: Wpgn
12 Replies

9. Shell Programming and Scripting

Regex to identify illegal characters in a perso-arabic database

I am working on Sindhi: a perso-Arabic script and since it shares the Unicode-block with over 400 other languages, quite often the database contains characters which are not wanted: illegal characters. I have identified the character set of Sindhi which is given below: For clarity's sake, each... (8 Replies)
Discussion started by: gimley
8 Replies

10. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
set_color(1)							       fish							      set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 07:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy