Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    1

    Dynamic mirrored volumes in Linux

    Greetings;

    I have a dual boot system running Ubuntu alongside Windows.

    On the windows side, I have two 4GB WD black drives configured through disk management to be mirrored dynamic drives, the...
  2. Thread: Mount point ?

    by yegnal
    Replies
    10
    Views
    11

    Re: Mount point ?

    mount | grep MISCSHARED:
    /dev/sde1 on /media/me/MISCSHARED type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,x-gvfs-hide)


    touch...
  3. Thread: Mount point ?

    by yegnal
    Replies
    10
    Views
    11

    Re: Mount point ?

    https://www.dropbox.com/s/thg1rw27hdtz0si/Screenshot%20from%202021-01-12%2013-52-28.png?dl=0Trying to upload a screenshot
  4. Thread: Mount point ?

    by yegnal
    Replies
    10
    Views
    11

    Re: Mount point ?

    https://www.dropbox.com/s/thg1rw27hdtz0si/Screenshot%20from%202021-01-12%2013-52-28.png?dl=0Screenshothttps://www.dropbox.com/s/thg1rw27hdtz0si/Screenshot%20from%202021-01-12%2013-52-28.png?dl=0
  5. Thread: Mount point ?

    by yegnal
    Replies
    10
    Views
    11

    Re: Mount point ?

    a. drwxrwxrwx 1 root root 8192 Jan 12 13:22 MISCSHARED
    b. drwxr-xr-x 2 me me 4096 Jan 12 14:31 MISCSHARED
  6. Thread: Mount point ?

    by yegnal
    Replies
    10
    Views
    11

    Mount point ?

    Greetings;

    Things were fine until suddenly I noticed Gimp was unable to access a directory I had been using all along.. No changes to the system occurred that I know of....

    The location in...
  7. Thread: Upgrade fails

    by yegnal
    Replies
    7
    Views
    8

    Re: Upgrade fails

    I have a laptop setup as dual boot which upgraded without a problem.

    On the machine I'm having trouble updating, I moved grub to sdb2 using grub customizer, but Ubuntu giving the same error when...
  8. Thread: Upgrade fails

    by yegnal
    Replies
    7
    Views
    8

    Re: Upgrade fails

    Sorry about that, I actually know better...
  9. Thread: Upgrade fails

    by yegnal
    Replies
    7
    Views
    8

    Re: Upgrade fails

    Boot Info Script 0.61 [1 April 2012]




    ============================= Boot Info Summary: ===============================


    => No boot loader is installed in the MBR of /dev/sda.
    =>...
  10. Thread: Upgrade fails

    by yegnal
    Replies
    7
    Views
    8

    Re: Upgrade fails

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 232.9G 0 disk
    ├─sda1 8:1 0 450M 0 part
    ├─sda2 8:2 0 100M 0 part
    ├─sda3 8:3 0 16M 0 part
    └─sda4 8:4 ...
  11. Thread: Upgrade fails

    by yegnal
    Replies
    7
    Views
    8

    Upgrade fails

    Greetings;

    20.04 will not upgrade to the latest 20.10 stating EFI System Partition (ESP) not usable
    Your EFI System Partition (ESP) is not mounted at /boot/efi. Please ensure that it is properly...
  12. Thread: Bash

    by yegnal
    Replies
    11
    Views
    12

    Re: Bash

    Adding sudo in the script before each cp command did the trick.
  13. Thread: Bash

    by yegnal
    Replies
    11
    Views
    12

    Re: Bash

    So how in the world do I accomplish copying a file, in a script, from my $HOME to /etc or /usr, because everything I'm doing is not working.



    myHome=$HOME/Documents/
    myDest=/tmp...
  14. Thread: Bash

    by yegnal
    Replies
    11
    Views
    12

    Re: Bash

    So, a simple test using
    $HOME'/Documents/'
    to copy a file works, I'm now guessing because I'm trying to copy to /usr/share/..... I'm getting some issue that even running as sudo is not allowing.
    ...
  15. Thread: Bash

    by yegnal
    Replies
    11
    Views
    12

    Re: Bash

    myPathVariable=$HOME'/Documents/'

    echo's correctly in terminal, error as before trying to copy a file.

    Error is: cp: cannot stat '/home/root/Documents

    It's being run as sudo, can't figure...
  16. Thread: Bash

    by yegnal
    Replies
    11
    Views
    12

    Re: Bash

    When I run a test script


    myHome=$(whoami)
    myPathVariable='/home/'$myHome'/Documents/'
    echo $myPathVariable

    I get /home/me/Documents/

    but when trying to copy I get
  17. Thread: Bash

    by yegnal
    Replies
    11
    Views
    12

    Bash

    At my wits end with this one

    Trying to write a script that will not only work on my machine, but if shared too. In that regard, I would need to refer to the ~/ or home directory in a script. ...
  18. Thread: Bash script

    by yegnal
    Replies
    1
    Views
    2

    Bash script

    Greetings;

    I want to create a simple script that can accessed via a keyboard shortcut, to open a terminal window FULL SCREEN, then run a simple command to run a screen saver program that runs in...
  19. Replies
    0
    Views
    1

    Keyboard shortcut

    Greetings;

    I want to create a simple script that can accessed via a keyboard shortcut, to open a terminal window FULL SCREEN, then run a simple command to run a screen saver program that runs in...
  20. Thread: man pages

    by yegnal
    Replies
    1
    Views
    2

    man pages

    From the man pages of the du command:


    -X, --exclude-from=FILE
    exclude files that match any pattern in FILE


    --exclude=PATTERN
    exclude files that match...
  21. Replies
    12
    Views
    13

    Re: Bash script sequencing

    So the solution comes in the form of chmod +x whatever.sh
    then ./whatever.sh

    It works this way, but not without the chmod.

    If I run it sh whatever.sh it fails.....
  22. Thread: Multiboot

    by yegnal
    Replies
    4
    Views
    5

    Multiboot

    Going to create a multi boot USB drive and hopefully move the 6 or so bootable thumb drives to one.

    Where do I source the .iso files ?

    Can I simply use dd to create .iso 's of each bootable...
  23. Replies
    12
    Views
    13

    Re: Bash script sequencing

    Invoking at the prompt: sh script.sh

    The post was for illustrative purposes, I have more complex intentions.

    The reason I included the successful iteration simply typed from a shell prompt...
  24. Replies
    12
    Views
    13

    Bash script sequencing

    In my shell environment:
    GNU bash, version 5.0.16(1)-release (x86_64-pc-linux-gnu)


    echo {1..10}
    1 2 3 4 5 6 7 8 9 10
    &
    echo {a..f}
    a b c d e f
  25. Thread: Sed

    by yegnal
    Replies
    5
    Views
    6

    Re: Sed

    Finally got it to work, got this from somewhere and solution was to run it twice, second iteration with a slight change

    $ sed ':a;N;$!ba;s/TEXT/replaceTEXT/1' file
    $ sed...
Results 1 to 25 of 46
Page 1 of 2 1 2