Linux

Most embedded Linux / BSD systems such as routers, servers and nas devices comes with console interface (serial port with RS-232). BIOS can uses this, and after boot BIOS screen I/O is redirected so that you can use the device. RS-232 is also used for communicating to headless server, where no monitor or keyboard is installed, during boot when operating system is not running yet and therefore no network connection is possible. You need to use a serial cable between your computer and embedded system or server. In this post I will cover five conman utilities used for serial communication under Linux / Unix / *BSD and Mac OS X.

{ 10 comments }

The pv command allows you to see the progress of data through a pipeline. It provides the following info:

  1. Time elapsed
  2. Percentage completed (with progress bar)
  3. Current throughput rate
  4. Total data transferred
  5. ETA

{ 2 comments }

Process identifier (PID) is a number used by Linux / Unix kernels (and Windows operating systems) to identify a process. Usually, new processes are created using the fork() system call. Each PID (or so called tasks) can be monitored under Linux. In this quick tutorial, I will explain how to use the pidstat command for monitoring individual tasks currently being managed by the Linux kernel.

{ 4 comments }

Mozilla Firefox version 11.x+ has support for 3D view. It is a WebGL based website visualization tool that highlights page structure. You can see relationship between your code and the page output by stacking elements as they are nested in the DOM and lets you see elements that are hidden or off the page. You can zoom in and out, rotate and pan the view to see the page from any angle that is helpful to you. In this blog post I will explain how to enable 3D view on X11. Please note that the 3D view is not for your daily browsing needs. It is useful for finding out bugs such as nesting issues or even XSS vulnerabilities. Personally, I use 3D view as a tool to understand divs, spans, and other elements on the page.

{ 2 comments }

Everything is a file under Linux and ls* and friends can help you to dig out more information from the system than you originally thought.

{ 15 comments }

Gabe Newell is the co-founder and managing director of the video game development and online distribution company called Valve Corporation. He want to port 2500 game titles on Linux. But, why? First, Gabe hates Windows 8. He recently made a rare appearance last night at Casual Connect, an annual videogame conference in Seattle.

{ 43 comments }

Using the same password on different servers allows attackers to access your accounts if cracker manage to steal your password from a less secure server. This is true for online website accounts too. So solution is to create unique passwords for server accounts like your email, sftp and ssh accounts. General guideline to create a strong and unique password is as follows:

{ 2 comments }

The Linux kernel version 3.5 has been released and is now available for download. New features include support for hybrid graphics, security fixes, and other enhancements.

{ 1 comment }

Dear nixCraft,

I just want to know how to run Linux commands as another user or as root user?

Sincerely,

Confused About Linux commands.

{ 8 comments }

In this week:

Dell to sale Ubuntu laptops again

Dell will be officially re-entering the Linux laptop market. It will sell a developer edition of one of its Ultrabooks XPS laptop. It will come pre-loaded with Ubuntu 12.04 LTS. A first look at Dell’s ‘Sputnik’ Ubuntu Linux developer laptop is available here.

{ 2 comments }