Search:

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

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. [ubuntu] Re: Bash: How can I pass a wildcard as a parameter within a script?

    Are you 100% sure that you condition works as it should?



    EXCLUDE=""
    if [ some_condition ]; then EXCLUDE="--exclude=/*"; fi
    # Debug print to verify condition
    print ${EXCLUDE}
    # Proceed...
  2. [ubuntu] Re: Bash: How can I pass a wildcard as a parameter within a script?

    Have you tried to use "$EXCLUDE" instead of "${EXCLUDE}"?

    In your example, the "*" makes little sense. Would have made sense if you would want to exclude all files with a specific extension, like...
  3. Replies
    6
    Views
    7

    [ubuntu] Re: crontab @reboot fails to run

    The common issue with cron is that there is no environment available so if any of the commands rely on information from the env, they will fail. You could try to debug you issue by creating a shell...
  4. [ubuntu] Re: Is Samba read/write rate performance on Ubuntu 20.04 capped at around 11MB/s?

    In #14 I suggested that a bad ethernet cable could be the culprit, did you try another cable that is known to be good for gigabit?
  5. [ubuntu] Re: Is Samba read/write rate performance on Ubuntu 20.04 capped at around 11MB/s?

    If you are using a managed router, try to enter the settings of the router and see if the link speed for the slow performing system is as it should be. On my NETGEAR router, the information is...
  6. [SOLVED] Re: Wireless Mouse - Final bit of help needed.

    Did you enable the service? If you named the service "nomouse.service" and stored it in "/etc/systemd/system/", then try to run "systemctl status nomouse". If the service shows up as "disabled",...
  7. [ubuntu] Re: Is Samba read/write rate performance on Ubuntu 20.04 capped at around 11MB/s?

    What type of storage is used on your Linux system? If it is encrypted, how? Have you verified that your Linux system actually has a gigabit connection to the (I assume) router? Even if a cable is...
  8. Replies
    2
    Views
    3

    [ubuntu] Re: FireFox stained dot screen issue

    Have you tried to disable hardware acceleration in FF settings?
  9. Re: Program crashes, filesystem write protected

    The problem with SSD's and adapters is, that TRIM usually not work with adapters (definitely not with the IDE/PATA interface). Some USB adapters support the UASP which implies TRIM, though.

    TRIM...
  10. Re: Program crashes, filesystem write protected

    The system drive is mounted with the option "errors=remount-ro" which means that if errors occur on the volume, it is remounted as read-only. This may be the cause of your problem and I would suggest...
  11. Replies
    20
    Views
    21

    [ubuntu] Re: dd command for creating iso file.

    You are probably right. I've not been into Windows for a long time and I was not aware if there was such a thing as "Windows Lite" with limited space usage ;)
  12. Replies
    20
    Views
    21

    [ubuntu] Re: dd command for creating iso file.

    If he wants to keep his installation of Windows, an ISO from MS is not an option.
  13. Replies
    20
    Views
    21

    [ubuntu] Re: dd command for creating iso file.

    In your command, dd sees /dev/sdb1 as a file with the size 7.3GiB. Had the USB stick been 64GB so would the image created therefrom with dd. The dd command will not remove unused space, you need...
  14. [SOLVED] Re: Encryption recommendation for external drive with data

    Yes, you can "matryoshka doll" your encrypted containers, but that would make very little sense. Understanding the encryption parameters and how they impact the security of the encrypted data will be...
  15. [SOLVED] Re: Encryption recommendation for external drive with data

    I had this post once and in that particular case default mount options had a performance impact of more than 50%. I did also try with noatime but that had much less impact than mounting as read-only....
  16. [SOLVED] Re: Encryption recommendation for external drive with data

    Ubuntu uses the default mount options unless you tell Ubuntu to do something different. In the first picture, you have mount options for the file system at the bottom, entering "noatime" into that...
  17. [SOLVED] Re: Encryption recommendation for external drive with data

    For some file systems, file access time is enabled by default which means that each time a file is read from, the driver writes back to disk in order to update the files access time. By (manually)...
  18. [SOLVED] Re: Encryption recommendation for external drive with data

    I disagree. If one would try to access an encrypted volume, the usual approach would be to run through a list of well known passwords. If that does not give access, brute force may be one of the next...
  19. [SOLVED] Re: Encryption recommendation for external drive with data

    I would strongly encourage you to NOT use a passWORD but instead use a passPHRASE! An example of a strong passphrase could be: "in the field there are 2 cows and a sheep". It is easier to remember...
  20. [SOLVED] Re: generate random number inset into text file

    Great! Please mark the thread as solved.. :)
  21. [SOLVED] Re: generate random number inset into text file

    Try this then:


    sed -i 's/seed=.*/seed="'$newseed'"/' /path/to/file.txt
  22. [SOLVED] Re: generate random number inset into text file

    Arithmetic expression look wrong, try:


    newseed=$((1 + (($RANDOM * $RANDOM) % 2147483647)))
  23. Replies
    18
    Views
    19

    [ubuntu] Re: snapd? not sure

    In case you've been living under a rock, here's one for ya.
  24. Replies
    18
    Views
    19

    [ubuntu] Re: snapd? not sure

    I hope that you are not referring to Microsoft VS Code?
  25. Replies
    18
    Views
    19

    [ubuntu] Re: snapd? not sure

    It would be quite nice if snap / snapstore / snapcraft was an optinal install in the *buntu system installer. However, in Kubuntu Discover you can clearly see which source a package is (or will be)...
Results 1 to 25 of 164
Page 1 of 7 1 2 3 4