linux.md

July 15, 2021 · View on GitHub

Bookmarks tagged [linux]

www.codever.land/bookmarks/t/linux

How to find out line-endings in a text file?

https://stackoverflow.com/questions/3569997/how-to-find-out-line-endings-in-a-text-file

Describes how to find / display line endings in files on linux system.


Setting Up Authelia With SWAG

https://blog.linuxserver.io/2020/08/26/setting-up-authelia/

This article details how SSO via Authelia can be easily set up using SWAG's preset Authelia confs.


GitHub - jlevy/the-art-of-command-line: Master the command line, in one page

https://github.com/jlevy/the-art-of-command-line

Master the command line, in one page. Contribute to jlevy/the-art-of-command-line development by creating an account on GitHub.


screen Cheat Sheet - Kapeli

https://kapeli.com/cheat_sheets/screen.docset/Contents/Resources/Documents/index


How to Add a Directory to Your $PATH in Linux

https://www.howtogeek.com/658904/how-to-add-a-directory-to-your-path-in-linux/

When you type a command in a terminal window and press Enter, you kick off quite a lot of activity before your command is even executed.


Unix Toolbox

http://cb.vu/unixtoolbox.xhtml?utm_medium=email&utm_source=topic+optin&utm_campaign=awareness&utm_co...

A collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users, a compact and practical reference.


How To Use Systemctl to Manage Systemd Services and Units

https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and...

In this guide, we will be discussing the systemctl command, which is the central management tool for controlling the init system. We will cover how to manage services, check statuses, change system st...


SS64 Command line reference

https://ss64.com/


Basic Linux Commands - Bash Command Line Tips You Should Know

https://www.freecodecamp.org/news/basic-linux-commands-bash-tips-you-should-know-2/


Late Night Linux

https://latenightlinux.com/

Late Night Linux is a podcast that takes a look at what’s happening with Linux and the wider tech industry. Every two weeks, Joe, Félim, Graham and Will discuss the latest news and releases, and the b...


shell - Which terminal command to get just IP address and nothing else? - Stack Overflow

https://stackoverflow.com/questions/8529181/which-terminal-command-to-get-just-ip-address-and-nothin...

On OSX, if you know the interface, you could use - $ ipconfig getifaddr en0

You can write a script that only return the IP like: ...


GitHub - prometheus/node_exporter

https://github.com/prometheus/node_exporter

Prometheus exporter for hardware and OS metrics exposed by *NIX kernels, written in Go with pluggable metric collectors.


AWK command in Unix/Linux with examples - GeeksforGeeks

https://www.geeksforgeeks.org/awk-command-unixlinux-examples/

awk introduction for beginners with examples


bash - Is there any way to execute commands from history? - Unix & Linux Stack Exchange

https://unix.stackexchange.com/questions/275053/is-there-any-way-to-execute-commands-from-history/27...

!number_in_history (e.g. !667)


frol/cgroups-fs

https://github.com/frol/cgroups-fs

Rust bindings to Linux Control Groups (cgroups)


pop-os/dbus-udisks2

https://github.com/pop-os/dbus-udisks2

UDisks2 DBus API


pop-os/distinst

https://github.com/pop-os/distinst/

Linux distribution installer library


inotify-rs/inotify

https://github.com/inotify-rs/inotify

inotify bindings


arvancloud/nginx-rs

https://github.com/arvancloud/nginx-rs

Nginx bindings


yaa110/rust-iptables

https://github.com/yaa110/rust-iptables

iptables bindings


awesome-linux

https://github.com/aleksandar-todorovic/awesome-linux#readme

:penguin: A list of awesome projects and resources that make Linux even more awesome. :penguin: - aleksandar-todorovic/awesome-linux


awesome-linux-containers

https://github.com/Friz-zy/awesome-linux-containers#readme

A curated list of awesome Linux Containers frameworks, libraries and software - Friz-zy/awesome-linux-containers


GitHub - krallin/tini

https://github.com/krallin/tini

