LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2007, 07:18 PM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
straightforward file attribute question


doing ls -la on this one directory I received an output of normal looking files and directories... and then this thing:

Code:
lrwxrwxrwx 1 justin justin    23 2007-12-05 20:14 .#test1.sh -> justin@cpu-justin.11128
What is that? The ".#test1.sh" part was colored in red.
 
Old 12-05-2007, 07:28 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by Geminias View Post
doing ls -la on this one directory I received an output of normal looking files and directories... and then this thing:

Code:
lrwxrwxrwx 1 justin justin    23 2007-12-05 20:14 .#test1.sh -> justin@cpu-justin.11128
What is that? The ".#test1.sh" part was colored in red.
Have you been using a tutorial? Maybe it was an example file that you created. Have a look at the files contents.
 
Old 12-05-2007, 08:13 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
.#test1.sh is a symbolic link to the file justin@cpu-justin.11128 - it is coloured red because it can't find the file justin@cpu-justin.11128. Probably it was deleted if (as {BBI}Nexus{BBI} suggests) you were doing a tutorial.
 
Old 12-05-2007, 09:01 PM   #4
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
A tutorial? I use tutorials often but I don't think it applies here... the test1.sh is a test harness for a C program I wrote, and I have absolutely no idea how that #test1.sh file got in there nor do I know how it figures there was ever a file named justin@cpu-justin.11128.

I've been running this script often and doing many modifications on it in emacs... Also I noticed this file is now gone (and I didn't delete it).


Maybe emacs created this weird thing as a backup?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what sort of file attribute is this: b--Srws-wt BrianK Linux - General 6 12-17-2004 11:26 PM
why does sftp change mtime file attribute? hazelhill Linux - Software 3 10-17-2004 09:42 PM
%file attribute for RPM SPEC files Brian of Gep Fedora 0 06-15-2004 07:12 PM
file attribute question swmok Debian 2 05-20-2004 12:16 AM
VFAT file attribute SloppyO Linux - General 2 09-10-2001 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration