User contributions for Patrick

From Cheatsheet
Jump to navigationJump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

31 July 2023

29 July 2023

28 July 2023

  • 22:2422:24, 28 July 2023 diff hist 0 Main PageNo edit summary
  • 22:1322:13, 28 July 2023 diff hist −6 Cisco:NX-OSNo edit summary
  • 22:1222:12, 28 July 2023 diff hist −11 Cisco:NX-OSNo edit summary
  • 22:0022:00, 28 July 2023 diff hist +25 N NX-OSPatrick moved page NX-OS to Cisco:NX-OS current Tag: New redirect
  • 22:0022:00, 28 July 2023 diff hist 0 m Cisco:NX-OSPatrick moved page NX-OS to Cisco:NX-OS
  • 21:5921:59, 28 July 2023 diff hist +4,639 N Linux:ToolsCreated page with "Category:Cheatsheet == Common commands == <syntaxhighlight lang="bash"> # Scroll through a file with less less -s myfile.txt # Select line 5 from the output cat example.txt | sel -e '5' # Select lines from the output, starting from the top cat example.txt | head -5 # Select lines from the output, starting from the bottom cat example.txt | tail -5 </syntaxhighlight> == Uncommon commands == <syntaxhighlight lang="bash"> # Crash the current server echo c > /proc/sy..."
  • 21:5921:59, 28 July 2023 diff hist +1,935 N Nvidia-Onyx-IvoCreated page with "Category:Cheatsheet This page was written and contributed by Ivo Palli. == General == NVIDIA Onyx Management Console === SSH === <syntaxhighlight lang='bash'> ssh user@10.0.99.12 show what-just-happened quit </syntaxhighlight> === REST API === <syntaxhighlight lang='bash'> cat << EOF | curl -kSsLX POST -d @- -c cookies.txt "https://10.0.99.12/admin/launch?script=rh&template=json-request&action=json-login" > result.json { "username": "user", "password": "top_sec..."
  • 21:5921:59, 28 July 2023 diff hist +1,596 N WindowsCreated page with "Category:Cheatsheet == Checks == * https://azega.org/list-open-ports-using-powershell/ <syntaxhighlight lang='bash'> # List open ports and related IP-addresses Get-NetTCPConnection # "To show only the listening ports we need to filter for all items in the Listen state with the remote address of 0.0.0.0" get-nettcpconnection | where {($_.State -eq "Listen") -and ($_.RemoteAddress -eq "0.0.0.0")} # "You can add additional fields like the process ID for each port. C..."
  • 21:5821:58, 28 July 2023 diff hist +4,449 N RsyslogCreated page with "Category:Cheatsheet == Common == Default configuration: /etc/rsyslog.conf </br> Additional conf files: /etc/rsyslog.d/ </br> By default the .conf file dumps to: /var/log/ See 'man logger' for additional information. === Facility keywords === * https://en.wikipedia.org/wiki/Syslog <pre> 0 kern 1 user 2 mail 3 daemon 4 auth 5 syslog 6 lpr 7 news 8 uucp 9 cron 10 authpriv 11 ftp 12 ntp 13 security 14 console 15 solaris-cron 16-23 local0 - local7 </p..."
  • 21:5821:58, 28 July 2023 diff hist +7,570 N LinuxCreated page with "Category:Cheatsheet * https://devhints.io/ == Checks == === Systemd === <syntaxhighlight lang="bash"> # Open journalctl starting from the beginning journalctl -b # Open journalctl starting from the end journalctl -e # Show journalctl logs for the sshd service, starting from the end journalctl -u sshd -e </syntaxhighlight> === OS & Distribution === <syntaxhighlight lang="bash"> # Print OS and host information hostnamectl # Show OS and distribution information ca..."
  • 21:5821:58, 28 July 2023 diff hist +20,321 N Linux:Ansible-IvoCreated page with "Category:Cheatsheet This page was written and contributed by Ivo Palli. * https://www.lisenet.com/2019/ansible-sample-exam-for-ex294/ * https://jorge.fbarr.net/tag/ex294/ TODO: v vaults v use external variable files * actions on regex (kan met lineinfile) v create crontab v create repo v create, download and use roles (!) * configure selinux * jinja2 (.j2) templates (gewoon een text file waar je variables Template:Xx in kan zetten, en dan kopieert met module tem..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)