Il faut bien prendre conscience d'un truc, quand on a un serveur avec de l'ipv6, certains services comme sshd vont écouter en ipv6 et en ipv4
Si vous avez restreint l'acces au port SSH à certaines ips de confiances, il faut aussi faire l'opération avec ip6tables sinon vous êtes à poil en ipv6
Ce sont deux stacks complètement indépendantes
-
https://links.infomee.fr/?35GNVgDescription du format d'iptables-save
"This contains a few comments starting with a # sign. Each table is marked like <table-name>, for example mangle. Then within each table we have the chain specifications and rules. A chain specification looks like :<chain-name> <chain-policy> [<packet-counter>:<byte-counter>]. The chain-name may be for example PREROUTING, the policy is described previously and can, for example, be ACCEPT. Finally the packet-counter and byte-counters are the same counters as in the output from iptables -L -v. Finally, each table declaration ends in a COMMIT keyword. The COMMIT keyword tells us that at this point we should commit all rules currently in the pipeline to kernel. "
-
http://www.iptables.info/en/iptables-save-restore-rules.htmlPour avoir des infos sur les inodes restantes, tout simplement : df -i
Ou bien tune2fs -l /dev/sda1 (donne entre autre cette info)
-
https://links.infomee.fr/?1Vjtawpas très pratique d'utiliser le pavé numérique..
ctrl + alt + 5
ctrl + alt + 4 ou ctrl + alt + 6
-
http://askubuntu.com/questions/36616/how-to-move-windows-around-and-between-monitors-using-keyboard-short-cutsA tester ils ont l'air bien fun!
-
http://eu.battle.net/arcade/en/blog/20003896Dans mon todo : passer sur la version communautaire de Shaarli
-
https://github.com/shaarli/ShaarliPeut etre utile pour cc à la souris dans un split vim ou screen!
Aussi pour cc plusieurs lignes dans vim sans prendre la column number :)
-
http://www.commandlinefu.com/commands/view/15021/select-rectangular-screen-areaBoth processes and threads are independent sequences of execution. The typical difference is that threads (of the same process) run in a shared memory space, while processes run in separate memory spaces.
-
http://stackoverflow.com/questions/200469/what-is-the-difference-between-a-process-and-a-threadThe exec built-in command mirrors functions in the kernel, there are a family of them based on execve, which is usually called from C.
exec replaces the current program in the current process, without forking a new process. It is not something you would use in every script you write, but it comes in handy on occasion. Here are some scenarios I have used it;
-
http://stackoverflow.com/questions/18351198/what-are-the-uses-of-the-exec-command-in-shell-scripts