OS X Problems

Posted:
in macOS edited January 2014
When I try to go back into a different directory using the ".." command, it says permission denied, EVEN when i login as root.



Can I use a different x-window in OS X?



Is there a way to get a list of current users logged onto my system? And how do i kick somone off if they are logged on?



Thanks in advance
«1

Comments

  • Reply 1 of 26
    chychchych Posts: 860member
    I think it's "cd .." not just ".."
  • Reply 2 of 26
    spartspart Posts: 2,060member
    I have the same problem, and no, .. is a command, although cd .. does work.



    Let me guess, you updated to Jag instead of archiving/clean install?
  • Reply 3 of 26
    ast3r3xast3r3x Posts: 5,012member
    [quote]Originally posted by Spart:

    <strong>I have the same problem, and no, .. is a command, although cd .. does work.



    Let me guess, you updated to Jag instead of archiving/clean install?</strong><hr></blockquote>



    of course, why do you ask? loose all my prefs are you crazy?! and i'm notabout to drag over manually
  • Reply 4 of 26
    spartspart Posts: 2,060member
    [quote]Originally posted by ast3r3x:

    <strong>



    of course, why do you ask? loose all my prefs are you crazy?! and i'm notabout to drag over manually</strong><hr></blockquote>







    This is exactly why Apple created the archive and install option, but I guess the knowledge of that was wasted on you.



    Archive and install will install a new copy of OS X and migrate over your old prefs, documents, etc. It will then move the old sys folder somewhere else so you can copy over whatever the installer didn't catch.
  • Reply 5 of 26
    ast3r3xast3r3x Posts: 5,012member
    don't have enough room...old G3 HD 6GB, and my 60GB FW can' run OS X to my knowledge
  • Reply 6 of 26
    spartspart Posts: 2,060member
    I feel your pain...even worse. 4GB drive.
  • Reply 7 of 26
    chychchych Posts: 860member
    Eh, I don't think it is a 10.2 update issue, my DP1250 came with 10.2 and I can't use "..", just "cd .." Heck, ".." doesn't work in XFree86 either, nor bash, nor does it work in DOS



    ..Maybe I'll run downstairs and see if it works in Solaris...
  • Reply 8 of 26
    .. is a command alias, not a command by itself. It's defined by



    alias .. 'cd ..'



    See the stuff in /usr/share/tcsh/examples for details on enabling this in your terminal.
  • Reply 9 of 26
    spartspart Posts: 2,060member
    It was always enabled before, and the only people I've heard having problems with it are those who did an Update install of Jaguar (bar you, chych.)
  • Reply 10 of 26
    chychchych Posts: 860member
    Geez that was too easy to fix... thanks King...



    just added alias .. 'cd ..' to my .cshrc and it works now... I wonder if Jaguar turns it off or something...
  • Reply 11 of 26
    ast3r3xast3r3x Posts: 5,012member
    haha ok i'm there now how do i run it or look at it...you'll have to forgive me, i'm slowly learning unix...its a quest ya see, i wont be happy till i'm a unix pro
  • Reply 12 of 26
    lucaluca Posts: 3,833member
    [quote]Originally posted by Spart:

    <strong>I feel your pain...even worse. 4GB drive.</strong><hr></blockquote>



    Hah! For quite a few months, I was running from a Wallstreet with a 2 GB drive. Before that, until spring, it was an 8100 with a 1 GB drive. So I got ya beat! It sucked though



    Of course, now, I'm kind of beating it to hell by getting a G4 tower with a 40 GB drive and then deciding that 40 GB is too small and getting an 80 GB drive.
  • Reply 13 of 26
    chychchych Posts: 860member
    ast3r3x, this is what I did...

    In your home directory, edit the file ".cshrc", or create one if it does not exist using your favorite text editor(I *think* the .cshrc is sort of a startup script for your shell). Just add the line King wrote: alias .. 'cd ..' and save the file, exit the shell, relaunch, should work.
  • Reply 14 of 26
    amorphamorph Posts: 7,112member
    [quote]Originally posted by chych:

    <strong>Geez that was too easy to fix... thanks King...



    just added alias .. 'cd ..' to my .cshrc and it works now... I wonder if Jaguar turns it off or something...</strong><hr></blockquote>



    Sort of.



    Mac OS X 10.0 and 10.1 shipped with a custom .tshrc. I'm spacing on the guy's name because I haven't had coffee yet, but he was the first UNIX guru to head the Darwin team. 10.2 reverted to a standard .tshrc, so all the funky little aliases and settings "vanished." [edit: It was Wilfredo Sanchez' .tschrc, now archived in the "examples" directory given in a post further down.]



    Also, I've never had any trouble booting X from a FireWire drive.



    [ 11-23-2002: Message edited by: Amorph ]</p>
  • Reply 15 of 26
    ast3r3xast3r3x Posts: 5,012member
    you ba$tard...how in the WORLD do you know that?! <img src="graemlins/bugeye.gif" border="0" alt="[Skeptical]" />
  • Reply 16 of 26
    ast3r3xast3r3x Posts: 5,012member
    can somone email me their cshrc because i dont have one, and not really sure what it is supposed to look like, and where to add alias cd ..



    and am i putting "alias .. cd .."

    -or-

    am i putting "alias .. 'cd ..'"
  • Reply 17 of 26
    [quote]Originally posted by ast3r3x:

    <strong>can somone email me their cshrc because i dont have one, and not really sure what it is supposed to look like, and where to add alias cd ..



    and am i putting "alias .. cd .."

    -or-

    am i putting "alias .. 'cd ..'"</strong><hr></blockquote>



    If you don't have on (it's hidden, so try looking with "ls .cshrc" to make sure it really doesn't exist), just open a terminal window, go to your home directory, and type or copy&paste the following:



    [code]

    echo alias .. \\'cd ..\\' &gt; .cshrc

    </pre><hr></blockquote>



    Bye,

    RazzFazz
  • Reply 18 of 26
    ast3r3xast3r3x Posts: 5,012member
    thank you so much...kinda daunting that it says using dumb terminal haha
  • Reply 19 of 26
    spartspart Posts: 2,060member
    That isn't working for me...still says permission denied. Not getting any kind of feedback after the command either.
  • Reply 20 of 26
    ast3r3xast3r3x Posts: 5,012member
    [quote]Originally posted by Spart:

    <strong>That isn't working for me...still says permission denied. Not getting any kind of feedback after the command either.</strong><hr></blockquote>



    that worked for me, try sudo (the code he posted)
Sign In or Register to comment.