User contributions for Xbl
Jump to navigation
Jump to search
- 14:25, 24 March 2023 diff hist +2 Bash Shell →Functions
- 14:25, 24 March 2023 diff hist +20 Bash Shell →Functions
- 14:24, 24 March 2023 diff hist +310 Bash Shell →Functions
- 17:41, 17 March 2023 diff hist +286 Format and Print Data →printf current
- 16:56, 17 March 2023 diff hist +354 Bash Shell →Hotkeys
- 15:17, 17 March 2023 diff hist +2 Format and Print Data →printf
- 15:16, 17 March 2023 diff hist +392 N 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 diff hist +129 N OpenVPN Created page with "=== OpenVPN Config === Enable legacy encryption (do not ask for private key password)</br> <code>providers legacy default</code>" current
- 12:48, 27 February 2023 diff hist +140 N IPTables Created page with "== IPTables == Administration tool for IPv4 packet filtering and NAT == Use == <code>iptables -S</code> show active filters and fail2bans" current
- 15:15, 24 February 2023 diff hist +10 Journal Control →Useful Flags
- 15:15, 24 February 2023 diff hist +491 N 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..."
- 15:07, 24 February 2023 diff hist +50 Tape Archive →Useful Flags current
- 11:32, 24 February 2023 diff hist +264 N 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>" current
- 15:34, 22 February 2023 diff hist +2 Network Devices and Connections current
- 10:22, 13 February 2023 diff hist +2 Terminal Multiplexer →resizing
- 10:22, 13 February 2023 diff hist 0 Terminal Multiplexer →resizing
- 18:03, 9 February 2023 diff hist 0 Terminal Multiplexer →tmux
- 18:02, 9 February 2023 diff hist 0 Terminal Multiplexer →tmux
- 18:02, 9 February 2023 diff hist −7 Terminal Multiplexer →resizing
- 18:00, 9 February 2023 diff hist +93 Terminal Multiplexer →tmux
- 17:32, 26 January 2023 diff hist +4 Logical Volume Management →extend with new disk
- 17:32, 26 January 2023 diff hist +101 Logical Volume Management →extend with new disk
- 23:50, 5 January 2023 diff hist −66 Bash Shell →Text Control
- 23:50, 5 January 2023 diff hist +65 Bash Shell →Text Control
- 15:00, 4 January 2023 diff hist −16 Hardening →Server Config current
- 14:58, 4 January 2023 diff hist −1 Hardening →HTTP Config
- 14:58, 4 January 2023 diff hist +38 Hardening →Server Config
- 14:40, 4 January 2023 diff hist +113 Hardening →HTTP Config
- 22:08, 3 January 2023 diff hist +681 N 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..."
- 17:05, 30 December 2022 diff hist +194 Global Regular Expression Print
- 16:39, 30 December 2022 diff hist +79 Global Regular Expression Print
- 16:28, 30 December 2022 diff hist +54 Global Regular Expression Print →Useful Flags
- 16:27, 30 December 2022 diff hist +612 N 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 diff hist +1,849 N 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..." current
- 10:28, 30 December 2022 diff hist +562 Basic Commands
- 10:14, 30 December 2022 diff hist +597 Basic Commands
- 09:32, 30 December 2022 diff hist +307 Bash Shell →CTRL Hotkeys
- 23:19, 27 December 2022 diff hist −3 Dynamic Window Manager →Programs starting slow current
- 22:19, 27 December 2022 diff hist +111 Dynamic Window Manager →Hotkeys
- 16:44, 9 December 2022 diff hist +136 Basic Commands
- 13:02, 2 December 2022 diff hist +5 Data Duplicator →Use
- 13:02, 2 December 2022 diff hist +145 Data Duplicator →Use
- 12:41, 2 December 2022 diff hist +1,179 System Control
- 10:38, 2 December 2022 diff hist −17 Network Statistics →Useful Flags current
- 10:36, 2 December 2022 diff hist +4 Network Statistics →Use
- 10:34, 2 December 2022 diff hist +2,100 N 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:43, 30 November 2022 diff hist +1,121 Table of Processes current
- 17:08, 30 November 2022 diff hist +56 Process Snapshot →Useful Flags current
- 17:05, 30 November 2022 diff hist +54 Process Snapshot →Useful Flags
- 17:04, 30 November 2022 diff hist +45 Process Snapshot →Useful Flags