Closed Thread
Results 1 to 9 of 9

Thread: Terminal on mac OS X 10.4.11. Help

  1. #1
    restin84's Avatar
    restin84 is offline Learning Programmer
    Join Date
    Oct 2008
    Location
    Jersey
    Posts
    47
    Rep Power
    0

    Angry Terminal on mac OS X 10.4.11. Help

    Hi guys I'm learning how to use terminal through an online tutorial
    I'm practicing making an alias for specific commands(cd, rm, etc.) so that I don't have to use the -i flag before using a command. It says to make a dummy file in documents and then use the rm command and I should be prompted to decide if it is okay to remove it but when I get the listing of whats in the documents directory(ls) and see the dummy file I made to remove(dummy file.rtf) and then hit the command rm dummy file.rtf it says there is no such file or directory. But its right in front of my face! Even if the alias didn't work its still not doing anything. Whats wrong? Any suggestions for a better tutorial?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2008
    Location
    Somewhere that is shorter to write than "In the gloomy shadows of my personal namespace"
    Posts
    10,725
    Blog Entries
    2
    Rep Power
    90

    Re: Terminal on mac OS X 10.4.11. Help

    1) Shouldn't this be moved to another forum?

    1++) What language are you programming in?
    Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

  4. #3
    Jordan Guest

    Re: Terminal on mac OS X 10.4.11. Help

    You will probably need to escape the space (Unix and FreeBSD file systems do not handle spaces well). Try this

    # rm dummy\ file.rtf

  5. #4
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Terminal on mac OS X 10.4.11. Help

    You can also try typing
    # rm "dummy file.rtf"
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    restin84's Avatar
    restin84 is offline Learning Programmer
    Join Date
    Oct 2008
    Location
    Jersey
    Posts
    47
    Rep Power
    0

    Thumbs up Re: Terminal on mac OS X 10.4.11. Help

    yep the quotes worked. Thanks

    By the way. Am I in the right forum? I am interacting with the OS right??? (not being a smart ***)

  7. #6
    Join Date
    Jul 2008
    Location
    Somewhere that is shorter to write than "In the gloomy shadows of my personal namespace"
    Posts
    10,725
    Blog Entries
    2
    Rep Power
    90

    Re: Terminal on mac OS X 10.4.11. Help

    I think you are, I just misunderstood and thought you were programming replacements of those commands.
    Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

  8. #7
    restin84's Avatar
    restin84 is offline Learning Programmer
    Join Date
    Oct 2008
    Location
    Jersey
    Posts
    47
    Rep Power
    0

    Re: Terminal on mac OS X 10.4.11. Help

    Yeah just thought I would make sure in case I have more questions involving the same subject

  9. #8
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Terminal on mac OS X 10.4.11. Help

    You're in the right section. We'd move you if you weren't
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  10. #9
    Jordan Guest

    Re: Terminal on mac OS X 10.4.11. Help

    Odd, I wonder why \ escape didn't work. It works in Sabayon/OpenSuse/CentOS.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ioctl messes up the terminal
    By DarkLordofthePenguins in forum C and C++
    Replies: 1
    Last Post: 10-13-2011, 09:24 AM
  2. errors compilling in terminal
    By ogopa in forum C and C++
    Replies: 2
    Last Post: 07-21-2011, 11:59 AM
  3. Replies: 3
    Last Post: 05-25-2011, 12:21 PM
  4. Open in terminal.
    By agnl666 in forum Linux/Unix General
    Replies: 1
    Last Post: 09-18-2010, 10:43 AM
  5. resizing terminal
    By frank101 in forum C and C++
    Replies: 5
    Last Post: 08-14-2010, 10:56 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts