Berkeley Software Distribution is a Unix operating system

learn more… | top users | synonyms

0
votes
2answers
44 views

Convert fnt to ttf?

Is there a way to convert the .fnt-files from from /usr/share/syscons/fonts to .ttf?
0
votes
1answer
34 views

Init system with dependency handling and service file format on *BSD

I'd like to know whether there are any Systemd equivalents for *BSD distributions, basically something that can handle dependencies between services (service A requires B to be started, so until B is ...
0
votes
0answers
47 views

Which version of split support flag -p?

Code which does not work in GNU Coreutils Split, Split of Cern Linux 5 (Redhat) and BSD (Apple Yosemite 10.10.3): split -p'\0' input.txt where input.txt is masi\0hello\0world. Some versions I do ...
2
votes
1answer
217 views

sudo ls not showing hidden files on Linux

Today I discovered that sudo ls shows hidden files (that is, those that have names starting with .) on OS X. This surprised me so much that I asked a question about this behaviour, which I still find ...
33
votes
1answer
3k views

What allows BSD to run Linux binaries, but not vice versa?

What allows BSD to run Linux (and other Unix-like) binaries, but Linux (and other Unix-like for the most part) cannot run BSD binaries?
0
votes
0answers
264 views

RaspberryPi GPIO FreeBSD assignment

First my Assignment: I'm a beginner with BSD and low level peripherals like GPIO etc., and I need to toggle Raspberry GPIO Pins from a C programme on BSD. I am Using this BSD Image i took from here: ...
0
votes
1answer
101 views

How to set proxy with a config file provided in freebsd

I'm currently trying to update and install packages and other things on a FreeBSD server, but I’m blocked by my proxy. I'm in an university, and there are a few proxies before to go on the internet. ...
1
vote
1answer
79 views

Shell read script for sftp

I have this working: % cat read.sh !/bin/sh file=list.txt while read line do echo "$line" cut -d' ' -f27 | sed -n '$p' > file2 done < "$file" % cat list.txt sftp> #!/bin/sh sftp> ...
1
vote
4answers
65 views

Sed substitution grouping is appending in OSX rather than the expected sub in Linux

I've got three comma separated columns. Last name, First name, social. I'm trying to capitalize all characters in the last name column using sed 's/\([^,]*\)/\U\1/' foo.file In osx this command ...
1
vote
2answers
1k views

How to change the output color of ls comman in terminal in OS X and iTerm2?

I know that a similar question has been as in: How to colorize output of ls ? Though, I didn't really understand the answer and couldn't really make it work. However, I have tried something ...
0
votes
0answers
20 views

OS X USB installer utilities, cannot ssh any host

I booted my mac from a OS X USB key installer. I cannot boot it from the internal HD because OS is damaged. I want to copy some files from my Mac to another computer with scp. The problem is that ...
12
votes
4answers
5k views

If I connect a physical device, how can I ever know which device file belongs to it?

Say I plug in several USB drives which don't get automatically mounted. How can I find out which device file belongs to which physical device, so I can mount it for example? I'm running Mac OS X but ...
1
vote
1answer
43 views

How to prepare for a BSD certification? [closed]

I couldn't find much information on the topic of "BSD certification". I would like to know how to prepare for it besides reading BSD handbook and using PCBSD.
2
votes
1answer
260 views

bmake error on Mandrive: “bmake: no system rules (sys.mk)”

I'm trying to use bmake to build OS161 on Mandriva. When I try to run bmake, I get the following error: bmake: no system rules (sys.mk) I get the same error, even when I run bmake -m ...
2
votes
1answer
58 views

Portable wrappers for GNU, BSD, etc. versions of tools

Is there any script that provides a compatibility layer to a subset (a rich subset would be best of course) of BSD and GNU commands? As an example, possible cases handled could include: dd and its ...
20
votes
4answers
8k views

What are the differences between bsdtar and GNU tar?

I've always used GNU tar. However, all GNU/Linux distributions that I've seen ship bsdtar in their repositories. I've even seen it installed by default in some, IIRC. I know for sure that Arch ...
8
votes
3answers
612 views

Open Source router firmware options?

What distro's exist that are designed for routers? Please include the following link to the project page link to supported hardware list what distinguishes them, why pick this option friendly web ...
1
vote
1answer
215 views

