Search:

Type: Posts; User: gug@fnal.gov; Keyword(s):

Search: Search took 0.21 seconds.

  1. Replies
    3
    Views
    2,647

    [all variants] Re: How does the 'du' command work?

    There is potentially wasted space as the filesystem allocates space in discrete chunks. For large files this is often insignificant in terms of percentage of space used. For tiny files this can be...
  2. [ubuntu] Re: Unsuccessful attempts to add some static IPs

    iface eth0 inet static
    address 192.168.1.222

    iface eth0 inet static
    address 192.168.111.222

    why is eth0 defined twice? Shouldn't the second one be eth1? This at least also seems to be the...
  3. [all variants] Re: Can I have a single /home partition for multiple distros?

    Hi,
    One more voice of caution about completely sharing your home directory between multiple distributions. Several years ago at work I split my time between two offices at work, in the morning in...
  4. Replies
    19
    Views
    827

    [ubuntu] Re: My Mouse Randomly Goes Berserk!

    Hi,
    I once had a hardware failure on my desktop that introduced a software bug on a remote system that was not triggered for days. The code was not invalid as the "interpreter/compiler" did not...
  5. [ubuntu] Re: I sync /home in two pcs but in pc2 firefox don't open

    Hi,
    Are the OS installations exactly the same? If not, then just mirroring the home area from one system to another may not work. I have had problems in the past with upgrades of RedHat Linux...
  6. Replies
    7
    Views
    1,400

    [all variants] Re: firefox imitating ie?

    I found the following trick for changing the agent firefox reports as to a server. Note: it is from 2 years ago...

    * Go To -> about:config
    * right click on Value and follow to new and then string...
  7. Replies
    6
    Views
    1,024

    [ubuntu] Re: Problem with Shell script (executing)

    It sounds like it might not like the first line of the script. I wonder about the control character at the end of that line. Maybe delete the first line and retype it by hand. Where did you edit this...
  8. Replies
    7
    Views
    1,547

    [ubuntu] Re: How to run Python interpreter in Hardy?

    Hi,
    I put the following line first in all my python scripts:

    #!/usr/bin/env python

    Thus as long as python is in my PATH (i.e. typing "python" brings up the interpreter) my code is setup to...
  9. Replies
    27
    Views
    14,198

    Re: Line numbers in emacs

    I don't know about prefixing each line in emacs, but there is line numbering mode available which will tell you what line your cursor is on. It is <meta-x> line-number-mode. To activate it hit "alt"...
  10. Replies
    3
    Views
    522

    [other] Re: Shell scripting doubt

    do you mean './myscript.sh' for example? If so, then it is telling the interpreter to use the version of myscript.sh found in the directory specified by './'. This can be important in an environment...
  11. [ubuntu] Re: Could somebody simplify these instructions for me?

    locate where the file is, go to that directory and use the tar command to unpack it and write out as individual directories and files. Optionally first copy the file to some place you like working:
    ...
  12. Replies
    2
    Views
    360

    [ubuntu] Re: Compiling for the first time

    I would recommend starting with a google search on something like "rebuild deb package". I did that and this is one of the first hits I found:...
  13. [ubuntu] Re: What am i supposed to do with this code?

    Um guys, this looks like a kernel driver patch to me. You need the kernel driver source code and kernel source headers at least. Then you need to apply the patch. There is a command called patch that...
  14. Replies
    9
    Views
    593

    [ubuntu] Re: Undeletable files

    Hi,
    If you want to remove a directory and the contents in it, "rmdir -r" <directory-name>" usually works well. If I am removing files in a directory I use rm, if I want to remove a directory I...
  15. [kubuntu] Re: mount partition as "/home" (kubuntu already installed)

    Hi,
    I am no expert, but I suspect that the system may not like changing mount points when those are currently mounted. I would approach this as follows:
    cd /etc
    sudo cp fstab fstab.save
    sudo...
  16. Replies
    7
    Views
    814

    Re: Problem mounting to NAS device

    Hi,
    Did you check at the commandline whether you can copy a file to the area? I could not tell from you post whether you were attempting to copy the file to the directory you created on the NAS...
  17. Replies
    3
    Views
    336

    [all variants] Re: Thunderbird password trouble

    Hi,
    It would be helpful to provide more information. How did you add the account in thunderbird? Did you change an existing account or add a new one? When I switched from a popserver to an...
  18. Replies
    9
    Views
    417

    Re: Output from diff

    diff -u $file1 $file2 | grep "+" | grep -v "@@" | sed-e"s%+%%"

    Not as elegant as some of the other suggestions.
  19. Re: implicit declaration of function ‘memcpy’...

    Hi,
    Try looking in the man pages for htonl, for example. I am not at my Ubunto system but according to the man pages on RHEL the proper include file is:
    #include <netinet/in.h>
  20. Replies
    6
    Views
    11,605

    [ubuntu] Re: Trying to Launch Imagemagick

    Hi,
    There should be one gui application that comes with imagemagic, at least in the rpm distro there is (I am not at my Ubuntu machine at the moment). The application is called "display".
    ...
Results 1 to 20 of 21