aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/ports
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz/net>2018-11-24 16:51:02 +0100
committerneodarz <neodarz@neodarz/net>2018-11-24 16:51:02 +0100
commit59f0e9a65639c3aff85ea84aafb5ce8943445334 (patch)
tree78343c8f6b43edea55549e63fb0c4e15d156a6b1 /cheat/.cheat/ports
parentcb58019bee2585e6d47bd995baeb93fa00622f8b (diff)
downloaddotfiles_ascii-59f0e9a65639c3aff85ea84aafb5ce8943445334.tar.xz
dotfiles_ascii-59f0e9a65639c3aff85ea84aafb5ce8943445334.zip
Add some cheat commands
Diffstat (limited to '')
-rw-r--r--cheat/.cheat/ports9
1 files changed, 9 insertions, 0 deletions
diff --git a/cheat/.cheat/ports b/cheat/.cheat/ports
new file mode 100644
index 0000000..e7ac9a7
--- /dev/null
+++ b/cheat/.cheat/ports
@@ -0,0 +1,9 @@
+#Trouver un port sans utiliser internet mais le système linux installé
+#/etc/services Liste les ports par defauts utilisé
+
+# Pour avoir des infos sur les entrées de tels ou tels service
+# La configuration ce trouve: /etc/nsswitch.conf
+getent
+# Ex:
+getent services 80
+