Linux

129
Ebook

Linux System Programming Techniques. Become a proficient Linux system programmer using expert recipes and techniques

Jack-Benny Persson

Linux is the world's most popular open source operating system (OS). Linux System Programming Techniques will enable you to extend the Linux OS with your own system programs and communicate with other programs on the system.The book begins by exploring the Linux filesystem, its basic commands, built-in manual pages, the GNU compiler collection (GCC), and Linux system calls. You'll then discover how to handle errors in your programs and will learn to catch errors and print relevant information about them. The book takes you through multiple recipes on how to read and write files on the system, using both streams and file descriptors. As you advance, you'll delve into forking, creating zombie processes, and daemons, along with recipes on how to handle daemons using systemd. After this, you'll find out how to create shared libraries and start exploring different types of interprocess communication (IPC). In the later chapters, recipes on how to write programs using POSIX threads and how to debug your programs using the GNU debugger (GDB) and Valgrind will also be covered.By the end of this Linux book, you will be able to develop your own system programs for Linux, including daemons, tools, clients, and filters.

130
Ebook

Linux w biurze i nie tylko

Sergiusz Flanczewski

Zbadaj Linuksa od podszewki! Pierwsze koty za płoty, czyli zasady działania i sposób instalacji Linuksa Jak to ugryźć, czyli obsługa plików i katalogów oraz konfiguracja środowiska KDE Poskromić system, czyli sieci lokalne, Internet i podłączanie urządzeń zewnętrznych Dyskusja o wyższości Linuksa nad Windowsem — i odwrotnie — przypomina tę o wyższości świąt Wielkanocy nad świętami Bożego Narodzenia, czyli zwyczajnie nie ma sensu. Jeśli jednak interesuje Cię sposób działania Linuksa albo masz w planach pracę na komputerze z tym właśnie systemem, ten poradnik z pewnością okaże się niezwykle potrzebny. Na pewno wiesz już, że ten system operacyjny jest odporniejszy na wirusy, bardziej elastyczny i tworzony przez całą społeczność użytkowników, gotowych w razie potrzeby pospieszyć z pomocą. Niewykluczone jednak, że przeraża Cię jego pozorne skomplikowanie i potrzebujesz rzetelnych informacji, by w końcu rozgryźć jego tajemnicę. Książka "Linux w biurze i nie tylko" dostarczy Ci wszelkich wiadomości o tym właśnie systemie, a konkretnie o jednej z jego odmian: Kubuntu, czyli Ubuntu ze środowiskiem graficznym KDE 4. Dzięki niej dowiesz się, na czym polega istota działania Linuksa, jak zainstalować system (z dołączonej płyty CD), skonfigurować grafikę, wykonywać operacje na plikach i katalogach, korzystać z urządzeń zewnętrznych i sieci. Bez trudu opanujesz także obsługę systemu zarówno w trybie konsoli, jak i przy użyciu interfejsu graficznego. I zanim się obejrzysz, Linux stanie się niezastąpionym narzędziem w Twojej codziennej pracy. Informacje podstawowe, czyli Linux w pigułce Instalacja systemu i pierwsze uruchomienie Kubuntu Konfiguracja KDE — wskaźnik myszy, pulpit, plasmoidy Obsługa plików i katalogów — katalog domowy, Dolphin, Konqueror Sieć lokalna i połączenia komputerów o różnych systemach operacyjnych Internet — podłączanie, używane programy i ich konfiguracja Drukarki i skanery — instalacja i udostępnianie Narzędzia internetowe — przeglądarki, programy pocztowe, Adobe Flash Player Zacznij w końcu korzystać z bogactwa możliwości Linuksa!

131
Ebook

Linux. Wiersz poleceń i skrypty powłoki. Biblia. Wydanie IV

Christine Bresnahan, Richard Blum

Odkąd systemy linuksowe mają atrakcyjne interfejsy graficzne, wielu administratorów wykonuje swoje zadania za pomocą myszy. Wiersz poleceń jest o wiele trudniejszym interfejsem, ten sposób pracy jednak pozwala na wykorzystanie pełnego potencjału Linuksa i uzyskanie dostępu do funkcji, które w inny sposób byłyby nieosiągalne. Umiejętność pisania skryptów wiersza poleceń i powłoki Linuksa wciąż jest niezwykle ważna dla każdego administratora, któremu zależy na efektywnym działaniu systemu. Ta książka, podobnie jak inne z serii "Biblia", zawiera zarówno niezbędne teoretyczne informacje, jak i mnóstwo praktycznych wskazówek i instrukcji, dzięki czemu jest znakomitą pomocą w nauce pisania skryptów dla Linuksa. Pokazano tu, kiedy efektywniej jest używać interfejsu graficznego, a kiedy lepiej sięgnąć do wiersza poleceń. Opisano elementy systemu Linux i przedstawiono podstawowe informacje o powłoce, a także o pracy w wierszu poleceń. Zaprezentowano techniki przetwarzania danych użytkownika w skryptach, pracę z systemami plików, wreszcie - sposoby instalacji i aktualizacji oprogramowania. Sporo miejsca poświęcono pracy z wyrażeniami regularnymi i zaawansowanym metodom manipulacji danymi, pokazano też, jak zmodyfikować skrypty powłoki, aby działały w innych powłokach Linuksa. Najciekawsze zagadnienia: tworzenie praktycznych skryptów i narzędzi skryptowych i zarządzanie nimi alternatywne powłoki, takie jak dash i zsh edytory gawk i sed podstawowe i rozszerzone wyrażenia regularne tworzenie skryptów powłoki dla pulpitów graficznych w środowiskach KDE i GNOME pisanie podstawowych i zaawansowanych funkcji Wiersz poleceń: oto pełny potencjał Linuksa!

