-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Applications
git
imagemagick
mongod
GNOME
gsettings
gconf-editor
KDE
kquitapp
krunner
kstart
SMB
smbclient
smbpasswd
smbstatus
[Printing]
[CUPS][CUPS]
cupsaccept
cupsenable
cupsdisable
cupsreject
lp
cancel
LPD
lpc
lpq
lpr
lprm
Kubernetes
kubeadm
kubectl
Fully-featured desktop environments are distinct from window managers, which are more focused in scope
Security-oriented, lightweight Linux distribution used in containers and hardware.
Berkeley Software Distribution (BSD) began in the 70s and was based on AT&T original code. First source distributions required user to purchase a source license from AT&T, since much of the BSD source was derivative of UNIX.
Berkeley finally released a "wholly-BSD" product as Network Release 1 in 1989, which satisfied vendor demand for the TCP/IP networking code for PC.
Work immediately began to reconstruct the remaining functionality of UNIX, which was completed in Network Release 2, released in 1991, which was based entirely on Berkeley code. Eventually this resulted in the 386BSD distribution, which then spawned five interrelated BSD distros: BSDI (now Wind River), NetBSD, FreeBSD, OpenBSD, and Darwin/Mac OS X
Unix System Laboratories (USL) sued BSDI after BSDI attempted to market its product as a real UNIX, and other BSD distributions were affected by disputed code. Ultimately 3 out of the 18,000 files that made up the Network Release 2 distribution were removed, which became known as 4.4BSD-lite, released in 1994. This legal dispute was partly to blame for Linux's rapid ascent in popularity.
Source: Article
Rolling release distro from Intel with a custom package management system based on bundles, collections of packages that contain everything an application requires, including dependencies. Clear's update process also has the ability to do delta downloads, preserving bandwidth. It does not provide access with unusual licenses, like ZFS, Chrome, or FFmpeg. ^
CoreOS is a Fedora edition built specifically for running containerized workloads securely and at scale. Because containers can be deployed across many nodes for redundancy, the system can be updated and rebooted automatically without affecting uptime. ^
CoreOS systems are meant to be immutable infrastructure, meaning they are only configured through the provisioning process and not modified in-place. All systems start with a generic OS image, but on first boot it uses a system called Ignition to read an Ignition config (which is converted from a Fedora CoreOS Config file) from the cloud or a remote URL, by which it provisions itself, creating disk partitions, file systems, users, etc.
CoreOS automatically installs upgrades automatically without user intervention, although they can be stopped if a problem is found.
Appearance
- Colors affects the appearance of text
- Workspace Theme > Look and Feel allows selection of Look and Feel Themes that affect window appearance
- Workspace Theme > Plasma theme appears to affect the appearance of widgets only
File dialogs have highly configurable views, with icon sizes scalable from 16 to 128 px and filenames available to the side or below the icon.
- A view similar to the Icons view in Mac OS X or the List view in Windows can be reproduced by setting View to the icon size to the minimum 16px and placing the filename to the side (
Icon Position>Next to file name)
Wallpaper types "Haenau" and "Hunyango" are QML (Qt Modeling Language) animated wallpapers that were introduced in Plasma 5.1 (2014)
"Plasmoids" are dragged and dropped onto the Desktop, where they function as buttons. A long click will allow them to be moved, rotated, or resized. Each plasmoid can be configured with a keyboard shortcut. They occupy all virtual desktops.
One plasmoid in particular is the "Grouping Plasmoid", which allows other plasmoids to be placed within it, where they occupy separate tabs.
Workspace > Startup and Shutdown > Login Screen (SDDM)
- The advanced tab allows you to select Mouse cursor theme and auto login of user and session type. These appear to affect specifically settings in /etc/sddm.conf (
Session=gnome-xorgunder[Autologin])
Default shortcuts are found in Workspace > Shortcuts > Global Shortcuts
- "Run Command" refers to
krunner, a single-line application launcher similar to the Run command on Windows. - Alt-t : open a terminal window
Traditionally, syslogd was the daemon in charge of this, but recently alternatives such as rsyslog and syslog-ng have emerged.
| # | Severity | Description |
|---|---|---|
| 0 | Emergencies | Most severe error conditions that render the system unusable |
| 1 | Alerts | Conditions requiring immediate attention |
| 2 | Critical | Condition that should be addressed to prevent an interruption of service |
| 3 | Error | Error conditions that do not render the system unusable |
| 4 | Warning | Specific operations failed to complete successfully |
| 5 | Notifications | Non-error notifications that alert an administrator about state changes within a system |
| 6 | Informational | Detailed dinformation about the normal operation of a system |
| 7 | Debugging | Highly detailed information used for troubleshooting |
Index node (inode) is a data structure that stores all the information about a file except its name and data
Most modern Linux distributions use the ext4 filesystem, which descends from ext3 and ext2, and ultimately ext. Other filesystems in use include btrfs, xfs, and zfs
Source: ref
Extended File System was first implemented in 1992 by Remy Card to address limitations in the MINIX filesystem, which was used to develop the first Linux kernel. It could address up to 2GB of storage and handle 255-character filenames and had only one timestap per file.
ext2 was developed by Remy Card only a year after ext's release as a commercial-grade filesystem, influenced by BSD's Berkeley Fast File System. It was prone to corruption if the system crashed or lost power while data was being written and performance losses due to fragmentation. Nevertheless, it was quickly and widely adopted, and still used as a format for USB drives.
ext3 was adopted by mainline Linux in 2001 and uses journaling, whereby disk writes are stored as transactions in a special allocation, which allows a rebooted system to roll back incomplete transactions. 3 journaling modes: journal, ordered, and writeback
ext4 was added to mainline Linux in 2008, developed by Theodore Ts'o, and improves upon ext3 but is still reliant on old technology.
- true next-generation filesystem with a problematic license
- ZFS on Linux (ZOL) is considered the ugly stepchild of the ZFS community despite the fact that the Linux implementation has the most features and the most community support
- ZFS is too tightly bound to the operation of the kernel to operate in true userspace, and that is why each implementation is different for operating systems
- ZFS is too tightly bound to the operation of the kernel to operate in true userspace, and that is why each implementation is different for operating systems
- ZFS is too tightly bound to the operation of the kernel to operate in true userspace, and that is why each implementation is different for operating systems
- LU: 284
B-Tree Filesystem "butter fs" was adopted by SUSE Enterprise Linux, but support was dropped by Red Hat in 2017.
Similar to DLL files on Windows systems, .so ("shared object") library files on Linux allow code to be shared by various processes. They are vulnerable to injection attacks. One file in particular, linux-vdso.so.1, finds and locates other shared libraries and is mapped by the kernel into the address space of every process. This library-loading mechanism can be exploited through the use of the environment variable LD_PRELOAD, which is considered the most convenient way to load a shared library in a process at startup. If defined, this variable is read by the system and the library is loaded immediately after linux-vdso.so.1 into every process that is run. ^
This attack can be detected using the osquery tool. This tool represents the system as a relational database which can then be queried, in particular against the process_envs table.
git
imagemagick
mongod
GNOME
gsettings
gconf-editor
KDE
kquitapp
krunner
kstart
SMB
smbclient
smbpasswd
smbstatus
| Option | Effect |
|---|---|
-format {string} |
display formatted image characteristics; {string} is formatted string using %[key] escape sequences%w current width in pixels %h current height in pixels |
| Option | Effect |
|---|---|
-write $FILENAME |
save to filename
|
-resize $Xx$Y |
resize image to $X pixels by $Y pixels |
-crop $SIZE$OFFSET |
|
-gravity $TYPE |
set current gravity suggestion for various other options possible values NorthWest, North, NorthEast, West, Center, East, SouthWest, South, or SouthEast
|
Argument patterns
--- | ---
{geometry} | {size}{offset}
{size} | {scale}% height and weight are both scaled by a specified percentage
{width}x{height} maximum values of height and width
{width}x{height}^ minimum values of height and width
{offset} | also affected by -gravity setting
+0+0 top-left corner
gravity |
Resize images
magick mogrify -resize 1920x1200 -write mars-bg.jpg pia22511.jpg
magick identify -format "%w x %h" pia22511.jpgSave the output of a command as an image (convert is from the ImageMagick software suite) ref
cmd | convert label:@- image.pngView image metadata (identify is from the ImageMagick software suite) ostechnix.com
identify image.png # => dimensions, color depth, color profile
identify -verbose image.pngSingle-line application launcher similar to the Run command on Windows.
Allows you to quit a dbus enabled application. Two options:
Specify service to be stopped
kquitapp --serviceSpecify path to dbus interface
kquitapp --pathRestarting KDE Plasma 4 ref
killall plasma-desktop
kstart plasma-desktopRestarting KDE Plasma 5 ref
killall plasmashell
kstart plasmashellkquitapp5 plasmashell
kstart plasmashelllowriter is a command-line utility installed with LibreOffice Writer. vitux.com
Convert a single file to PDF
lowriter --convert-to pdf filename.docConvert a batch of files using globbing
lowriter --convert-to pdf *.docxRun MongoDB service in the background on port 80
mongod --dbpath $HOME/db --port 80 --fork --logpath /var/tmp/mongodbDistributions
Alpine
Arch
CentOS
Clear
CoreOS
Fedora
GNOME
KDE
Kali
Mac OS X
WSL
Yocto
Archive
ar
bzcat
bzip2
bzless
bzmore
compress
cpio
dar
gunzip
gzcat
gzip
tar
uncompress
unxz
unzip
xz
zcat
zip
zipcloak
zipcmp
zipdetails
zipgrep
zipinfo
zipnote
zipsplit
Audio
alsamixer
amixer
speaker-test
bash bg bind break builtin caller case/esac cd command compgen complete compopt continue declare dirs disown do/done echo enable eval exec exit export false fc fg for function getopts hash help history if/fi jobs kill let local logout mapfile popd printf pushd pwd read readarray readonly return select set shift shopt source suspend test time times trap true type typeset ulimit umask unalias unset until wait while
Build tools aclocal as autoconf autoheader automake autoreconf autoscan autoupdate bison cc ctags etags flex g++ gcc gcore gdb gprof ldd lex make xgettext yacc
Boot grub-install grub-mkconfig grub2-editenv update-grub • lilo Shell environment apropos env export history man nohup pwd sleep su sudo tee tmux unalias watch whatis where whereis which xargs File commands chattr chgrp chmod chown cksum cp curl dd dirname dos2unix exif fallocate file find getfacl install link ln locate ls lsattr lsof md5sum mkdir mktemp mv rename rm rmdir rsync scp setfacl setuid stat touch tree umask unlink updatedb whereis which Filters awk cat cmp comm csplit cut diff3 diff ed egrep ex expand fgrep fmt gettext grep groff head join less look more nl od paste pr sed shuf sort split tac tail tee tr unexpand uniq wc Hardware settings bluetoothctl insmod lsmod lspci lsusb modprobe rmmod Information ausearch bpftrace df du free glances hwclock loadaverage logger logrotate lsb_release man mpstat nproc ntpdate printenv rsyslogd sar sysbench syslogd time timedatectl tty uname uptime vmstat Init SystemD hostnamectl journalctl localectl loginctl systemctl systemd-delta timedatectl Sysvinit chkconfig init runlevel service telinit Upstart initctl Kernel dbus-monitor depmod dmesg dracut insmod journalctl ldconfig lsmod mkinitrd modinfo modprobe rmmod udevadm Mail biff mail mailmerge mailq mailx makemap msmtp newaliases newaliases postalias postfix postqueue qmail sendmail SMTP servers exim postfix qmail sendmail Network bmon brctl curl dig ethtool firewall-cmd host hping3 ifconfig iftop ifup-wireless ip iperf ipset iscsiadm iw iwconfig iwlist kinit klist mtr netcat netplan netstat nmap nmblookup nmcli nmtui nslookup ping rfkill route sftp ss ssh ssh-add ssh-agent ssh-keygen ssh-keyscan stty tcpdump tracepath tracepath6 traceroute tshark ufw wget whois xinetd Package managers add-apt-repository alien apt apt-cache apt-get apt-key brew dnf dpkg dpkg-reconfigure dselect galliumos-repodist gem pacman pip pydoc rpm snap yay yum yumdownloader zypper Process control at atq atrm bg fg jobs kill killall lsns nice nohup pgrep pidof pkill ps pstree renice strace top unshare Remote administration curl ftp rsync ssh ssh-add ssh-agent ssh-keygen ssh-keyscan stty telnet vncpasswd vncviewer sshfs [SELinux][SELinux] chcon getenforce getsebool restorecon semanage sestatus setenforce setsebool System administration adduser chage chgrp chmod date edquota gpasswd groupadd groupdel groupmod groups last lastb passwd quota quotacheck quotaoff quotaon repquota su sudo sudoedit timedatectl tzconfig tzselect ulimit useradd userdel usermod visudo w wall who whoami Utilities git tig X windows system cvt x xdpyinfo xfs xhost xlsclients xmodmap xorg xrandr xset xwininfo
- Archive commands
- Audio commands
- Boot commands
- Build tools
- Concepts
- Configs
- Diagnostic commands
- Disk commands
- Distros
- Environment commands
- File commands
- Hardware commands
- Init
- Kernel commands and syscalls
- Mail commands
- Networking commands
- Process control
- Security
- System administration commands
- Tasks
- Text filters
- Virtualization