Search results

  1. A

    Problems stripping symbol table

    One question: why? But, searching with google, I came to following: I have not used strip for some time (and never on Mac), so I don't know if those are common options.
  2. A

    Loosing series amount of gigs

    Or better yet, use "df -H" ('H' as human readable). It prints disk size and free space in gigabytes (or megabytes or terabytes, depending on the size).
  3. A

    Loosing series amount of gigs

    You might also like to use find command on the Console (or Terminal.App). Type and you'll see files - starting from the root (/), i.e. all files - newer than 24 hours (-ctime -1) - bigger than 1 Mb (-size +1M)
  4. A

    Perl Print MacOSX

    I tried your script (on 10.6.4 also) and it work, i.e. printed Hello World. However, instead of chmod -x, use chmod +x. -x removes the execution permission.
  5. A

    External Drive for Backups or Files

    Ok, something about RAID. 1. RAID-1 is not backup. 2. RAID-1 is not backup. But about your scenario 2. Raid-0 is fast both on read and write. On your case file access might be three times better. It is better to have exactly same disks. If not, the size and speed is measured by the slowest...
  6. A

    Certificates

    Are you sure it is not the web site which does not have the certificate? If the site uses https: protocol, the site should have certificate. If not, it might be that someone has captured the site.
  7. A

    Linux apps and XDarwin

    No, even if the CPU is the same, the operating system is not, so you cannot run programs built for the other operating system (unless there is some kind of support on the operating system, like lxrun on Solaris for Linux). But, I guess if you have enough memory and disk on your Mac, you'd like...
  8. A

    command is used to get the usage of each CPU

    I am not sure about command line utility, but Activity Monitor shows CPU usage per core.
  9. A

    can't boot new i7 MBP

    When I bought my new MBP, the first time I started it, it offered a way to transfer my data from the old MBP. Ok, the "new" MBP is year old, but I guess Apple still has the feature.
  10. A

    erminal Problem (Terminal - login - 80x24)

    Create a new user account (or better yet, try the guest user) and try Terminal.App with it. If it works, (i.e. you can give commands that show something), there is some problem in the .bashrc, like a command that does nothing, like bash's read.
  11. A

    No Mountable Drive

    If you cannot mount the .dmg file, there is something wrong with the file, not (necessary) with your operating system. You can verify this by making another .dmg file and see how it behaves. To create a disk image file, use the Disk Utility program.
  12. A

    PHP:Does mysql_query("INSERT... return something useful?

    No, PHP's mysql_query returns either TRUE for success or FALSE on fail. If you need to do two thing (both INSERT the row and SELECT the new userID) at once, you might like to use stored procedures. I have coded some stored procedures, but on Oracle, so I cannot help you more, sorry.
  13. A

    Help with Java

    You give the class name as the argument to the "java" command. Since you gave argument "../flatfiles/BinParser", it assumed that you referred to the class ///flatfiles/BinParser. It tried to search the class in the current directory (in file named ///flatfiles/BinParser.class, I guess). Why not...
  14. A

    How do I "replace" folders/files?

    Replace them with what? If you mean rename, you can do that on Finder by selecting the file (or folder), pressing Cmd-I (or menu command File->Get Info) and giving new name on the Info window's Name & Extension field. If the name is on gray, you do not own the file and cannot rename it. If you...
  15. A

    No login window, just a blue screen!

    You can boot from the installation DVD, even the Snow Tiger upgrade DVD works (I had some problems with directory system a couple of weeks ago). To boot, hold down the C key after powerup. Run terminal.app and try to restore your system.
  16. A

    sudo command problem

    Yes, but this means that you are setting the access with two level: first level is the access rights on the directory to see the files and the second is to read the files (diff reads the files) via sudo. It would be easier to use only sudo, but there might be cases where two levels is ok.
  17. A

    sudo command problem

    Difference is, in my example sudo runs diff program, but in your example it runs sh program. sh is command shell; for example when you run Terminal.app, you are giving the commands to the shell (normally bash; sh is a little simple version of it). -c tells the shell that it will not read the...
  18. A

    sudo command problem

    I do not get your problem, but why not use sudo diff /tmp/file1 /tmp/file2 ? Or if there is some special characters on the file names, sudo diff "/tmp/file1" "/tmp/file2"
  19. A

    -bash: No such file or directory

    That webpage talked about ./configure instead of .config, so there are two options: 1. Type ./configure instead of .config 2. There is some file named .config. If there is, try ./.config If the second option was right, the reason is, your bash's search path does not contain "." (i.e., the...
Back
Top