Search:

Type: Posts; User: john newbuntu; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. [ubuntu] Re: How to see which software was uninstalled in Ubuntu Software Center?

    Actually just closing and re-opening the software center helps(at least in my case). Looks like the view is not getting updated in real time. Another option is to look at /var/log/dpkg.log and...
  2. [ubuntu] Re: How to do VAR=right($MYSTRING,1) with SH (not bash)?

    awk/bash does a cleaner job. But if sh is what you want, one possible solution is:
    echo $X | cut -c ${#X}
    where X is your string. But make sure $X is not blank. I'm sure there are cleaner...
  3. [ubuntu] Re: 5 min warning before script will be run

    I can sugggest a slightly different way if you are prepared to use zenity and
    cron. Create a script such as this one(say /home/user/.logout.bash):

    #/bin/bash
    (
    echo "# System shutting down...
  4. Replies
    19
    Views
    140,828

    Re: HOWTO: Recover Lost Disk Space

    Thanks for the great article drs.

    One point to note - There are some instances when cron fails to run or /var/log/syslog or some other log fills up. It is good for the user to open up these...
  5. [ubuntu] Re: Clean Install vs. Upgrade -- Lucid to Maverick

    I did a new install of 10.10 and an upgrade on 2 separate machines. Both went just fine and are fast too. Yes there are some minor glitches with 10.10. I have been upgrading for the last 3 versions...
  6. Replies
    6
    Views
    869

    [SOLVED] Re: Cronjob + update = 12

    1. "touch .Xauthority" on the users home directory might help.
    2. It exists on version 2.32.0-0ubuntu1. Don't know of a workaround.
    3. update and upgrade merely retrieve the index files and...
  7. Replies
    6
    Views
    869

    [SOLVED] Re: Cronjob + update = 12

    1. I have a feeling you might be missing the DISPLAY variable in your environment. Check this: https://help.ubuntu.com/community/CronHowto#GUI%20Applications
    or just add this as the first line to...
  8. Replies
    11
    Views
    966

    [SOLVED] Re: Problem with cron

    So, it looks like cron works although not with your command. I don't see anything wrong with the commands in posts 7 and 8 since it works for me. Check your email for any errors by typing 'mail'
    ...
  9. Replies
    11
    Views
    966

    [SOLVED] Re: Problem with cron

    Try this:

    30 17 * * 1-5 /home/usr/main.sh > /home/usr/log/`date +\%Y-\%m-\%d`.log 2>&1
  10. Replies
    15
    Views
    4,786

    [ubuntu] Re: add unallocated space to partition

    Needless to say, after the exercise in post #8, adjust the UUIDs in /etc/fstab and re-install grub if you are grub-booting. Or use grub rescue mode commands. Slightly lesser pain in adding that...
  11. [ubuntu] Re: Ubuntu Backup, Separate Partition for Grub

    @dcstar, backing up a partition does back up the MBR and the post-mbr region (at least that is what the message on my screen indicates in newer versions of clonezilla):...
  12. [SOLVED] Re: Shell scripting and Cron - Newb Problems

    Try with full path "/sbin/ifconfig" and see if it works.
  13. Replies
    2
    Views
    426

    Re: Urgent: POSIX: Programming issue

    One way to do this would be to make the first thread wait on a condition in a loop and then make the second thread give it the go signal whenever it is ready to relinquish control. I think it is...
  14. [ubuntu] Re: Dual Booting Windows XP and Ubuntu Problems

    First of all, welcome to Ubuntu.

    Try changing the boot order of drives in BIOS. Let the BIOS look at the Ubuntu drive first and then the windows drive. Here's a guide that may be of some help to...
  15. [SOLVED] Re: Shell scripting and Cron - Newb Problems

    If I am right, the .0 is a display number referring to a specific screen on your TCP connection.
  16. [SOLVED] Re: Shell scripting and Cron - Newb Problems

    Normally an X server serves multiple screens. You need to indicate where to display your new window when run from other areas like cron. So, throw in a line like:
    export DISPLAY=:0.0
    just before...
  17. [ubuntu] Re: Grub2 - Windows 7 not listed in boot menu

    Just a few suggestions:
    1. Change your boot flag from /dev/sda2 to /dev/sda3.
    2. The /grldr located on your sda3 indicates that at some point you used grub4dos for booting or some other bootloader,...
  18. Replies
    5
    Views
    570

    [ubuntu] Re: Exact hard drive copy

    If you are using dd, use options like conv=notrunc,noerror to keep going even if there are any hard disk errors. Also try looking at ddrescue which can handle errors slightly better, retry...
  19. [ubuntu] Re: Reformatting Vista without affecting Ubuntu partition

    Frankly I am unsure on how the HP recovery works (whether it reformats the entire drive or just the main OS factory settings partition-wise). But I would suggest making a backup image of your...
  20. Replies
    8
    Views
    734

    [ubuntu] Re: Script to shrink partition

    At some point you mention that "Command file : deletes the sda1 partition and recreates it". Well, right there you are wiping out sda1. Instead you need to resize your partition properly. And...
  21. [ubuntu] Re: How bad have I messed things up? sudo chown /*

    Oops. Unfortunately, I do not know of a tool that can re-instate permissions on all files/dirs, although there may be one available. One way of looking at it is "as long as it works, it works. If...
  22. Replies
    4
    Views
    753

    [SOLVED] Re: Where it's "at"

    Put this in a file called say, "A". (Check pathnames etc first)

    export DISPLAY=:0.0
    /usr/bin/firefox /home/<userid>/file.htmlThen type this at the command line

    at now +10 minute -f A
  23. Replies
    5
    Views
    443

    [ubuntu] Re: "Grub Issue"

    I am assuming yours is a simple/straightforward install with part of Grub2 installed to the MBR and that you have only one disk. So you have ubuntu on sda5 and sda7. When you run this command from...
  24. Replies
    4
    Views
    753

    [SOLVED] Re: Where it's "at"

    "at" works for me. Assuming "A" to be a file either of these will run the command (permissions permitting)

    at -f A 7:15AM
    at now +3 minute -f AMy at version is 3.1.11 and make sure that you...
  25. Replies
    3
    Views
    4,655

    Re: Java collection.sort problem

    It's been a while since I did java. But since you have defined a natural ordering in Book class, you just need to call Collections.sort(books) in your remoteSort() method. You don't need a sortarray...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4