How to automate tasks on a Linux system

Linux is a monolithic kernel; that is, it is one, single, large program where all the functional components of the kernel have access to all of its internal data structures and routines. By opening the code to widespread examination, more people take part in finding its bugs and security flaws …

more ...

How to install gpg on Suse

We can also easily jump back to the GUI when it suits us. This system call creates a duplicate of the calling process. Unix systems historically did not include many higher-level abstractions. If the kernel handles the signals, it will do the default actions required for this signal.

Linux adventures …

more ...

Learn lpq to further your career

The terminal in Linux is a wild card. The API merely defines the interface; the piece of software that actually provides the API is known as the implementation of the API. Unix systems historically did not include many higher-level abstractions. Every transmitted ethernet frame can be seen by all connected …

more ...

Whats the need for vhand in this day and age?

For copying files, for example, you need to download another tool when you use Windows. This can be extremely useful if the output or calculation you require consists of multiple commands, and it will be expected multiple times throughout the script execution. There are several good reasons for becoming familiar …

more ...

Interesting apps based on tailf

It sounds counterintuitive and/or just plain stupid on paper, but is generally seen as the traditional and conservative way to do it. Each approach has its advantages and disadvantages. The source code for proprietary software is usually not made publicly available, or, if it is, there are generally severe …

more ...

Learn how I improved whereis in two days

Dennis Ritchie and Ken Thompson started work on Unix in 1969, meaning that Unix will celebrate its 50th anniversary this year. A common sector size is 512 bytes and the sector size was set when the disk was formatted, usually when the disk is manufactured. In Linux, blocks are generally …

more ...

Job control under Devil-Linux

A partition is a large group of sectors allocated for a particular purpose. In 1991, this final gap was filled by Linux, a kernel which was written independently of the GNU project by Linus Torvalds, then a computer science student in Finland, but which made use of GNU development tools …

more ...

At the Linux terminal with bash

For the purposes of the shell, a command which exits with a zero exit status has succeeded. The amount of malicious soft- ware for Linux systems remains incredibly low in comparison to other systems, and nearly all malicious Linux software available today is designed to breach unprotected Linux-based Android smartphones …

more ...

Data collection under Ubuntu

bash allows the current readline key bindings to be displayed or modified with the bind built-in command. Libraries were written and ported, filesystems developed, and hardware drivers written for many popular devices. Other common sections in ELF executables are the absolute section (which contains nonrelocatable symbols) and the undefined section …

more ...

Work in progress asynchronous email client

Sometimes the DMA channel for a device can be set by jumpers; a number of ethernet devices use this technique. The control bus contains various lines used to route timing and control signals throughout the system. If one process crashes it will not cause another process in the system to …

more ...

Open the gates for fgrep

Its entries are also device_struct data structures. Over the years, Unix systems have supported a handful of different special files. This must happen as the module cannot expect to be loaded at the same address twice let alone into the same address in two different Linux systems. Most open source …

more ...

The secret of exit

For example, we can have a container which is a database program. The instructions executed by the processor are very simple; for example ``read the contents of memory at location X into register Y'. After being compiled into machine language, all programs look the same to the computer operating system …

more ...

Interesting apps based on tac

This, in turn, allows for the use of the pathnames with which all Unix users are familiar-for example, /home/blackbeard/concorde.png. I think Linux is more a state of mind. When you boot a system that uses the GRUB Legacy bootloader, you'll see a menu that shows the boot …

more ...

Creating a PACKAGES.TXT file for your distro

Open source licenses can grant you the right to copy and redistribute the software to everyone you want. These negative connotations include lack of quality, of robustness, of support and of long-term commitment. They come in multiple varieties, including the Unix domain socket, which is the form of socket used …

more ...

No more mistakes with sudo

In addition, gcc and g++_ implement extensions to the C and C++ languages. From the process's perspective, the view of the system is as though it alone were in control. Each VFS inode has associated with it a set of file operations and these are different depending on the …

more ...

How easy is it to run ntpd on a Rasberry Pi?

Everything a good programmer can wish for is available: compilers, libraries, development and debugging tools. I use Linux for everything. Almost certainly, but it's doubtful that it would maintain the presence that Android currently enjoys in today's consumer market. Usually, as bytes in the file are read from or written …

more ...

What are your thoughts on the new Kali Linux distribution?

and insert it as the first line of your script. Some people, particularly members of the Free Software Foundation, refer to this collection as GNU/Linux, because many of the tools included are GNU components. These categories determine what powers are available to a user. Unlike Windows, Linux requires each …

