Top "Bsd" questions

BSD is a family of Unix-like operating systems, including FreeBSD, NetBSD and OpenBSD.

How do I timestamp every ping result?

Ping returns this by default: 64 bytes from 203.173.50.132: icmp_seq=0 ttl=244 time=57.746 ms Is there some way I can get it …

bash osx-lion ping bsd
How do I determine the target architecture of static library (.a) on Mac OS X?

I'm interested in verifying if a given iPhone static library has been built for ARM or Intel. It's more curiosity …

iphone macos linker bsd universal-binary
sed in-place flag that works both on Mac (BSD) and Linux

Is there an invocation of sed todo in-place editing without backups that works both on Linux and Mac? While the …

linux macos sed bsd
sed command with -i option (in-place editing) works fine on Ubuntu but not Mac

I know nothing about Sed but need this command (which works fine on Ubuntu) to work on a Mac OSX: …

linux macos sed bsd inplace-editing
find -exec a shell function in Linux?

Is there a way to get find to execute a function I define in the shell? For example: dosomething () { echo "…

linux bash shell find bsd
Using select() for non-blocking sockets

I am trying to use the select function to have non-blocking i/o between a server and 1 client (no more) …

c sockets select bsd
Limitations of Intel Assembly Syntax Compared to AT&T

To me, Intel syntax is much easier to read. If I go traipsing through assembly forest concentrating only on Intel …

linux assembly x86 att bsd
Multiple replacements with one sed command

I'm wondering how I can do a multiple find/replace using a single sed statment in Mac OSX. I'm able …

macos shell sed bsd
How to use list from sys/queue.h?

Currently, I have implemented a singly linked list, like so: struct PeerNode { struct Peer* cargo; struct PeerNode* next; }; ...and I …

c linux list bsd
What is the status of POSIX asynchronous I/O (AIO)?

There are pages scattered around the web that describe POSIX AIO facilities in varying amounts of detail. None of them …

linux asynchronous posix bsd aio