All public logs

Jump to navigation Jump to search

Combined display of all available logs of 6bit.ch wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)
  • 10:50, 15 November 2024 Xbl talk contribs created page Simple Mail Transfer Protocol (Created page with "= smtp = == Send mail using telnet == <code>telnet localhost 25</code> Connect to the server</br> <code>HELO 6bit.ch</code> Greet the server.</br> <code>MAIL FROM: [email protected]</code> Set the FROM field</br> <code>RCPT TO: [email protected]</code> Set the TO field</br> <code>DATA</code> Enter message, starting with 'Subject:', followed by message body and ending with '.'")
  • 23:16, 8 October 2024 Xbl talk contribs created page Simple Network Management Protocol (Created page with "= SNMP = SNMP is the blackest of magical arts.")
  • 13:07, 26 September 2024 Xbl talk contribs created page ESXi Update (Created page with "= ESXi Update = == Backup Current Config == <code>vim-cmd hostsvc/firmware/sync_config</code> sync running config</br> <code>vim-cmd hostsvc/firmware/backup_config</code> download config</br> == Update ESXi Version == <code>esxcli software sources profile list -d /vmfs/volumes/250/VMware-ESXi-7.0U3-18644231-depot.zip</code> show available profiles in depot</br> <code>esxcli software profile update -d /vmfs/volumes/250/VMware-ESXi-7.0U3-18644231-depot.zip -p ESXi-7.0U3-...")
  • 09:50, 16 August 2024 Xbl talk contribs created page Proxmox USB-Backup (Created page with "== Ziel == Proxmox-VMs auf externe, wechselnde USB-Disk(s) sichern. == Weg zum Ziel == USB-Disks können ab Proxmox 8 mit der x-systemd.automount-Option über ''/etc/fstab'' automatisch gemounted werden. Da die Gerätepfade nicht konstant sind werden Regeln mit ''udev'' erstellt, welche die USB-Disks verlässlich am gleichen Ort präsentieren. === Nur für NTFS-formatierte Platten: ntfs-3g installieren (WebGUI Shell/SSH) === Nativ kann Linux NTFS nur als RO mounten, da...")
  • 16:37, 20 May 2024 Xbl talk contribs created page Supermicro IPMI (Created page with "= Supermicro IPMI = == Fan Control== <code>ipmitool raw 0x30 0x70 0x66 0x01 0x00 0x09</code> Set Fans 0x00 to 9%.</br> <code>ipmitool raw 0x30 0x70 0x66 0x01 0x01 0x09</code> Set Fans 0x01 to 9%.</br> </br> Fan Setting in BMC must be set to Full.</br>")
  • 13:26, 21 August 2023 Xbl talk contribs created page Aho Weinberger Kernighan (Created page with "= awk = is a full scripting language, as well as a complete text manipulation toolkit for the command line.</br> == Use == <code>who | awk '{print $1}'</code> print the first field of every line from the who command</br> <code>who | awk '{print $1,$4}'</code> print the first and fourth field of every line from the who command</br> <code>who | awk '{print $NF}'</code> print the last field (NF=Number of Fields) of every line from the who command</br> </br> <code>date | a...")
  • 11:55, 21 August 2023 Xbl talk contribs created page Diagnostic Messages (Created page with "= dmesg = May be used on most Unix-like operating systems to query th message buffer of the kernel. The output includes messages produced by the device drivers. </br> == Use == <code>dmesg | tail</code> show latest messages</br> == Useful Flags == <code>-D</code> disable printing messages to console</br> <code>-E</code> enable printing messages to console</br> <code>-l <level></code> restrict output to defined level</br> <code>-w</code> print messages and wait for new...")
  • 15:16, 17 March 2023 Xbl talk contribs created page Format and Print Data (Created page with "= printf = Print ARGUMENT(S) according to FORMAT, or execute according to OPTION.</br> <code>printf FORMAT [ARGUMENT]</code></br> <code>printf OPTION</code></br> FORMAT controls the output as in C printf. Interpreted sequences are:</br> <code>\n</code> new line</br> <code>%s</code> output as string</br> <code>%d</code> output as integer</br> Example:</br> <code>printf '%s\n' yolo</code>")
  • 15:29, 10 March 2023 Xbl talk contribs created page OpenVPN (Created page with "=== OpenVPN Config === Enable legacy encryption (do not ask for private key password)</br> <code>providers legacy default</code>")
  • 12:48, 27 February 2023 Xbl talk contribs created page IPTables (Created page with "== IPTables == Administration tool for IPv4 packet filtering and NAT == Use == <code>iptables -S</code> show active filters and fail2bans")
  • 15:15, 24 February 2023 Xbl talk contribs created page Journal Control (Created page with "= journalctl = May be used to query the contents of the systemd(1) journal as written by systemd-journald.service(8).</br> == Use == <code>journalctl -xe</code> show last 1000 messages in a pager</br> <code>journalctl -f</code> follow latest messages</br> <code>journalctl -t sshd</code> show messages of a particular service</br> </br> == Useful Flags == <code>-p <priority></code> show messages with $priority and above only <code>-b <priority></code> show messages sinc...")
  • 11:32, 24 February 2023 Xbl talk contribs created page Tunable Filesystem (Created page with "= tune2fs = Adjust tunable filesystem parameters on ext2/ext3/ext4 filesystems</br> == Use == <code>tune2fs -l /dev/XY</code> Show current values of options on /dev/XY</br> <code>tune2fs -m Z /dev/XY</code> Set root reserved block percentage to Z on /dev/XY</br>")
  • 22:08, 3 January 2023 Xbl talk contribs created page Hardening (Created page with "= nginx = === HTTP Config === /etc/nginx/nginx.conf:</br> <code>server_tokens off</code> Stop the server from advertising versions</br> <code>add_header X-Frame-Options SAMEORIGIN always</code> Stop the website to be framed into other websites</br> <code>add_header X-Content-Type-Options nosniff</code> Avoid MIME type sniffing by saying that the MIME types are deliberately configured</br> <code>add_header X-XSS-Protection "1; mode=block"</code> lock pages from loading w...")
  • 16:27, 30 December 2022 Xbl talk contribs created page Global Regular Expression Print (Created page with "= grep = Print lines from text that match patterns, basic regex is used by default</br> == Use == <code>grep /etc/ssh/sshd_config pattern</code> match pattern in /etc/sshd_config, case sensitive</br> == Useful Flags == <code>-E</code> use extended regex</br> <code>-i</code> case insensitive</br> <code>-A x</code> print x lines after matched pattern</br> <code>-B x</code> print x lines before matched pattern</br> <code>-C x</code> print x lines before and after matched...")
  • 16:07, 30 December 2022 Xbl talk contribs created page Find (Created page with "= find = Search for files in a directory hierarchy. The command is recursive by default.</br> == Use == <code>find /var/www -name '*.css'</code> prints full path/filename to all files in /var/www that end in .css <code>-name</code> filename matches string(case sensitive)</br> <code>-iname</code> filename matches string(case insensitive)</br> <code>-regex</code> filename matches regex(case sensitive)</br> <code>-iregex</code> filename matches regex(case insensitive)</b...")
  • 12:57, 2 December 2022 Xbl talk contribs deleted page System and Service Manager (content was: "= systemd = Systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system.</br> == Use == <code>systemctl status <unit></code> show status</br> <code>systemctl start <unit></code> start $unit</br> <code>systemctl stop <unit></code> stop $unit</br> </br> <code>systemctl is-enabled <unit></code...", and the only contributor was "Xbl" (talk))
  • 10:34, 2 December 2022 Xbl talk contribs created page Network Statistics (Created page with "= netstat = Gives an overview of network activities and displays which ports are open or have established connections. The netstat tool is essential for discovering network problems.</br> == Use == <code>netstat</code> show lists of ''active'' connections</br> </br> The first list shows internet connections:</br> '''Proto''' – Protocol of the connection (TCP, UDP)</br> '''Recv-Q''' – Receive queue of bytes received or ready to be received</br> '''Send-Q''' – Send...")
  • 17:00, 30 November 2022 Xbl talk contribs created page Table of Processes (Created page with "= top = Provides a dynamic real-time view of a running system.</br> </br> Load is a complex value, designating the balance between required and available CPU power.</br> Load <1: The system has some idle time</br> Load =1: The system has as much work as it can handle</br> Load >1: The system has to prioritize some processes over others</br> Load >3: The system is probably not fit for the current workload</br> Load >10: The system may have a serious problem</br> Load >30...")
  • 15:19, 30 November 2022 Xbl talk contribs created page Process Control (Created page with "= kill = Sends a signal to a process id. == Use == <code>kill -s <signal> <pid></code> send <signal> (SIGTERM if not defined) to <pid></br> == Useful Flags == <code>-L</code> display list of signals</br> == Most Important Signals == <code>SIGINT / 2</code> INTERRUPT (Same as Ctrl+c) cancel a running process</br> <code>SIGKILL / 9</code> kills process</br> <code>SIGTERM / 15</code> terminates a program cleanly</br> <code>SIGSTOP / 17</code> stops a running foreground...")
  • 22:31, 28 November 2022 Xbl talk contribs created page Tape Archive (Created page with "= tar = Packs and may compress multiple files a tarball or writes to magnetic tape.</br> == Use (BSD-Style)== <code>tar xf example.tar</code> extract (x) tarball example.tar (f) to .</br> <code>tar cf example.tar</code> create (c) tarball example.tar (f) to .</br> == Useful Flags == <code>t</code> list contents to stdout</br> <code>v</code> verbose output</br> <code>z</code> de-/compress with gzip</br> <code>j</code> de-/compress with bzip</br>")
  • 22:18, 28 November 2022 Xbl talk contribs created page Data Duplicator (Created page with "= dd = Convert and copy a file. Also, write to tape</br> == Use == <code>dd if=<PATH> of=<PATH></code>duplicate infile to outfile</br> == Useful Flags == <code>bs=<BYTES></code> read and write up to BYTES bytes at a time (default: 512)</br> <code>count=<N></code> copy only N input blocks</br>")
  • 22:11, 28 November 2022 Xbl talk contribs created page Magnetic Tape (Created page with "= mt = Controls magnetic tape drives.</br> == Use == <code>mt [-f </dev/st0>] status</code> Show status of <device></br> == Useful Flags ==")
  • 17:39, 25 November 2022 Xbl talk contribs created page Process Snapshot (Created page with "= ps = Shows running processes and their IDs.</br> == Use == <code>ps</code> show running processes of current user in current terminal</br> <code>ps aux</code> BSD-style, show all running processes (-a) with user column (-u) inside and outside terminals (-x)</br> == Useful Flags == <code>-f</code> show full information</br> <code>-F</code> show fullest information</br> </br> <code>-u <user></code> show processes running from $user</br> <code>-g <group></code> show pr...")
  • 13:01, 25 November 2022 Xbl talk contribs created page System and Service Manager (Created page with "= systemd = Systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system.</br>")
  • 12:43, 25 November 2022 Xbl talk contribs created page Advanced Package Tool (Created page with " = apt = Updates and upgrades installed software. Uses dpkg to install and uninstall.</br> Repos are defined in <code>/etc/apt/sources.list</code>, usually non-free repos are disabled by default.</br> == Use == <code>apt update</code> check for updates</br> <code>apt upgrade</code> install updates</br> <code>apt dist-upgrade</code> install updates and new dependencies, remove old versions</br> </br> <code>apt list --installed </code> list installed packages</br> <code>...")
  • 11:36, 25 November 2022 Xbl talk contribs created page System Control (Created page with "= sysctl = Reads/sets kernel settings from the virtual /proc file system.</br> Values can be edited directly with <code>echo 1/0 >> /proc/net/ipv6/conf/all/disable_ipv6</code> or by editing /etc/sysctl.conf or /etc/sysctl.d/parameter. == setting settings == <code>sysctl -a</code> list all settings</br> <code>sysctl -a | grep net.ipv6.conf.all.disable_ipv6</code> list specific setting</br> <code>sysctl net.ipv6.conf.all.disable_ipv6</code> list specific setting</br> <co...")
  • 15:20, 24 October 2022 Xbl talk contribs created page Network Mapping (Created page with "= nmap = == default options == <code>nmap host-ip</code> scan first 1000 ports on $host-ip</br> == scan specific port == <code>nmap -p x host-ip</code> scan tcp port $x on $host-ip</br> == The Six Port States Recognized by nmap == </br> '''open'''</br> An application is actively accepting TCP connections, UDP datagrams or SCTP associations on this port. Finding these is often the primary goal of port scanning. Security-minded people know that each open port is an ave...")
  • 15:05, 14 October 2022 Xbl talk contribs deleted page Terminal Multiplayer (content was: "= tmux = == navigating == <code>Ctr-b leftarrow</code> move active window horizontally</br> <code>Ctr-b rightarrow</code> move active window horizontally</br> <code>Ctr-b uparrow</code> move active window vertically</br> <code>Ctr-b downarrow</code> move active window vertically</br> == listing, creating, renaming, killing == <code>tmux ls</code> list sessions</br> <code>tmux kill -t se...", and the only contributor was "Xbl" (talk))
  • 15:05, 14 October 2022 Xbl talk contribs created page Terminal Multiplexer (Created page with "= tmux = == navigating == <code>Ctr-b leftarrow</code> move active window horizontally</br> <code>Ctr-b rightarrow</code> move active window horizontally</br> <code>Ctr-b uparrow</code> move active window vertically</br> <code>Ctr-b downarrow</code> move active window vertically</br> == listing, creating, renaming, killing == <code>tmux ls</code> list sessions</br> <code>tmux kill -t sessionname</code> kill tmux session with name $sessionname</br> <code>tmux new -s ses...")
  • 21:10, 12 October 2022 Xbl talk contribs created page Terminal Multiplayer (Created page with "= tmux = == navigating == leftarrow : move active window horizontally</br> rightarrow : move active window horizontally</br> uparrow : move active window vertically</br> downarrow : move active window vertically</br> == creating, renaming, deleting == tmux new -s sessionname : create tmux session with name $sessionname</br> tmux rename -t sessionname newname : rename session to $newname</br> tmux attach -t sessionname : attach to $sessionname</br> tmux ls : list sessio...")
  • 16:54, 7 May 2022 Xbl talk contribs created page SELinux (Created page with "= SELinux = == Available Commands == === Mode Management === <code>sestatus</code> show runtime status and boolean values (-b)</br> <code>getenforce</code> show current mode of operation</br> <code>setenforce</code> switch operating mode temporarily</br> === Context Management === <code>chcon</code> change file contexts (does not survive file system relabeling)</br> <code>restorecon</code> restore default file contexts, referencing /etc/selinux/targeted/contexts/fil...")
  • 22:04, 5 May 2022 Xbl talk contribs created page Firewall (Created page with "= firewall-cmd = == Available Commands == === General === <code>--state</code> display the status</br> <code>--reload</code> reload firewall rules from zone files, all runtime changes are lost</br> <code>--permanent</code> store a change persistently</br> === Zones === <code>--get-default-zone</code> show the name of the default/active zone</br> <code>--set-default-zone</code> set the name of the default zone, always permanent</br> <code>--get-zones</code> show ava...")
  • 21:58, 2 May 2022 Xbl talk contribs created page Network Devices and Connections (Created page with "= Manual Configuration = Create file in /etc/sysconfig/network-scripts/ifcfg-ifname</br> Populate file with:</br> <code>TYPE=Ethernet</br> PROXY_METHOD=none</br> BROWSER_ONLY=no</br> BOOTPROTO=static [dhcp, none]</br> DEFROUTE=yes</br> IPV4_FAILURE_FATAL=no</br> UUID=sd55sd-sdfss5li-lkjawq</br> NAME=ens256</br> ONBOOT=yes</br> IPADDR=192.168.1.11</br> NETMASK=255.255.255.0</br> GATEWAY=192.168.1.1</br> DNS1=192.168.1.53</code> = nmcli = == Available Commands == === O...")
  • 14:47, 29 March 2022 Xbl talk contribs created page GRUB2 (Created page with "= Reset Root Password = 1. enter GRUB2 edit mode 2. modify linux-kernel string by adding <code>rd.break</code> at the end 3. press CTRL+x to boot with entered options 4. use chroot to mount /sysroot to / <code>chroot /sysroot</code>, pwd should read <code>/</code> 5. remount the root file system in read/write mode <code>mount -o remount,rw /</code> 6. run passwd to set new password <code>passwd</code> 7. create hidden file .autorelabel to run SELinux relabeling on...")
  • 08:34, 28 March 2022 Xbl talk contribs created page Bash Shell (Created page with "= CTRL Hotkeys = CTRL + a</br> move to beginning CTRL + d</br> escape current shell or delete character under cursor CTRL + e</br> move to end CTRL + k</br> delete all from cursor to end CTRL + l</br> clear CTRL + n</br> down arrow CTRL + p</br> up arrow CTRL + q</br> resume output CTRL + r</br> backward search CTRL + s</br> stop output CTRL + t</br> switch character before cursor with cursor, ESC + t switches two words before the cursor CTRL + u</br> cut lin...")
  • 23:08, 22 March 2022 Xbl talk contribs created page Redhat Package Manager (Created page with "= rpm - query options = -q, --query ''package''</br> display package -qa, --query --all</br> list all installed packages -qc, --query --configfiles ''package''</br> list config files in a package -qd, --query --docfiles ''package''</br> list documentation files in a package -qf, --query --file ''file''</br> display what package a file comes from -qi, --query --info ''package''</br> display installed package information -qip, --query --info --package ''package''</b...")
  • 12:37, 16 March 2022 Xbl talk contribs moved page /vim to Vi IMproved without leaving a redirect
  • 12:35, 16 March 2022 Xbl talk contribs moved page /dwm to Dynamic Window Manager without leaving a redirect
  • 12:35, 16 March 2022 Xbl talk contribs moved page Regex to Regular Expressions without leaving a redirect
  • 12:34, 16 March 2022 Xbl talk contribs deleted page /lvm (content was: "= lvm = == extend disk == 1. add new hard disk 2. take note of current /dev/sdx 3. scan for new devices: <code>sudo /sbin/rescan-scsi-bus -w</code> </br> Result: new device found 4. enter lvm as root: <code>sudo lvm</code> 5. create physical volume: <code>pvcreate /dev/sdy</code> 6. check volume groups: <code>vgs</code> 7. extend volume group: <code>vgextend volume-name /dev/sdy</...", and the only contributor was "Xbl" (talk))
  • 12:33, 16 March 2022 Xbl talk contribs created page Logical Volume Management (Created page with "= lvm = == extend disk == 1. add new hard disk 2. take note of current /dev/sdx 3. scan for new devices: <code>sudo /sbin/rescan-scsi-bus -w</code> </br> Result: new device found 4. enter lvm as root: <code>sudo lvm</code> 5. create physical volume: <code>pvcreate /dev/sdy</code> 6. check volume groups: <code>vgs</code> 7. extend volume group: <code>vgextend volume-name /dev/sdy</code> 8. check logical volumes: <code>lvs</code> 9. resize logical volume: <code>l...")
  • 12:14, 16 March 2022 Xbl talk contribs created page /lvm (Created page with "= lvm = == extend disk == 1. add new hard disk 2. take note of current /dev/sdx 3. scan for new devices: <code>sudo /sbin/rescan-scsi-bus -w</code> </br> Result: new device found 4. enter lvm as root: <code>sudo lvm</code> 5. create physical volume: <code>pvcreate /dev/sdy</code> 6. check volume groups: <code>vgs</code> 7. extend volume group: <code>vgextend volume-name /dev/sdy</code> 8. check logical volumes: <code>lvs</code> 9. resize logical volume: <code>l...")
  • 18:31, 8 March 2022 Xbl talk contribs created page /vim (Created page with "= vim = == inserting == i : insert text before the current position</br> I : insert text at the beginning of current line</br> a : append text after the current position</br> A : append text to the end of current line</br> o : open new line below current line</br> O : open new line above current line</br> == navigating == h : move back one character</br> j : move down one line</br> k : move up one line</br> l : move forward one character</br> w : move to start of next...")
  • 14:24, 25 February 2022 Xbl talk contribs created page Regex (Created page with "== Regular Expressions == {| class="wikitable" |- ! Metacharacter ! Description |- valign="top" !<code>\</code> |Escape character. |- |- valign="top" !<code>?</code> |Matches the preceding element zero or one time. For example, <code>ab?c</code> matches only "ac" or "abc". |- !<code>+</code> |Matches the preceding element one or more times. For example, <code>ab+c</code> matches "abc", "abbc", "abbbc", and so on, but not "ac". |- !<code><nowiki>|</nowiki></code> |The ch...")
  • 23:01, 22 February 2022 Xbl talk contribs created page Mediawiki Cheatsheet (Created page with "== Mediawiki Cheatsheet == {| style="border:none; text-align:left; background:#f0f0f0; font-size: 95%;" |- | width="25%" style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''Description''' | style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''You type''' | width="25%" style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''You get''' |- | colspan="3" style="background: #e4e4e4; padding: 3px 5px; font-family: sans-serif; fo...")
  • 22:58, 22 February 2022 Xbl talk contribs created page /dwm (Created page with "== Hotkeys == </br> ;Navigation</br> :to workspace</br> ::win+{num}</br> :to next/previous monitor</br> ::win+,</br> ::win+.</br> :rotate clockwise</br> ::win+j</br> :rotate counterclockwise</br> ::win+k</br> :Zoom</br> ::win+v</br> </br> ;Move windows</br> :to workspace</br> ::win+shift+{num}</br> :to next/previous monitor</br> ::win+shift+,</br> ::win+shift+.</br>")
  • 22:23, 17 February 2022 Xbl talk contribs created page Basic Commands (Created page with "=ls= -a, --all</br> do not ignore entries starting with . -h, --human-readable</br> with -l and -s, print sizes like 1K 234M 2G etc -l</br> use a long listing format -r, --reverse</br> reverse order while sorting -t</br> sort by time, newest first")
  • 00:17, 15 February 2022 Xbl talk contribs changed group membership for Lea from (none) to bureaucrat
  • 00:12, 15 February 2022 User account Lea talk contribs was created by Xbl talk contribs (<3)
  • 00:05, 15 February 2022 Xbl talk contribs created page Test (Test)
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)