A tiny but valid init for containers.


https://askubuntu.com/questions/522051/how-to-list-all-symbolic-links-in-a-directory

find . -type l -ls

To only process the current directory:

find . -maxdepth 1 -type l -ls

Install Bash git completion

https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion

How to install git completion on different platforms...


5 Commands for Checking Memory Usage in Linux

https://www.linux.com/learn/5-commands-checking-memory-usage-linux

  • free -m
  • egrep --color 'Mem|Cache|Swap' /proc/meminfo - This will produce an easy to read listing of all entries that contain Mem, Cache, and Swap ... with a splash of color
  • tags: linux, memory-management

How to compare differences between directories (linux) - Server Fault

https://serverfault.com/questions/59108/how-to-compare-differences-between-directories-linux

So to compare directories: diff --brief -r dir1 dir2

To compare files side by side: diff --side-by-side file1 file2


macos - Linux - Find Files with Name Containing String - Stack Overflow

https://stackoverflow.com/questions/11328988/linux-find-files-with-name-containing-string

Use find: ...


https://stackoverflow.com/questions/1951742/how-to-symlink-a-file-in-linux

To create a new symlink (will fail if symlink exists already):


glob (programming) - Wikipedia

https://en.wikipedia.org/wiki/Glob_(programming)

In computer programming, in particular in a Unix-like environment, glob patterns specify sets of filenames with wildcard characters. For example, the Unix command mv *.txt textfiles/ moves (mv...


command line - How to show only hidden files in Terminal? - Ask Ubuntu

https://askubuntu.com/questions/468901/how-to-show-only-hidden-files-in-terminal

The command to show only hidden files:


Add a User to a Group (or Second Group) on Linux Asset 1

https://www.howtogeek.com/50787/add-a-user-to-a-group-or-second-group-on-linux/

Add existing user (here exampleusername) to existing group (here examplegroup):


Systemd Essentials: Working with Services, Units, and the Journal | DigitalOceanDigitalOcean

https://www.digitalocean.com/community/tutorials/systemd-essentials-working-with-services-units-and-...

In recent years, Linux distributions have increasingly transitioned from other init systems to systemd. The systemd suite of tools provides a fast and flexible init model for managing an entire ma...


GNU/Linux segédprogramok használata

http://mek.oszk.hu/08700/08742/index.phtml

Terék Zsolt (PDF)


A GNU/Linux programozása grafikus felületen

http://mek.oszk.hu/05500/05528/index.phtml

Pere László (PDF)


Linux

http://ilkaddimlar.com/Linux/Linux/18/Linux


دليل إدارة خواديم أوبنتو

http://librebooks.org/ubuntu-server-guide-arabic/


دفتر مدير دبيان

http://librebooks.org/debian-handbook-arabic/


الإدارة المتقدمة لجنو/لينكس

http://librebooks.org/gnu-linux-advanced-administration/


أوبنتو ببساطة

http://librebooks.org/simply-ubuntu/


Ubuntu Linux for You

http://eimaung.com/ubuntu-for-you

Ei Maung


Secure Programming for Linux and Unix HOWTO

http://linuxjf.osdn.jp/JFdocs/Secure-Programs-HOWTO/

David A. Wheeler, 高橋聡(翻訳)


Linux from Scratch (Version 7.4)

http://lfsbookja.osdn.jp/7.4.ja/

Gerard Beekmans, 松山道夫(翻訳)


Linux Device Driver

http://www.mech.tohoku-gakuin.ac.jp/rde/contents/linux/drivers/indexframe.html

熊谷正朗


El Manual de BASH Scripting Básico para Principiantes

https://es.wikibooks.org/wiki/El_Manual_de_BASH_Scripting_B%C3%A1sico_para_Principiantes

en WikiBooks


Debian GNU/Linux para administradores

https://debian-handbook.info/browse/es-ES/stable/


BASH Scripting Avanzado: Utilizando declare para definición de tipo

http://library.originalhacker.org/biblioteca/articulo/ver/123


Bases de la programación en Bash

http://xinfo.sourceforge.net/documentos/bash-scripting/bash-script-2.0.html


«a2», ex «Appunti di informatica libera», ex «Appunti Linux»

http://archive.org/download/AppuntiDiInformaticaLibera/


SUSE Linux: uživatelská příručka

http://www.root.cz/knihy/suse-linux-uzivatelska-prirucka/

(PDF)


Příručka uživatele Fedora 17

http://www.root.cz/knihy/prirucka-uzivatele-fedora-17/

(PDF)


Mandriva Linux 2008 CZ

http://www.root.cz/knihy/mandriva-linux-2008-cz/

(PDF)


Instalace a konfigurace Debian Linuxu

http://www.root.cz/knihy/instalace-a-konfigurace-debian-linuxu/

(PDF)


Gentoo Handbook česky

http://www.root.cz/knihy/gentoo-handbook-cesky/

(PDF)


Učebnice ABCLinuxu

http://www.root.cz/knihy/ucebnice-abclinuxu/

(PDF)


Linux: Dokumentační projekt

http://www.root.cz/knihy/linux-dokumentacni-projekt/

(PDF)


What Every Programmer Should Know About Memory

http://www.akkadia.org/drepper/cpumemory.pdf

(PDF)


Understanding the Linux Virtual Memory Manager

https://www.kernel.org/doc/gorman/

Mel Gorman (HTML, PDF)


Ubuntu Server Guide

https://help.ubuntu.com/16.04/serverguide/serverguide.pdf

(PDF)


The Linux System Administrator's Guide

http://www.tldp.org/LDP/sag/html/index.html


Ubuntu Pocket Guide and Reference

http://www.ubuntupocketguide.com/index_main.html


The Linux Kernel Module Programming Guide

http://tldp.org/LDP/lkmpg/2.6/html/


The Linux Development Platform

http://ptgmedia.pearsoncmg.com/imprint_downloads/informit/perens/0130091154.pdf

(PDF)


The Debian Administrator's Handbook

https://debian-handbook.info


Secure Programming HOWTO - Creating Secure Software

http://www.dwheeler.com/secure-programs/

D. A. Wheeler (HTML, PDF)


Ten Steps to Linux Survival: Bash for Windows People

http://dullroar.com/book/TenStepsToLinuxSurvival.html

Jim Lehmer


Red Hat Enterprise Linux 6 Essentials

http://www.techotopia.com/index.php/Red_Hat_Enterprise_Linux_6_Essentials


OpenVZ Linux virtualization

http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

(PDF)


Linux Succinctly, Syncfusion

https://www.syncfusion.com/resources/techportal/ebooks/linux

(PDF, Kindle) (Just fill the fields with any values)


Linux Security for Beginners

http://www.linuxtopia.org/LinuxSecurity/index.html


Linux Kernel in a Nutshell

http://www.kroah.com/lkn/


Linux Newbie Administrator Guide

http://lnag.sourceforge.net


Linux Inside

https://www.gitbook.com/book/0xax/linux-insides/details


Linux from Scratch

http://www.linuxfromscratch.org/lfs/view/stable/


Linux Device Drivers, Third Edition

http://lwn.net/Kernel/LDD3/

Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman


Linux Compute Clusters

http://linuxclusters.com/compute_clusters.html


Linux Advanced Routing & Traffic Control HOWTO

http://lartc.org


Linux Administrator's Security Guide

http://www.linuxtopia.org/online_books/linux_administrators_security_guide/index.html


Linux 101 Hacks

http://thegeekstuff.s3.amazonaws.com/files/linux-101-hacks.zip

Ramesh Natarajan (PDF)


Learning Debian GNU/Linux

http://www.oreilly.com/openbook/debian/book/index.html


Learn Enough Command Line to Be Dangerous

https://www.learnenough.com/command-line-tutorial

Michael Hartl


Kali Linux: Professional Penetration-Testing Distribution

http://docs.kali.org


Hardened Linux From Scratch

http://www.linuxfromscratch.org/hlfs/download.html


GTK+/Gnome Application Development

http://www.linuxtopia.org/online_books/gui_toolkit_guides/gtk+_gnome_application_development/


GNU Autoconf, Automake and Libtool

http://www.sourceware.org/autobook/download.html


Getting Started with Ubuntu

http://ubuntu-manual.org


Automated Linux From Scratch

http://www.linuxfromscratch.org/alfs/download.html


Advanced Linux Programming

http://advancedlinuxprogramming.com


Ad Hoc Data Analysis From The Unix Command Line

https://en.wikibooks.org/wiki/Ad_Hoc_Data_Analysis_From_The_Unix_Command_Line


UNIX/Linux Sistem Programlama Kurs Notları

http://www.kaanaslan.com/resource/course_note/course_note.php


Linux Sistem Yöneticisinin Kılavuzu

http://belgeler.org/sag/sag.html


Linux Belgeleri

http://belgeler.org/howto/howtos.html


GNU Bash Başvuru Kılavuzu

http://belgeler.org/bashref/bashref.html


اوبونتو برای تازه واردها

http://ubuntu-book.org


آرچ بوک

http://linuxreview.ir/archbook/ArchBook-2012-1.pdf

(PDF)


리눅스 서버를 다루는 기술

https://thebook.io/006718/


Display Date And Time In Linux – nixCraft

https://www.cyberciti.biz/faq/linux-display-date-and-time/

To display date and time under Linux operating system using command prompt use the date command. It can also display the current time / date in the given FORMAT, or set the system date and time as r...

  • :calendar: published on: 2009-01-09
  • tags: linux

The Linux Command Line by William E. Shotts, Jr.

http://linuxcommand.org/tlcl.php

Designed for the new command line user, this 540-page volume covers the same material as LinuxCommand.org but in much greater detail. In addition to the basics of command line use and shell scripting,...


systemd - Debian Wiki

https://wiki.debian.org/systemd

systemd is a system and service manager for Linux. systemd is compatible with SysV and LSB init scripts. It can work as a drop-in replacement for sysvinit.

Systemd


EnvironmentVariables - Community Help Wiki

https://help.ubuntu.com/community/EnvironmentVariables

Contents:

  • Manipulating environment variables and values
  • Working principles of environment variables
  • Bash's quick assignment and inheritance trick
  • Persistent environment variables
  • List of com...
  • tags: ubuntu, linux

Systemd - FedoraProject

https://fedoraproject.org/wiki/Systemd

systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting ...


What is an init system? - Fedora Magazine

https://fedoramagazine.org/what-is-an-init-system/

Back in Fedora 15, Fedora introduced a piece of core software called systemd. systemd is a collection of tools for a range of different tasks. Its primary purpose is initializing, managing and trackin...


How to find all files containing specific text on Linux? - Stack Overflow

http://stackoverflow.com/questions/16956810/how-to-find-all-files-containing-specific-text-on-linux

grep -rnw '/path/to/somewhere/' -e "pattern"
  • -r or -R is recursive,
  • -n is line number, and
  • -w stands for match the whole word.
  • -l (lower-case L) can be added to just give th...
  • tags: linux, shell

Bash Reference Manual: Top

https://www.gnu.org/software/bash/manual/html_node/index.html

What is bash? This manual is meant as a brief introduction to features found in Bash. The Bash manual page should be used as the definitive reference on shell behavior.


A developer's guide to using aliases – CodepediaOrg

http://www.codepedia.org/ama/a-developers-guide-to-using-aliases/

An original approach to use aliases. Makes your life as a developer much easier in the terminal... Some samples:

...


What Is The Difference Between Shell, Console, And Terminal?

https://fossbytes.com/difference-between-shell-console-terminal/

Did you know that a terminal used to be a physical monitor and keyboard and a console was a port with a low-level connection to the operating system? But where does that leave the shell?