132
Ebook

Machine Learning with Swift. Artificial Intelligence for iOS

Alexander Sosnovshchenko, Oleksandr Baiev

Machine learning as a field promises to bring increased intelligence to the software by helping us learn and analyse information efficiently and discover certain patterns that humans cannot. This book will be your guide as you embark on an exciting journey in machine learning using the popular Swift language. We’ll start with machine learning basics in the first part of the book to develop a lasting intuition about fundamental machine learning concepts. We explore various supervised and unsupervised statistical learning techniques and how to implement them in Swift, while the third section walks you through deep learning techniques with the help of typical real-world cases. In the last section, we will dive into some hard core topics such as model compression, GPU acceleration and provide some recommendations to avoid common mistakes during machine learning application development. By the end of the book, you'll be able to develop intelligent applications written in Swift that can learn for themselves.

133
Ebook

Managing and Visualizing Your BIM Data. Understand the fundamentals of computer science for data visualization using Autodesk Dynamo, Revit, and Microsoft Power BI

Ernesto Pellegrino, Manuel André Bottiglieri, Gavin Crump, Luisa Cypriano Pieper, ...

Business intelligence software has rapidly spread its roots in the AEC industry during the last few years. This has happened due to the presence of rich digital data in BIM models whose datasets can be gathered, organized, and visualized through software such as Autodesk Dynamo BIM and Power BI.Managing and Visualizing Your BIM Data helps you understand and implement computer science fundamentals to better absorb the process of creating Dynamo scripts and visualizing the collected data on powerful dashboards. This book provides a hands-on approach and associated methodologies that will have you productive and up and running in no time. After understanding the theoretical aspects of computer science and related topics, you will focus on Autodesk Dynamo to develop scripts to manage data. Later, the book demonstrates four case studies from AEC experts across the world. In this section, you’ll learn how to get started with Autodesk Dynamo to gather data from a Revit model and create a simple C# plugin for Revit to stream data on Power BI directly. As you progress, you’ll explore how to create dynamic Power BI dashboards using Revit floor plans and make a Power BI dashboard to track model issues.By the end of this book, you’ll have learned how to develop a script to gather a model’s data and visualize datasets in Power BI easily.

134
Ebook

Manjaro Linux User Guide. Gain proficiency in Linux through one of its best user-friendly Arch-based distributions

Atanas Georgiev Rusev

Manjaro Linux, renowned for its smooth installation, user-friendly interface, and robust security features, is an Arch-based fast Linux distro enhanced with multiple graphical environments, GUI modules, and a full application setup, resulting in a top Linux distribution. This book is your guide to unlocking its full potential.Starting with an overview of the different editions and detailed installation instructions, the initial section offers insights into the GUI modules and features of each official edition. You’ll then explore the regular software, work with the Terminal, and cover topics such as package management, filesystems, automounts, storage, backups, and encryption. The subsequent chapters will help you get to grips with data sharing, security and networking, firewalls, VPNs, and SSH in depth. Finally, you’ll become well-versed in service and user management, troubleshooting, scripting, automation, and kernel switching.The book’s modular structure allows you to quickly navigate to the specific information you need, and by its end, you’ll have gained an appreciation of what sets Manjaro Linux apart.

135
Ebook

Mastering Assembly Programming. From instruction set to kernel module with Intel processor

Alexey Lyashko

The Assembly language is the lowest level human readable programming language on any platform. Knowing the way things are on the Assembly level will help developers design their code in a much more elegant and efficient way. It may be produced by compiling source code from a high-level programming language (such as C/C++) but can also be written from scratch. Assembly code can be converted to machine code using an assembler.The first section of the book starts with setting up the development environment on Windows and Linux, mentioning most common toolchains. The reader is led through the basic structure of CPU and memory, and is presented the most important Assembly instructions through examples for both Windows and Linux, 32 and 64 bits. Then the reader would understand how high level languages are translated into Assembly and then compiled into object code. Finally we will cover patching existing code, either legacy code without sources or a running code in same or remote process.

136
Ebook

Mastering Bash. A Step-by-Step Guide to working with Bash Programming and Shell Scripting

Giorgio Zarrelli

System administration is an everyday effort that involves a lot of tedious tasks, and devious pits. Knowing your environment is the key to unleashing the most powerful solution that will make your life easy as an administrator, and show you the path to new heights. Bash is your Swiss army knife to set up your working or home environment as you want, when you want.This book will enable you to customize your system step by step, making your own real, virtual, home out of it. The journey will take you swiftly through the basis of the shell programming in Bash to more interesting and challenging tasks. You will be introduced to one of the most famous open source monitoring systems—Nagios, and write complex programs with it in any languages. You’ll see how to perform checks on your sites and applications.Moving on, you’ll discover how to write your own daemons so you can create your services and take advantage of inter-process communication to let your scripts talk to each other. So, despite these being everyday tasks, you’ll have a lot of fun on the way. By the end of the book, you will have gained advanced knowledge of Bash that will help you automate routine tasks and manage your systems.