• 0 Posts
  • 181 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • Secondly, I’d attempt to write a bash script to walk a directory tree, cat out files, pipe it through grep and get every instance where VirtualBox is mentioned in a file. Trying the name of proccess, or of the executable too.

    Move to the top of the tree you want to search and do something like this:

    find . -type f -exec grep -iH “virtualboxexecutable” {} ;

    That will give you what you want without the need for a script. -type f makes the find command only search files, and -exec has it run the grep command on any files it returns with -iH giving you case insensitive results showing you the file it’s found in. Substitute ‘virtualboxexecutable’ with whatever the process name is that is being run. If you want to ignore binary files, the add in "| grep -iv “binary file matches” to the command. That will strip out any results where it has searched a binary file.












  • GTA V. I mapped the top right to hold down the trigger for flying helicopters, or when I don’t want to let off the gas in a car. Bottom right releases it. I use this when I am hauling stuff with the cargobob so I don’t have to keep my hand on the trigger which can be painful after a while. I use them in Valheim to do things like repair when I am at a crafting table. I really like having them and how programmable they are.