Search:

Type: Posts; User: apmcd47; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    898

    [xubuntu] Re: Desktop icons gone!

    It's a while since I played with Xubuntu or XFCE, but isn't the default setting to not have desktop icons? Perhaps the settings have to be reconfigured to turn them back on?

    Andrew
  2. Replies
    2
    Views
    313

    Re: wget and cookies

    I had to write a similar script recently. Try this:

    wget --save-cookies cookies.txt --post-data 'username=USER&password=PASS' --cookies=on --keep-session-cookies...
  3. Thread: basic script

    by apmcd47
    Replies
    6
    Views
    668

    [SOLVED] Re: basic script

    Should we be helping with what is essentially homework?

    What has not been pointed out yet is the pipe causes the "while ... done" to be executed in a subshell. Regardless of the value of $M at the...
  4. Replies
    2
    Views
    620

    Re: 10.04LTS: makeinfo vs texinfo

    Have you actually installed texinfo? According to this link makeinfo is part of the texinfo package. I have just installed texinfo on my 12.04 precise installation, after first checking that makeinfo...
  5. Replies
    13
    Views
    2,122

    [SOLVED] Re: Need Help Creating A Mount Point On Newly Installed Internal HD

    This is true for external disks. This, however, is an internal disk. Also Steve_Campisano mentions having a database on this disk. It probably needs a permannent mount point which is guaranteed not...
  6. Replies
    13
    Views
    2,122

    [SOLVED] Re: Need Help Creating A Mount Point On Newly Installed Internal HD

    Okay, assuming you have a new disk at /dev/sdb, and you have created two primary partitions sdb1 and sdb2 as ext3 filesystems, which you want mounted at /data and /images respectively:

    Open two...
  7. Replies
    4
    Views
    826

    Re: Linux Project Suggestion..

    Are you talking about starting your own project or joining an existing one?

    Which programming language do you wish to use (or which languages do you know)?

    Andrew
  8. [SOLVED] Re: Changing IP address when sharing internet connection

    I would have thought Network Manager is already running on your system. You will need the following IP addresses:

    Unique address for your Ubuntu system
    Address for router (gateway address)
    ...
  9. Thread: C++ Compiling

    by apmcd47
    Replies
    11
    Views
    729

    Re: C++ Compiling

    Just a simple one:

    $ g++ helloworld.cpp
    $ ./a.out
    hello world
    hello you

    You used gcc instead of g++. I would have said it thought it was compiling C code rather than C++ but I'm not sure...
  10. Re: Bash - is anything wrong with this shorthand if statement

    Essentially equivalent, but not the same. Consider:

    [ -d "{HOME}" ] && echo "Well done" && false || echo "You are homeless"
    Well done
    You are homeless
    Because there is a "false" command there...
  11. Replies
    5
    Views
    668

    Re: Debian / Ubuntu Command Line Interface

    I don't know much about the Cisco CLI but I'm guessing it is a monolithic system containing all commands as part of the system. When you type a command in the Cisco CLI and hit "?" it knows what you...
  12. Replies
    4
    Views
    2,403

    [ubuntu] Re: Dropbox 2.0.0 behind proxy

    I have just tried Dropbox 2 on my system which is behind a proxy server. My findings:


    I have "Proxy settings" set to "Auto-detect" by default;
    Upgrading from Dropbox 1 to Dropbox 2 needs no...
  13. Replies
    4
    Views
    2,403

    [ubuntu] Re: Dropbox 2.0.0 behind proxy

    what happens if you set (export) HTTPS_PROXY, HTTP_PROXY, https_proxy and http_proxy prior to running dropboxd?
  14. [all variants] Re: permanently change the group associated with a file system object

    Odd. I don't have emacs so I can't confirm. Nobody is deleting or renaming the file while it is being edited?

    No, because once it is changed, it shouldn't keep changing back. It is however meant...
  15. [all variants] Re: permanently change the group associated with a file system object

    How is ross changing the file? Is he using an editor? If so, which editor?

    Andrew
  16. Replies
    11
    Views
    1,193

    [ubuntu] Re: How do I loop a bash script?

    To be honest I think you are better off rewriting the script to use a while loop as other posters have suggested. But if you insist on doing it that way and the script is otherwise passed no...
  17. Re: assigning a variable an integer value from a string

    Can I make just one comment about the original problem, viz:
    a=$(wc -l file.txt | cut -c1)
    When using wc with a filename is lists the filename, e.g:
    $ wc -l myfile
    45 myfile
    $
    But when it is...
  18. Replies
    10
    Views
    397

    [all variants] Re: IF statements in bash script

    After a very quick read of your code it looks to me that you have one equality check - the rest are inequality checks. given the values of the variables at the top of the code you basically drop into...
  19. Replies
    1
    Views
    1,509

    [ubuntu] Re: lftp mirror error unknown command

    Okay, first I'd like to suggest that you don't include the password in the script. Instead, use the .netrc file which would be kept in the home directory and has the format:

    machine randomhost.com...
  20. Replies
    2
    Views
    333

    [kubuntu] Re: Program notifications too short

    Check to see if any part of Gnome is still running on your system. I remember once Nautilus would leave something running in the background which would then restart every time you started a new...
  21. Replies
    8
    Views
    1,304

    [ubuntu] Re: Recovering Windows files with Ubuntu LiveCD

    OK Ignore this post. From those other posts it looks like you have a dead drive

    ===================

    I think you were looking at the virtual file system of your live CD there. Try opening a...
  22. Replies
    10
    Views
    1,239

    Re: Adventure games

    Only the original!

    To play it install the bsdgames package.

    Andrew
  23. Replies
    16
    Views
    1,815

    [all variants] Re: I Don't Need A Display Manager?

    Ideally you would turn off the X display manager but I can't find out how to do that on Ubuntu right now. So how about this?

    Before logging on press the key combination Ctrl-Alt-F1
    Log in at...
  24. Replies
    7
    Views
    3,490

    Re: substract days with date in bash

    find /backups/server/full_site/monthly -name 'backup_*.tgz' -mtime +90 -print0 | xargs -0 rm -f

    should delete files that are 90 days old. If you want something more precise you could look at %j...
  25. Replies
    8
    Views
    406

    [ubuntu] Re: New to Ubuntu and SSH server (public key)

    I notice you are asking some basic questions but only the ones surrounding ssh are being answered.

    You said you could not see the .ssh directory. Hidden files on Windows rely on a file attribute -...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4