Getting started with the Linux modinfo command

What interesting system calls are provided in Linux compared to other Unix variants? Yet, it was relatively little used for computer software prior to the development of UNIX, and even today its great benefits fail to be fully exploited by other operating systems, most notably the Microsoft Windows systems. A …

more ...

Sysadmin and Devops using mkdosfs

The default action for the SIGFPE signal will core dump the process and then cause it to exit. Each IDE controller can support up to two disks, one the master disk and the other the slave disk. People will stand up and take notice and realize that Linux is not …

more ...

Can you pass the repquota test?

If you've always wanted to learn programming, whether you want to develop software professionally or just for fun, there's no better platform to cut your teeth on. Linux names IDE disks in the order in which it finds their controllers. Even if you plan to move on to more advanced …

more ...

Is experience with mpg123 an employable skill?

That is, there are no legal restrictions on anyone using, studying, copying, modifying, improving or publishing any recipe. An alternative to purchasing a Linux book is to borrow one (or many) from a library; it is likely that some of them will also contain CDROMs that can be used to …

more ...

Developing with slabtop

Finally, if you are contributing to an existing kernel module, you will need to learn about their procedures and development cycle. In Linux, the standard C compiler is provided by the GNU Compiler Collection (gcc). It would not matter to me which distro was being advocated as long as the …

more ...

Troubleshooting hardware problems in Gnoppix

Over the years, Unix systems have supported a handful of different special files. Like so many others I have always thought that one of the greatest attributes of Linux is its diversity of choice, but there are those outside of the Linux world that see this as a negative. Quite …

more ...

Principles of kbd under Linux

The receiving IP layer uses that protocol identifier to decide which layer to pass the received data up to, in this case the TCP layer. Kernel modules, like the kernel itself, are usually written in C. When Linux fixes up that page fault it finds the vm_area_struct data structure describing …

more ...

At the command line with gdb

Windows implementation is very high-level. In the event of a total implosion, much of the software can be reinstalled with batch files made up of multiple sudo apt install statements. Ask ten people on the street what a "blue screen of death" is or if their Windows PC has ever …

more ...

Answered - your most burning quotaon questions

You may have already noticed that in order to execute shell script the file needs to be made executable by use of chmod +x FILENAME command. The kernel calls the modules initialization routine and, if it is successful it carries on installing the module. The g++ C++ compiler is ISO …

more ...

Generating use cases for Objective-C

Note that HP-UX, GNU/Linux (usually), Solaris and recent releases of FreeBSD cycle back to zero after 497 days, exactly as if the machine had been rebooted at that precise point. Each hardware controller has its own control and status registers (CSRs) and these differ between devices. The reason is …

more ...

What's your favorite Linux terminal emulator?

This makes kernel memory deallocation easier as the smaller free blocks can be recombined into bigger blocks. This means that the process can continue to run. There are many ways to make money, so why choose a method that requires investing just as much time and effort into making software …

more ...

Which distro do you prefer to use KDE Plasma on?

Writing a byte to the middle of a file overwrites the byte previously located at that offset. Conceptually, nothing covered thus far would prevent multiple names resolving to the same inode. Without this surrounding commitment, IT decision-makers can be left in the dark...and that's not a good place to …

more ...

At the Linux terminal with gettext

When a command terminates on a fatal signal, bash uses the value of 128+signal as the exit status. Let's look at creating an image file so we can start a container which we created. Much of enterprise IT's excitement is focused on advancements at the application level (and rightly …

more ...

Are you making these mistakes with import

Some operating systems, such as VMS, provide highly structured files, supporting concepts such as records. Linux maintains the set of registered block devices as the blkdevs vector. A process is also associated with various system resources, which are arbitrated and managed by the kernel. Its own Software Center has tons …

more ...

Data collection under Ubuntu

The GNU C library provides more than its name suggests. The tools philosophy was to have small programs to accomplish a particular task instead of trying to develop large monolithic programs to do a large number of tasks. Let it suffice to say that not every single bug has been …

more ...

Getting started with the Linux script command

It's basically community version of Red Hat without any fee or support. Thus, there is no term free mathematics. Soon enough this will become an extremely tedious task destined for failure. The caricatures speak of wizard-like "graybeards" sitting behind glowing green screens, writing C code and shell scripts, powered by …

more ...

Getting up and running with KDE Plasma

Users of closed source operating systems must report the bug to the manufacturer and wait for the manufacturer to develop, test, and release a solution to the problem, known as a hot fix. Unlike the MINIX filesystem before it, ext could address up to 2GB of storage and handle 255-character …

more ...

Programming with C++ on Linux

Richard Stallman's stallman.org is a perfect example. This behaviour has spawned a whole new wave of viruses and is a gross breach of privacy. It will recognize a multiline header if the last character on each line but the last is a left parenthesis or comma. Much of enterprise …

more ...

Let your ALTLinux terminal speak its mind

This allows the ethernet layer to correctly receive IP packets and to pass them onto the IP layer. The boot disks are located in the bootdisks/ directory in the distribution tree. Indeed, they even have associated inodes. It is vital that we keep a philosophical approach so that our beliefs …

more ...

Getting a mail server up and running on Caldera OpenLinux

Whereas MINIX is based on a microkernel that contains the bare minimum amount of code necessary to run an operating system, Linux has a monolithic kernel, which means that functions like the file system, virtual memory, and various system calls all take place in privileged kernel space. But the existence …

more ...


Getting Gnome Flashback to work with a dual screen monitor

The kernel allocates a new module data structure and enough kernel memory to hold the new module and puts it at the end of the kernel modules list. By virtue of its open source licensing, Linux is freely available to anyone. People who develop OSS commonly use the Internet to …

more ...

How to automate dpkg

You can easily see the exported kernel symbols and their values by looking at /proc/ksyms or by using the ksyms utility. As the writing process writes to the pipe, bytes are copied into the shared data page and when the reading process reads from the pipe, bytes are copied …

more ...

Is C Sharp the best programming language for Linux?

This is one of those arguments that sounds good superficially but which is not borne out by the evidence. If the thief runs, he/she probably won't get caught, and it is a quick way to make some extra cash. If you've always wanted to learn programming, whether you want …

more ...

The ultimate guide to unicode_start

You can control everything from the command line. There is yet one other weakness: if a computer switches operating systems later, the long uptime is credited to the new OS. Peripherals are real devices, such as graphics cards or disks controlled by controller chips on the system board or on …

more ...

The ultimate guide to gs

These negative connotations include lack of quality, of robustness, of support and of long-term commitment. The shell program is what presents the prompt and accepts subsequent commands. This means that it's not enough for a Linux platform to support what an enterprise needs right now. Copyright does not protect facts …

more ...

Is biod better on FreeBSD than Linux?

Processes are allowed to do non-blocking reads (it depends on the mode in which they opened the file or pipe) and, in this case, if there is no data to be read or if the pipe is locked, an error will be returned. When processes are deleted, as they exit …

more ...

Redirecting output with Freesco

Processes are free to use a FIFO so long as they have appropriate access rights to it. Most people believe it is wrong to steal, and therefore, won't rob a wallet. Today open source software has become critical for almost every organization. The access file logs every visit to your …

more ...

Boost your mastery of mt with these tips

Institutions that rely solely on commercial-proprietary vendors - whether on-premises or cloud-based - effectively outsource their IT strategy and reduce their capability to deal with change with agility. This greatly assists integration efforts - and facilitates movement between systems when necessary. But, due to some recent changes, Ubuntu has switched back to GNOME …

more ...

How logname can help power your webapp

When a user-space application requests that a given filename be opened, the kernel opens the directory containing the filename and searches for the given name. If the expiry time for an active timer has expired (expiry time is less than the current system jiffies), its timer routine is called and …

more ...

Interesting apps based on make

The exact wording of a recipe as it is written by its author is protected under copyright law, but the information itself (i.e., the names of the ingredients, their quantities and the various steps in their processing) is not. Even so, if a process executes until it waits then …

more ...


Actionable tips for mastering babeltrace

federal government. A pipe (its two file data structures, its VFS inode and the shared data page) is created in one go whereas a FIFO already exists and is opened and closed by its users. Another disadvantage of Open Source is the support service. If the expiry time for an …

more ...


Does mklost+found sometimes make you feel stupid?

If the process has not blocked the signal and is waiting but interruptible (in state Interruptible) then it is woken up by changing its state to Running and making sure that it is in the run queue. In addition to implementing the standard C library, glibc provides wrappers for system …

more ...

Acceptable parameters when the widget resource matters

Closed source software can be distributed for free or for a cost; either way, the source code for the software is unavailable from the original developers. In Linux, no further organization or formatting is specified for a file. Until Linux came along it was either Windows or Macintosh - take it …

more ...

Configuration management under BioKnoppix

The same good practices and understanding of the underlying system inform and benefit all forms of programming. That way you can still change the GRUB 2 bootloader image without having to worry about the digitally signed shim.efi file. Because your server will be probably Linux-based as well, it will …

more ...

Really small Python script

The price for a Windows license amounts to an average of one fourth of each new computer's price. Many of the devices you own probably, such as Android phones, digital storage devices, personal video recorders, cameras, wearables, and more, also run Linux. Linux systems always have a root filesystem. Again …

more ...


Adventures with column and Arch

Some applications are written exclusively to higher-level abstractions. This means that you cannot DMA directly into the virtual address space of a process. Whenever you refer to a file or directory on the command line you are actually referring to a path and your path can be constructed using any …

more ...