Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Problem for extension .fs in Linux Post 72617 by donaldfung on Monday 23rd of May 2005 03:38:52 AM
Old 05-23-2005
Problem for extension .fs in Linux

Hi,

My company has a RH Linux AS server ( Linux 2.4.21-27.0.2.ELsmp ).

I'm currently writing some shell scripts. I observed that if I vi a file with .fs extension. It prompts me the following error:

"123.fs" 0L, 0C
W18: Invalid character in group name

If I vi a file with no .fs, it is normal. But when I change its name with .fs extensive, the problem occurs.

I have tried other linux, but no problem.

What's happen? Did my linux vi corrupt? or it recognize special file extension?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux Redhat 8.0 Problem

can someone tell me what commands in Linux RedHat 8.0 will give me a graph of whats going on on my system. When Is ay graphs I mean graphs like does produced by perfview of solaris and glance of HP-UX. (3 Replies)
Discussion started by: TRUEST
3 Replies

2. Linux

ftp problem in linux

Hello,all I want set ftp access for specific user. The user can only access specific directory and cannot access upper level directory. For example: I have /home/vhosts/likke.com I like a user to access likke.com but not vhosts. How can I implement this ? Thanks a lot! (1 Reply)
Discussion started by: xli3
1 Replies

3. UNIX for Dummies Questions & Answers

extension problem please help

I am executing a program wp1s0000.sh_old and it is executing as expected irrespective of the extension "sh_old" how is this possible ?? (1 Reply)
Discussion started by: sharmasdeepti
1 Replies

4. UNIX for Advanced & Expert Users

Linux Authentication Problem

Hi, I have a Debian Etch box. Yesterday I changed some LDAP configuration but after that I replaced the LDAP client configuration with my old backups. Now I can' login to the system even with local root. The system says: Insufficient credentials to access authentication data I know it was a... (2 Replies)
Discussion started by: mjdousti
2 Replies

5. Ubuntu

Problem while booting linux

Hi all, We are using linux Redhat 9. While booting the server, it says /proc not mounted and it says "Segmentation fault" and doesn't continue with booting. Basically, it started while we inserted a pen drive and removed it without mounting and un mounting it. After removing the pen drive &... (1 Reply)
Discussion started by: mjdarm
1 Replies

6. UNIX for Dummies Questions & Answers

Problem with new linux server

Hi all, We have migrated from a unix solaris server to a linux server. When we run the same pieces of code, they are behaving very differently. Some of the problems I am facing are - cat filename | read var1 var2 echo "var1 var2" works in unix, but returns null values in linux. ... (4 Replies)
Discussion started by: novice1324
4 Replies

7. Homework & Coursework Questions

Problem with users in Linux

Hi. I have a problem with my homework. I have to do a Script that will tell me the number of users that are logged in on my system through a network and find out their IP's. Can you give me an idea? Thanks (1 Reply)
Discussion started by: mitzu
1 Replies

8. Shell Programming and Scripting

extension building make GNU Linux

Hi, I do "touch poub.mlc" Download my Makefile, But when I try : make -f Makefile.txt(.txt in order my file to be accepted for upload), it says:"no rule for poub.mlo target" What is wrong in my Makefile(test yourself please before posting)? (1 Reply)
Discussion started by: synhedionn
1 Replies

9. UNIX for Dummies Questions & Answers

Display the .csv extension files based on .done extension fine

Hi All, I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing. 1.I need to display the .done files from the directory. 2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory ... (2 Replies)
Discussion started by: girija.g6
2 Replies

10. UNIX for Advanced & Expert Users

Linux lock problem

Hi Team, I have a requirement to access a shared resource from the user and interrupt context. What type of locking mechanism I have to use for this. Can any body give advice on this. Thanks in advance. -Shiva (4 Replies)
Discussion started by: shivakoteswarra
4 Replies
Linux::Distribution(3pm)				User Contributed Perl Documentation				  Linux::Distribution(3pm)

NAME
Linux::Distribution - Perl extension to detect on which Linux distribution we are running. SYNOPSIS
use Linux::Distribution qw(distribution_name distribution_version); if(my $distro = distribution_name) { my $version = distribution_version(); print "you are running $distro, version $version "; } else { print "distribution unknown "; } Or else do it OO: use Linux::Distribution qw(distribution_name distribution_version); my $linux = Linux::Distribution->new; if(my $distro = $linux->distribution_name()) { my $version = $linux->distribution_version(); print "you are running $distro, version $version "; } else { print "distribution unknown "; } DESCRIPTION
This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files. It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific, oracle enterprise linux and redflag. It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-) EXPORT None by default. TODO
Add the capability of recognize the version of the distribution for all recognized distributions. AUTHORS
Alexandr Ciornii <alexchorny@gmail.com>, <http://chorny.net> Alberto Re, <alberto@accidia.net> Judith Lebzelter, <judith@osdl.org> COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2012-03-18 Linux::Distribution(3pm)
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy