Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Insert text from one file into another text file

    Thanks CatKiller.
  2. Re: Insert text from one file into another text file

    It does not work because it is root owned.

    I tried


    echo xx | sudo -S cat AddTo_hosts.txt >> /etc/hosts
  3. Insert text from one file into another text file

    I would like to be able to insert the contents of a text file at the end of the host file.

    I need that because my hosts file is frequently updated.

    How can I do that?

    Thanks.
  4. Re: Script does not run after returning from sleep state

    I tried it.

    Does not work for me.
  5. Re: Script does not run after returning from sleep state

    It has the exe bit set.


    -rwxr-xr-x 1 root root 237 Feb 24 13:21 99_DoorBell.sh*

    I put it in /lib/systemd/system-sleep/ also.

    Still did not run?
  6. Re: Script does not run after returning from sleep state

    Initial commandline parameters:
    Mon Aug 17 09:10:35 CDT 2020: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:...
  7. Re: Script does not run after returning from sleep state

    pm-suspend.log is a zero byte file.

    I saw there is also pm-suspend.log.1 which is not empty.
  8. Script does not run after returning from sleep state

    I have this in /usr/lib/pm-utils/sleep.d/ but it does not execute when returning from the sleep state.


    #!/bin/sh

    PATH=/usr/bin/:/usr/share/sounds/

    case "$1" in
    resume|thaw)
    ...
  9. Thread: Update BIOS

    by raleigh3
    Replies
    3
    Views
    4

    [SOLVED] Re: Update BIOS

    Thanks Celtic Warrior.
  10. Thread: Update BIOS

    by raleigh3
    Replies
    3
    Views
    4

    [SOLVED] Update BIOS

    I thought about seeing if updating my BIOS.

    (I read that you can brick a computer if the process in interrupted.)

    This is my BIOS info.

    Base Board Information (Mother board)
    ...
  11. Replies
    0
    Views
    1

    Lost all desktop icons

    I was cleaning my keys and I managed to lose all of my desktop icons.

    One of those keys was the space bar.

    I also can not add any new programs to the desktop.

    When I right click on the...
  12. Remove all files in /home/andy/.local/share/Trash/files

    I am trying to delete every file and directory in the Trash directory.

    I know I can just empty the trash, but this part of a cronjob.

    I have this and it works on Most files, but not all.

    ...
  13. Replies
    2
    Views
    3

    [other] Re: where are the logs?

    Look at Log File Viewer.
  14. Thread: Hosts file

    by raleigh3
    Replies
    7
    Views
    8

    [SOLVED] Re: Hosts file

    You can add sites that you do not want to open up in your browser.

    http://accs-net.com/hosts/benefits_restrictions.html
  15. Thread: Hosts file

    by raleigh3
    Replies
    7
    Views
    8

    [SOLVED] Re: Hosts file

    That's what I am using.
  16. Thread: Hosts file

    by raleigh3
    Replies
    7
    Views
    8

    [SOLVED] Re: Hosts file

    I like their hosts file because it blocks so many junk sites.
  17. Thread: Hosts file

    by raleigh3
    Replies
    7
    Views
    8

    [SOLVED] Hosts file

    I having been using the hosts file from mvps hosts.

    They went to 0.0.0.0 instead of 127.0.0.1 because of a conflict with Windows 8.1.

    Is my host file working or do I need to change all of them...
  18. Replies
    6
    Views
    7

    Re: scangearmp2 can not find any scanners

    I am trying to think "outside the box." :-)

    To use my scanner, I had to leave 18.04 installed while also having 20.04.

    Which uses a lot of space and it takes longer for cloning program to make...
  19. Replies
    6
    Views
    7

    Re: scangearmp2 can not find any scanners

    What is PPA?

    scangearmp2 is part of the drivers for the scanner.
  20. Replies
    6
    Views
    7

    Re: scangearmp2 can not find any scanners

    Should I report this as a bug to Launchpad?

    There is nothing in /var/crash, but a scanner not working is pretty serious, especially since it worked in previous distros.
  21. Replies
    4
    Views
    5

    [SOLVED] Re: Hard time using find...-exec

    rm /home/andy/.local/share/Trash/files/*.deb
  22. Replies
    2
    Views
    3

    [SOLVED] Re: Grub Customizer

    With my installation, the older version is the default boot.

    UM 20.04 "broke" my Canon TS9120 scanner.

    And based on bug reports, it has broken other hardware as well.

    That's why I keep 18.04...
  23. Replies
    4
    Views
    5

    [SOLVED] Re: Hard time using find...-exec

    The files themselves go to


    /home/andy/.local/share/Trash/files/

    My entire script.


    #!/bin/bash
    find /home/andy/.local/share/Trash/expunged/ -type f -exec rm {} \;
  24. Replies
    4
    Views
    5

    [SOLVED] Hard time using find...-exec

    I am having a hard time understanding how to use -exec.

    I am trying to delete all .deb files.

    This does not work and returns no messages when run.


    find...
  25. Replies
    2
    Views
    3

    [SOLVED] Grub Customizer

    I am trying to use Grub Customizer on grub.cfg.

    I want to select which of 2 versions of Ubuntu Mate boot up.

    But it is not opening the right one.

    The right one is located here.

    ...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4