LinuxQuestions.org
Help answer threads with 0 replies.
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, 08: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, 08:28 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
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, 09:13 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
.#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, 10: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-18-2004 12:26 AM
why does sftp change mtime file attribute? hazelhill Linux - Software 3 10-17-2004 10:42 PM
%file attribute for RPM SPEC files Brian of Gep Fedora 0 06-15-2004 08:12 PM
file attribute question swmok Debian 2 05-20-2004 01:16 AM
VFAT file attribute SloppyO Linux - General 2 09-11-2001 12:24 AM


All times are GMT -5. The time now is 10:05 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration