Re: What's up with bash shell and spaces in filenames?

2010-05-10 Thread Jeff Voskamp
On 05/10/2010 12:03 PM, Alan Evans wrote:
> On Mon, May 10, 2010 at 8:54 AM, Fennix  wrote:
>
>> I made the directory My Book and tested before replying and it worked here.
>> You can also try cd /media/My* which also should work.
>>  
> I believe you. And like I said, it usually works for me. But sometimes
> bash gets in a mood and won't let me express a file name with spaces
> in it. It's very frustrating since it usually happens when I can't
> access the file any way but through a shell. (Like our company file
> server, which has many nodes with spaces in them due to the
> proliferation of Windows users.) I'd always assumed it had something
> to do with the Samba share, but this time is interesting because it's
> the first time I recall it happening exclusively on my local machine
> with no shares involved at all.
>
> By the way:
>
> [a...@agena ~]$ cd /media/My*
> bash: cd: /media/My: No such file or directory
>
> Thanks, anyway.
>
Try
cd /media
ls -bl

and send us the results.

Jeff
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: [OT] Deafening silence

2010-03-15 Thread Jeff Voskamp
On 03/15/2010 11:38 AM, Patrick O'Callaghan wrote:
> On Mon, 2010-03-15 at 08:16 -0700, Antonio Olivares wrote:
>
>> What is Goodwin's law?  I only know about the "Law of Sines" and the
>> "Law of Cosines" :)
>>  
> http://en.wikipedia.org/wiki/Godwins_law
>
> poc
>
Since Godwin's Law has been mentioned before its prerequisites have been 
satisfied it is no longer applicable.

Jeff
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Difference between g++ and c++?

2010-01-27 Thread Jeff Voskamp
On 01/27/2010 06:37 AM, Andrew Haley wrote:
> On 01/27/2010 11:34 AM, Joachim Backes wrote:
>
>
>> Maybe for the 64bit binaries, but not for the 32bit binaries:
>>
>> file /usr/bin/g++ /usr/bin/c++
>>
>> /usr/bin/g++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
>> dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
>> /usr/bin/c++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
>> dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
>>  
> They are the same file:
>
>   $ ls -il /usr/bin/g++ /usr/bin/c++
> 33599 -rwxr-xr-x. 4 root root 270968 2009-12-22 13:03 /usr/bin/c++*
> 33599 -rwxr-xr-x. 4 root root 270968 2009-12-22 13:03 /usr/bin/g++*
>
> Andrew.
>
The "4" in the ls  output means there are 4 file names which reference 
the same file (i.e. it's a hard link).

For example:
[javos...@amnesia ~]$ mkdir z
[javos...@amnesia ~]$ cd z
[javos...@amnesia z]$ touch abc
[javos...@amnesia z]$ ln -f abc def
[javos...@amnesia z]$ touch ghi
[javos...@amnesia z]$ ls -l
total 0
-rw-rw-r--. 2 javoskam javoskam 0 2010-01-27 10:49 abc
-rw-rw-r--. 2 javoskam javoskam 0 2010-01-27 10:49 def
-rw-rw-r--. 1 javoskam javoskam 0 2010-01-27 10:49 ghi
[javos...@amnesia z]$ echo "hello there" >>abc
[javos...@amnesia z]$ ls -l
total 8
-rw-rw-r--. 2 javoskam javoskam 12 2010-01-27 10:50 abc
-rw-rw-r--. 2 javoskam javoskam 12 2010-01-27 10:50 def
-rw-rw-r--. 1 javoskam javoskam  0 2010-01-27 10:49 ghi

Jeff

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines