• We did not send an email asking for donations - please read this post.

Recent content by dos2unix

  1. dos2unix

    BIND 9.11.4 upgrade - CENTOS 7

    I stand corrected, my apologies.
  2. dos2unix

    BIND 9.11.4 upgrade - CENTOS 7

    CentOS 7 went out of support 2 years ago. There are no more updates. Not for BIND, not for anything. You have the right command, but there aren't any more updates for that OS. CentOS 8 went out of support last year. It is recommended to go to CentOS 9 if you want to stay with CentOS...
  3. dos2unix

    Securely overwriting and delete files GUI? [Solved]

    I use srm ( secure remove ). It's about the same as shred. To delete a file normally... rm mysecret.file To delete with shred... shred mysecret.file To delete with srm... srm mysecret.file I guess one advantage to srm... two less letters to type vs shred. :)
  4. dos2unix

    Securely overwriting and delete files GUI? [Solved]

    Files are a lot more difficult than entire file systems. Even shred isn't 100% safe. If I wipe out an entire filesystem, everything is gone. Oh sure, I need to do multiple reads and writes 1's and 0's, etc... all that helps. But if I erase a file, sure I can remove it off the disk, at least...
  5. dos2unix

    Is there a way to auto-assign variables with bash?

    You could also do something like this. This page has 2 examples (right way, wrong way) https://stackoverflow.com/questions/43145328/read-n-lines-from-file-and-assign-each-line-to-distinct-variable
  6. dos2unix

    Is there a way to auto-assign variables with bash?

    myvar=$( output of some command ) #!/bin/bash myvar=$(ps -ef | grep tty | awk {'print $1'}) echo $myvar Not sure why you need the variables to be numbered, but that's possible too. Take a look at enum. Or you you could increment the variable name...
  7. dos2unix

    migrating from Cent os to ubuntu

    To get started, for the most part you will need this... sudo apt install build-essential But depending on what you are compiling, and what programming language you are using, you may need more.
  8. dos2unix

    Migrating my code from Centos to Ubuntu.

    Rocky and Alma are similar, but unrelated to each other. CentOS is still around, but they have moved to an "upstream" format. They are still pretty much Redhat, but have newer/less tested binaries. They aren't a 100% compatible with the current version of Redhat. Depending on what what you...
  9. dos2unix

    Question with Bluestacks on Linux.

    As far as I was aware, it doesn't run on any Linux distro. There is something called android-x86. https://www.android-x86.org/ It doesn't run everything, but it does run some things.
  10. dos2unix

    Notepad plus plus installed using winehq stable Fedora 36 can't display non ASCII characters.

    Wine helps for some things. But it doesn't make Linux do everything Windows does. If Notepad++ is the main application you use, and no other editor works for you, then maybe Linux isn't the OS you should use.
  11. dos2unix

    Problems with usb flash drive

    There is a limit to file sizes under Linux on FAT32. You might try formatting it with exfat.
  12. dos2unix

    HDD enterprise vs normal

    https://www.lenovo.com/us/en/p/servers-storage/servers/racks/thinksystem-sr670-v2/77xx7sr67v2 https://buy.hpe.com/us/en/servers/proliant-dl-servers/proliant-dl300-servers/proliant-dl385-server/hpe-proliant-dl385-gen11/p/1014689137...
  13. dos2unix

    Problems with usb flash drive

    What filesystem is your USB drive formatted in?
  14. dos2unix

    Handy One-Liners for Sed.

    Try it with the same search word twice on the same line. The quick brown fox jumped over the lazy dog. It was very lazy today. The quick brown fox jumped over the lazy dog. It was very lazy today.
  15. dos2unix

    Handy One-Liners for Sed.

    sed is "stream editor". The thing I use it for most often, is search and replace. sed -i "s/fred/barney/g" > flintstones.txt i = in place. Dont make a new file. Just do this to the existing file. s = search or match / this is the delimiter. But sed use can use other characters as...
Top