more ...

How much do you know about the Linux mmv command?

Although initially intimidating for many inexperienced users, using an all-text mode, also referred to as a command line interface (CLI) or a shell, can provide valuable experience for those who want to become truly proficient at Linux. They regard technical excellence as the primary goal, and sharing of the source …

more ...

Configuring swapper in easy steps

Still, manual partitioning is a valuable skill and a necessary one for the true Linux guru. It is time for the opening of the tools that will be needed to build this new age. Windows CE scales down to smaller platforms, but Windows simply does not scale up to the …

more ...

Graphical tools for manipulating PDFs on the PHLAK desktop

However, Linux does not require the use of such Anti-Virus programs. The kernel modules are linked object files just like other programs in the system except that they are linked as a relocatable images. For many people, the next step will be to carefully read a good introductory book on …

more ...

Here's what no-one tells you about test

None other than the system call handler! The shell program is what presents the prompt and accepts subsequent commands. If you want to use Linux as a platform for a very advanced application or application set, you will be interested in aspects of the system such as kernel hacking, the …

more ...

Quick and easy fixes using modprobe

The software that handles or manages a hardware controller is known as a device driver. The platters are attached to a central spindle and spin at a constant speed that can vary between 3000 and 10,000 RPM depending on the model. We can access the database from other programs …

more ...

Which is the best Office suite for Ubuntu?

One more thing, if you don't want your programming Linux distro to be devoid of systemd, there's an OpenRC spin for that. Thanks to Linux and the broader world of open source, this methodology becomes clearer and easier to implement on an almost daily basis, as new Linux-based innovations, like …

more ...

Does ip sometimes make you feel stupid?

The list goes on. Although the terms free software and open source software are usually used more or less interchangeably, there are some subtle differences. Advocates of copyleft respond by pointing out that there is no such thing as absolute freedom. So, the FAT module contains a reference to the …

more ...

Understanding the fundamentals of systemd

When you enter commands, they are actually stored in a history. If you do this, or try to exit again immediately, you are not warned again, and the stopped jobs are terminated. But the Linux community is much more than the kernel, and needs contributions from lots of other people …

more ...

Graphical tools for manipulating PDFs on the Source Mage desktop

ansi2knr recognizes functions by seeing a nonkeyword identifier at the left margin, followed by a left parenthesis, with a right parenthesis as the last character on the line. At Outsource2india, we have experienced and skilled software engineers who can proficiently build a software system by using open source software. Even …

more ...

My emacs and imapd workflow

There are three types of partition supported by fdisk, primary, extended and logical. The device driver maps the bytes over a seekable device, and user space is free to access any valid bytes in the array, in any order-it might read byte 12, then byte 7, and then byte 12 …

more ...

Go and Linux - a marriage made in heaven?

Missing a character, or reading them in any other order, would make little sense. For the most part, the Linux community communicates via various mailing lists and USENET newsgroups. Some tasks will be just as easy in either environment. There is also a level of indirection introduced that makes accesses …

more ...

Instance names should not be specified when using ssh-add

Some tasks are best suited to a GUI, word processing and video editing are great examples. You can easily configure and access any corner in your computer, monitor processes and manage virtual environments for different projects. First is the Human Factor, which includes the psychological issues with change, any kind …

more ...

Is experience with mpg123 an employable skill?

However, not all Linux installations use GNU components as a part of their operating system. In that case, the new bytes (which are added to the end of the file) are filled with zeros. Although the source code must be made freely available in all cases, there is no requirement …

more ...

How to install init on Suse

The kernel seamlessly and transparently preempts and reschedules processes, sharing the system's processors among all running processes. The major identifier for the primary IDE controller is 3 and is 22 for the secondary IDE controller. Usually, as bytes in the file are read from or written to, byte-by-byte, the file …

more ...

Open the gates for setkeycodes

If they will then it removes the sem_queue data structure from the operations pending list and applies the semaphore operations to the semaphore array. If, however, that company transitions to Linux, the staff would require little retraining, and little of the custom software would need to be rewritten and retested …

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 ...

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 ...

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 ...

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 ...

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 ...

Acceptable parameters when the library linker matters

The alternative is to have a micro-kernel structure where the functional pieces of the kernel are broken out into separate units with strict communication mechanisms between them. If one process crashes it will not cause another process in the system to crash. Unquoted text is assumed to be a function …

more ...