Amit's Blog
  • Home
  • Videos
  • All Posts
  • Tags
  • About Me
Subscribe

Linux Guy

2 posts published

Generate UUID in bash
Bash

Generate UUID in bash

Sometimes you may need to generate random UUIDs in bash shell. Here's a quick way to generate one : uuidgenIf you need to get just the uuid and no dashes , you can use sed : uuidgen | sed 's/-//g'Another way to use the kernel random uuid cat /proc/sys/kernel/random/

Linux Guy Feb 24, 2022 • 1 min read
PowerShell - Check Last System Reboot/Shutdown Reason

PowerShell - Check Last System Reboot/Shutdown Reason

You might encounter situations where you PC may have shutdown or rebooted when trying to wake up from sleep or other reasons. You can use PowerShell to pull windows event logs to look for clues as to why that may have happened. You can also use this to pull any

Linux Guy Feb 9, 2022 • 1 min read
Amit's Blog © 2022
Powered by Ghost