BSD box running PFSense reports weird disk capacity

So I have a BSD box running PFSense. I was alerted to some potential problems when using the web interface, where a warning appeared saying: Warning: fopen(/tmp/config.lock): failed to open stream: ...
5
votes
2answers
3k views

Does hexdump respect the endianness of its system?

On my machine I get the following output when I run these commands: $ echo foos > myfile $ hexdump myfile 6f66 736f 000a The output from hexdump is little-endian. Does this mean that my machine ...
3
votes
1answer
92 views

BSD Net/1 was a free fully operating system?

I think that the old BSD Net/1 was not a fully operating system, but an add-on to 4.3BSD for VAX, as I realize from http://gunkies.org/wiki/Net/1 and http://gunkies.org/wiki/Net/2 Is it right? In ...
-2
votes
2answers
3k views

What is the difference between Unix, Linux, BSD and GNU? [closed]

What is the very fundamental difference between Unix, Linux, BSD and GNU? Unix was the earliest OS, so the term 'Unix like' is understandable, since they have kernel, file system structure, most of ...
0
votes
1answer
233 views

Recommended Linux Distro for 'MMO' Server [closed]

Given its UNIX ancestry (the de facto standard for mainframes, back in the days when I first learned programming), using Linux as the OS for an experimental MMO is something of a no-brainer. That ...
28
votes
2answers
13k views

Where does Mac OS X come from?

Discussing with Mac owners, I got several versions of where Mac OS X comes from. It is known to have some root in BSD, but how much, and where? Some say that Mac OS X has a FreeBSD kernel, with all ...
2
votes
1answer
164 views

Using pkg add with a NanoBSD image

I'm running into a problem on a NanoBSD installation where I cannot install openjdk7 via pkg add because it first saves to either tmp or var (not sure which) and on a NanoBSD installation, there is ...
4
votes
2answers
539 views

What is the TTY major number of your Unix?

I'm currently working on a serial port library which already uses special frameworks to get information about serial ports on the system. Though serial ports are a fundamental design in Unix—as ...
4
votes
2answers
3k views

Conceptual difference between Linux and (Free)BSD Kernel

(I've already noticed that this question was asked before but I think it has not been answered in a way I'd like to understand the topic.) What are the conceptual and structural differences between a ...
5
votes
1answer
142 views

What is the preferred way to build software in the BSDs?

I was wondering what the preferred way of building software in the BSDs is and if they are actively using and encouraging the use of GNU autotools. I found the following section about GNU autoconf in ...
7
votes
3answers
210 views

In shell config scripts, how can I account for differences between coreutils on BSD compared to GNU?

Up until this month, my shell configs have been pretty simple (just a .bashrc or .bash_profile with some aliases mainly), but I have been refactoring it so I can get different behavior depending on ...
2
votes
1answer
784 views

Find out if files in a folder exist under other name in other folder

Possibly a little incorrect English ahead: There are at least 2 folders. For this, A contains files without extension, usually usernames, and B contains similar files, with '.yml' extension or ...
6
votes
2answers
6k views

BSD Kernel Vs. Linux kernel? [closed]

I wanted to know in technical terms; what is the difference between BSD Kernel and Linux Kernel. In Linux, we can download the source kernel then patch it and make and make modules it. Even we have ...
12
votes
3answers
2k views

Why there are many BSD systems but only one Linux kernel?

Why there are many BSD systems but only one Linux kernel? I wonder why BSD was forked many times, but no such thing with Linux.
0
votes
2answers
75 views

How do you check the support for a specific CPU in the Linux or BSD kernel?

Assuming that I have the sources for my kernel and I know the name of a SoC or a CPU, how I can check that the hardware is supported without compiling and running ?
2
votes
3answers
1k views

HowTo Chroot to BSD

I recently tried FreeBSD [9.2]. I installed it but as i found out it doesn't install any bootloader by default. So now i want to find out HOW it is possible to chroot to the installed BSD via a ...
53
votes
15answers
6k views

How do you choose a distribution? [closed]

I'm currently looking at putting a Linux (although BSD is still an option) distribution on my old laptop. However, I'm not sure how to wade through all of my options - rolling releases versus not, ...
1
vote
2answers
1k views

