FreeBSD for Linux Users

28/12/2020
Chưa phân loại

Comparative Introduction To FreeBSD For Linux Users

In this lesson on FreeBSD for Linux users, we will try to provide a comparative introduction to the FreeBSD platform. This is completely subjective and we encourage you to provide your thoughts to us by tweeting to @linuxhint. Let’s get started.

Overview

Just like platforms in Unix, FreeBSD is an excellent server platform and is a popular one as well. There are many similarities in FreeBSD but their are important points where these two platforms differ significantly!

Before starting, just note that though we will mention points for the BSD family, we will still narrow down our focus to the FreeBSD version for the platform.

Similarities in FreeBSD and Linux

To start, we will share similarities between these two popular platforms.

  • Both these platforms share free and open source licensing and communities. Developers around the globe are free to modify the source code and even release their own custom version for any of these.
  • Both of these platforms are extremely similar to Unix when it comes to their nature of definition. Linux was created from the ground up as an Unix substitute and is free. The association of Linux with Unix defines how the system was similarly designed and making the shell environments the prime way to interact with the OS and define actions.
  • Both of these platforms are POSIX The file system of these platforms are based on hierarchies and even the APIs for programming share extremely similar design patterns.
  • Due to similarities in the programming API of these two platforms, even the tools and apps available for one platform are usually available for the other too. This is because the application is very easy to be ported back and forth from one platform to another.

It sounds like these two platforms are extremely similar in nature when it comes to user usage. But don’t get too excited about the similarities, there are important difference in these platforms as well. Let’s get to them now.

Source Installations

This is one of the major area where these two platforms stand apart. While the Linux platform versions gives only the pre-compiled binary packages of the distribution-supported software, the FreeBSD platform have both pre-built packages and a build system as well for compiling and installing from the source.

If you’re wondering what this means, this separation allows us to select among the pre-compiled packages made with provided defaults and an ability to modify the software during compilation process by building it at our end. FreeBSD achieves the same through a system termed as “ports”.

Shell Differences

We all know that the default shell in Linux is usually the bash shell. Well, this is not the case with FreeBSD version where the default shell is the tcsh shell.

For tcsh, it an ungraded and improved version of the csh shell which is the C shell environment for the BSD platform. Though both shells acts in same way (well, almost) but the tcsh shell is highly NOT recommended for scripting purposes. Using the bash shell is much more reliable and it avoids many drawbacks with the tcsh shell scripting.

Filesystem Differences

As the FreeBSD distinguishes the base OS and components, it starts presenting consequences in the file hierarchy of the platform.

As know for Linux that executable files are present in the directories:

  • /bin
  • /sbin
  • /usr/bin
  • /usr/sbin

The location differs on the basis of functionality the executable provides. FreeBSD has more thorough difference recognition in this case and also forces another rule for separating them on the basis of base system and installation through ports.

Any software installed through ports are placed in:

  • /usr/local/bin
  • /usr/local/sbin directories

Conclusion

As we have seen, FreeBSD and Linux platforms share many similarities and differences but still, in the beginning, FreeBSD can be very familiar to a Linux user.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

DNSMasq Ubuntu Tutorial

DNSmasq is a lightweight tool to provide both DNS service and DHCP service for small-scale networks. DNSmasq’s local DNS...
28/12/2020

How to Install Manjaro Linux

In the world of Linux distros, there are numerous ones that you can give your machine a unique touch. With a intuitive...
29/12/2020

Install Arch Linux in VirtualBox

Arch Linux may not be for everyone. Most new users would probably prefer an out of the box solution like Debian or Fedora....
28/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

SỰ KHÁC BIỆT GIỮA RESIDENTIAL PROXY VÀ PROXY DATACENTER
17/02/2024

Mua Proxy v6 US Private chạy PRE, Face, Insta, Gmail
07/01/2024

Mua shadowsocks và hướng dẫn sữ dụng trên window
05/01/2024

Tại sao Proxy Socks lại được ưa chuộng hơn Proxy HTTP?
04/01/2024

Mua thuê proxy v4 nuôi zalo chất lượng cao, kinh nghiệm tránh quét tài khoản zalo
02/01/2024