In Linux and UNIX system services are configured using various text files located in /etc/ or /usr/local/etc/ directory tree. A typical server system could have dozens of configuration files. You can check your configuration files for syntax errors without starting the server and validate all settings. In some cases, it is possible to check the sanity of specific data/config options and directories. Text files are easier to manage remotely. You can use ssh and a text editor. If there is an error in configuration, the server may not start. It may result in a disaster. This post explains how to quickly find out a syntax error for popular servers and test configuration file for syntax errors.
Linux is a free and open source operating system. Linux and another open source operating system can use and load device drivers without publicly available source code. These are vendor-compiled binary drivers without any source code. Commonly known as Blobs. Die-hard open source fans and Free Software Foundation (FSF) recommends completely removing all proprietary components including blobs. This posts list seven best Linux distribution that meets the FSF’s strict guidelines and contains no proprietary components such as firmware and drivers.
Google has announced Google Chrome OS, which should be available mid-2010. This is a direct challenge to MS Windows operating systems. This is excellent news and it is going to tied tightly to its Chrome Web browser. Google Chrome running within a new windowing system on top of a Linux kernel. Speed, simplicity and security are the key aspects of Google Chrome OS – said Sundar Pichai, VP Product Management, in a blog post.
From my mailbag:
How do I find out if a given PCI hardware is supported of by the current CentOS / Debian / RHEL / Fedora Linux kernel?
You can easily find out find out if a given piece of PCI hardware such as RAID, network, sound, graphics card is supported or not by the current Linux kernel using the following utilities under any Linux distributions.
The ss command is used to show socket statistics. It can display stats for PACKET sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, Unix domain sockets, and more. It allows showing information similar to netstat command. It can display more TCP and state information than other tools. It is a new, incredibly useful and faster (as compare to netstat) tool for tracking TCP connections and sockets. SS can provide information about:
- All TCP sockets.
- All UDP sockets.
- All established ssh / ftp / http / https connections.
- All local processes connected to X server.
- Filtering by state (such as connected, synchronized, SYN-RECV, SYN-SENT,TIME-WAIT), addresses and ports.
- All the tcp sockets in state FIN-WAIT-1 and much more.
Excellent article – you can find information about GCC extensions for the C language. The Linux kernel uses several special capabilities of the GNU Compiler Collection (GCC) suite. These capabilities range from giving you shortcuts and simplifications to providing the compiler with hints for optimization.
This article provides a glimpse of the techniques made available by GCC in the Linux kernel. You can read more about all the available extensions for both C and C++ in the GNU GCC manual.
Interesting read and claim has been independently verified by somebody from Microsoft.
Greg Kroah-Hartman is a longtime developer of the Linux kernel, known for his work maintaining USB drivers as well as for packaging the SUSE kernel at Novell. O’Reilly Media recently interviewed Greg about his claim that the Linux kernel now supports more devices than any other operating system ever has, as well as why binary-only drivers are illegal, and how the kernel development process works.
Read full interview: How Linux Supports More Devices Than Any Other OS, Ever