How to run PC-BSD iso from GRUB with only Linux installed

I'm working on Ubuntu, and I wanted to try BSD. I downloaded a PC-BSD iso (PCBSD9.2-RELEASE-x64-DVD-USB-latest.iso). I wanted to know if it is possible to use "loopback" to run that image even if I ...
2
votes
0answers
820 views

GRUB2 under Mint: Booting PC-BSD without chainloading?

Wanting to try several operating-systems, I installed the following on a MBR-partitioned harddrive: Partition 1: FreeBSD on UFS split in root-slice and swap. No problem booting... Partition 2: ...
3
votes
1answer
164 views

Does any OS support ZFS on MIPS?

Does there exist an operating system supporting ZFS under the MIPS architecture? If so, which operating system(s)? I am especially interested in: Support for ZFS on Loongson. OSes free from binary ...
1
vote
0answers
40 views

syslog: process specific priority

I have two user processes A and B. Both use syslog using facility LOG_USER. I want to have different threshold levels for them: For A, only messages of priority ERR-and-above must be logged For B, ...
0
votes
1answer
104 views

What kernel for ARM architechture, Linux or BSD? [closed]

I'm a computer sciences student and recently started a project with the engineering department that involves an onboard ARM processor, the question is what sort of operating system, kernel and ...
5
votes
1answer
804 views

Resources System V vs BSD

I'm searching for some detailed resources about the differences of System V and BSD concepts. For example: Interprocess Communication Sockets vs TLI ... Some sort of pro/cons discussion with ...
1
vote
1answer
85 views

Are there any PaxTest for OpenBSD?

Pax: PaX is a process memory protection patch For FreeBSD, there exists a testsuite called PaxTest, is there a PaxTest available for OpenBSD?
1
vote
0answers
67 views

Are there tools to build a LiveCD based on OpenBSD in the Linux environment?

I'm currently on Ubuntu and I want to build an OpenBSD 5.3 LiveCD customized for my own needs. I found the perfect tool to build a Linux LiveCD - live-build. I'm looking for the same, but to create ...
1
vote
1answer
980 views

BSD Books - Best books for OpenBSD and FreeBSD [closed]

I will begin a thorough study of the OpenBSD and FreeBSD, which are the most complete books? I found these, which are the best? Openbsd books Freebsd books
1
vote
1answer
3k views

convert timestamp to formatted time OSX

I had this working on Ubuntu but I'm now trying to run the script on OSX but it seems that the formatting of date is different. Originally I had: date -d "$MODDATE" +%F" "%H":"%M where $MODDATE is ...
6
votes
1answer
2k views

How Do I Add My Own Daemons in Arch Linux? (BSD-style init)

I have created a symlink to a start/stop/etc. wrapper bash script in /etc/rc.d, added it to DAEMONS=() in rc.conf, but the process it points to isn’t starting on boot, and isn’t showing up in the ...
3
votes
3answers
707 views

How do I choose between Unix / Linux and Windows in a Server environment?

I need a server, and I'm used to windows at home and in the office, but it seems that Unix / Linux is an option, but I don't really know what it is. I don't know which one to get, how do I choose? ...
1
vote
2answers
122 views

kfreebsd ISO boot to grub menu

Having obtained the kfreebsd ISO image from here, I set up a VirtualBox VM to install from the ISO. When I boot up the VM, the session ends up with the grub menu instead of initializing the ...
3
votes
1answer
741 views

UNIX-, BSD-, GNU-options in Linux's ps command. Where are they from? [closed]

In the manual for the ps command on Ubuntu there is this text: This version of ps accepts several kinds of options: 1 UNIX options, which may be grouped and must be preceded by a ...
13
votes
1answer
3k views

What are the main differences between BSD and GNU/Linux userland?

I've read a lot on Unix & Linux about BSDs and GNU, etc. But I still don't understand what some actual, practical differences are between BSD and GNU userlands, despite the fact that they are ...
5
votes
1answer
3k views

FreeBSD or PC-BSD?

After years of Linux I would like to give *BSD a try, but I'm uncertain if I should use FreeBSD or PC-BSD. With KDE out-of-the-box and graphical package-manager and such, PC-BSD strikes me as ...