OSX Terminal Serial Number
-
If you ever need to get the serial number of a Apple system you're working on via SSH you can use
ioreg -l | grep IOPlatformSerialNumber
This will provide the computers serial number. It's a great way. What I'm wanting to do is go a step further and get the serial number of any attached peripherals.
This I've not yet been able to find (yet) I assume the system has these details somewhere. I can get the mac address of such devices with.
system_profiler SPBluetoothDataType | grep "Address"
This sorts out anything with an address, but not the serial number.
-
@DustinB3403 That's useful, thanks!
-
@DustinB3403 said in OSX Terminal Serial Number:
This sorts out anything with an address, but not the serial number.
Then stop grepping for Address on a BLUETOOTH SPECIFIC QUERY.
system_profiler SPUSBDataType | grep "Serial Number"
Why do you ask the most inane questions?
-
@orel said in OSX Terminal Serial Number:
@DustinB3403 said in OSX Terminal Serial Number:
This sorts out anything with an address, but not the serial number.
Then stop grepping for Address.
system_profiler SPUSBDataType | grep "Serial Number"
Why do you ask the most inane questions?
You obviously aren't understanding what is being done here. Even without grep, you get no serial number.
So pound sand unless you can prove you're correct.
-
@DustinB3403 why are you such a fucking retard? you're asking bluetooth for a serial number. There are children in middle school with better IT skills than you.
-
@orel said in OSX Terminal Serial Number:
@DustinB3403 why are you such a fucking retard? you're asking bluetooth for a serial number. There are children in middle school with better IT skills than you.
This information is available from within the bluetooth console of OSX's gui.
You're clearly inept if you think this can't be found via the terminal - somewhere.
-
@DustinB3403 said in OSX Terminal Serial Number:
You're clearly inept
bro yesterday you couldn't even read 0365 licensing....
-
@orel said in OSX Terminal Serial Number:
@DustinB3403 said in OSX Terminal Serial Number:
You're clearly inept
bro yesterday you couldn't even read 0365 licensing....
No, that was trying to find something for a coworker who was refusing to accept the "per user" purchase and was trying to tell @DustinB3403 that if it wasn't in the T&C that they could just pirate it to their heart's content. His boss sides with his coworker so he was forced to look for additional verbage.
-
@scottalanmiller said in OSX Terminal Serial Number:
@orel said in OSX Terminal Serial Number:
@DustinB3403 said in OSX Terminal Serial Number:
You're clearly inept
bro yesterday you couldn't even read 0365 licensing....
No, that was trying to find something for a coworker who was refusing to accept the "per user" purchase and was trying to tell @DustinB3403 that if it wasn't in the T&C that they could just pirate it to their heart's content. His boss sides with his coworker so he was forced to look for additional verbage.
Yes, sadly, many of us deal with that.
A customer of mine recently asked about the same type of thing - I pointed them to the local install of Office since they could get away with Excel locally on only 2 computers (because a damned app requires it), the rest can use online version.
-
@orel @DustinB3403 It's Friday, so...
-
Letterkenny quotes taking over.
-
@RojoLoco and that's what I appreciates about you RL.