Teknotit Snipet Manager



Api 2 Git 1 aleatoire 2 animation 1 apache2 4 bash 9 cache 1 css 17 curl 1 fastcgi 2 fichier 1 fonctions 10 html 5 inspiration 1 javascript 17 linux 17 mobile 2 mysql 2 nginx 3 php 21 postfix 2 repertoire 3 ssh 9 swap 1 sysadmin 13 taille 1 ubuntu 7 wordpress 8

.

ssh

startup script

startup script

ssh

https://ritsch.io/2017/08/02/execute-script-at-linux-startup.html

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5cae28683bbbf" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 10/04/2019

Extract TAR

tar -xvzf archive.tar.gz

ssh

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5cad0cfa69cd7" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 09/04/2019

Flush iptable

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
iptables -t mangle -F
iptables -F
iptables -X

linux ssh

<iframe width="100%" height="326" src="http://snipet.teknotit.com/index.php?embed=5beaf2818b827" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 13/11/2018

verouiller un fichier

#Vérouiller

chattr +i filename

# Dévéruiller

chattr -i filename


# Vérouiller avec option ajout uniquement

chattr +a filename


#Vérivier si y a un vérrou

lsattr filename


ssh sysadmin

https://www.howtoforge.com/linux-chattr-command/

<iframe width="100%" height="524" src="http://snipet.teknotit.com/index.php?embed=5bc314672d854" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 03/04/2020

pflogsumm

Monitoring email

ssh sysadmin

https://www.howtoforge.com/mailgraph_pflogsumm_debian_etch

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5682beb1355e4" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 29/12/2015

display user and groups by command

compgen -u
compgen -g

ssh ubuntu

http://askubuntu.com/questions/515103/how-to-display-all-user-and-groups-by-command

<iframe width="100%" height="218" src="http://snipet.teknotit.com/index.php?embed=54d4ac87abde8" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 06/02/2015

generation cle ssh public prive sans passe

ssh-keygen -f ~/.ssh/id_rsa -q -P ""

linux ssh

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=544aef48a2415" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 25/10/2014

Copie de fichier entre serveur ssh

# exemple avec une cle d'uatorisation public

scp authorized_keys root@846.126.109.15:/root/.ssh/

bash linux ssh

<iframe width="100%" height="236" src="http://snipet.teknotit.com/index.php?embed=544ae61deb0f0" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 24/10/2014

Copying Files Between Windows and Linux using PuTTY

set PATH=C:\Program Files\PuTTY

#The format for pscp is straight forward:

pscp [options] source destination

#To copy a Windows file to Linux system, at the DOS prompt, type

pscp c:/music.mp3  ubuntu@10.0.0.3:/home/ubuntu/Music

The reverse works as well (copy Linux file to Windows)

pscp ubuntu@10.0.0.3:/home/ubuntu/Music/music.mp3 c:/

bash linux ssh

https://community.freescale.com/thread/220596

<iframe width="100%" height="416" src="http://snipet.teknotit.com/index.php?embed=54480fc9d4aa9" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 24/10/2014

Flux RSS de cette page


Teknotit Snipet Manager 1.84 par Bronco - Page générée en 0.003 s