4 ms·
Personally I found it interesting that: * TFTP server [1] * PF Firewall [2] * pbcopy & pbpaste [3] are built-in in MacOS. Here[4] is list of MacOS command
by ytch 3y ago
Personally I found it interesting that:
* TFTP server [1]
* PF Firewall [2]
* pbcopy & pbpaste [3]
are built-in in MacOS.
Here[4] is list of MacOS command line man pages, some interesting tools can be found there.
[1] https://rick.cogley.info/post/run-a-tftp-server-on-mac-osx/ https://rick.cogley.info/post/run-a-tftp-server-on-mac-osx/
[2] https://iyanmv.medium.com/setting-up-correctly-packet-filter-pf-firewall-on-any-macos-from-sierra-to-big-sur-47e70e062a0e https://iyanmv.medium.com/setting-up-correctly-packet-filter...
[3] https://osxdaily.com/2007/03/05/manipulating-the-clipboard-from-the-command-line/ https://osxdaily.com/2007/03/05/manipulating-the-clipboard-f...
[4] https://ss64.com/osx/ https://ss64.com/osx/
- anony23 3y agoPbcopy/pbpaste are huge productivity boosters for me
- nier 3y agoPb stands for pasteboard and not for lead. :D http://www.nextcomputers.org/NeXTfiles/Docs/NeXTStep/3.3/nd/GeneralRef/02_ApplicationKit/Classes/Pasteboard.htmld/index.html http://www.nextcomputers.org/NeXTfiles/Docs/NeXTStep/3.3/nd/...
- just_steve_h 3y agoI have a shell alias so I can just type pb to do pbpaste|pbcopy - easiest way I’ve found to strip formatting and get plain text.
- wtallis 3y agoIt's a little awkward, but Cmd-Opt-Shift-V is "Paste and Match Style" aka "paste as plain text".
- blairbeckwith 3y agoPro-tip (at least for me): control (^) doesn't change this, so you can just hold all the modifier keys rather than trying to remember which 3 let you paste as plain text.
- jasomill 3y agoIf you like those, see also, off the top of my head and in no particular order: system_profiler, ioreg[1], networksetup, afconvert, sips, osascript, lsregister[2], apfs.util[3], and, from Xcode, GetFileInfo and SetFile. All have man pages except lsregister; lsregister with no arguments shows help (for context, lsregister is useful when file icons / associations get messed up). [1] A GUI version is also available as IORegistryExplorer.app in the Xcode "Additional Tools" packages available from https://developer.apple.com/download/all/ https://developer.apple.com/download/all/ (registration required) [2] /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister [3] /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util