Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
15 results tagged shell  ✕
GTFOBins https://gtfobins.github.io/
Wed Oct 18 17:51:53 2023 archive.org
QRCode

GTFOBins is a curated list of Unix binaries that can be used to bypass local security restrictions in misconfigured systems.

utile pour mes challenges securite :p

securite challenge unix escalation shell
marker/README.md at master · pindexis/marker · GitHub https://github.com/pindexis/marker/blob/master/README.md
Fri Feb 8 02:02:58 2019 archive.org
QRCode
thumbnail

The terminal command palette. Contribute to pindexis/marker development by creating an account on GitHub.

bash shell python terminal
Docker run reference - Docker https://docs.docker.com/engine/reference/run/
Tue Feb 28 22:17:04 2017 archive.org
QRCode
thumbnail

docker run -a stdin -a stdout -i -t debian-sshd /bin/bash

docker run container bash shell
tmux - Documentation Ubuntu Francophone https://doc.ubuntu-fr.org/tmux
Wed Sep 28 16:25:23 2016 archive.org
QRCode
thumbnail

Raccourcis de base

<Ctrl> + <b> suivi de <c> : Créer un nouveau terminal dans la session tmux active
<Ctrl> + <b> suivi de <n> : Switcher entre les différents terminaux de la session
<Ctrl> + <b> suivi de <X> : Choisir un terminal spécifique (ou X est le numéro du terminal)
<Ctrl> + <b> suivi de <d> : Se détacher de la session tmux (lancer 'tmux a' pour s'y rattacher)
<Ctrl> + <b> suivi de <,> : Permet de renommer un terminal
<Ctrl> + <b> suivi de <w> : Affiche la liste des terminaux disponibles
<Ctrl> + <b> suivi de <t> : Afficher l’heure dans un terminal
<Ctrl> + <b> suivi de <[> : Permet de scroller ligne/ligne (avec les fleches du clavier ou la souris) ou même page/page avec PgnUP et PgnDOWN, tapez "q" pour quiter ce mode

Commandes dans un Split

<Ctrl> + <b> suivi de <"> : Split vertical du terminal courant en deux + ouverture d’un terminal dans le nouveau panel
<Ctrl> + <b> suivi de <%> : Split horizontal du terminal courant en deux + ouverture d’un terminal dans le nouveau panel
<Ctrl> + <b> suivi de <o> : Switcher entre les terminaux splittés
<Ctrl> + <b> suivi de <espace> : Changer l’organisation visuelle des terminaux splittés
<Ctrl> + <b> suivi de <Alt> + (flèches directionnelles) : Reduire, agrandir fenêtre du split
<Ctrl> + <b> suivi de <!> : Convertir un split en terminal seul
<Ctrl> + <b> suivi de <q> : Afficher les numéros des terminaux splittés
<Ctrl> + <b> puis saisissez :join : permet de joindre un terminal seul dans un split
Par exemple, après avoir tapé le combo + si vous saisissez

join -v -s 3.0 -p 50

Où :

-h ou -v : pour horizontalement ou verticalement
-s 3.0 : terminal 3 et volet 0 (volet si écran splitté)
-p 50 : occupation à 50% de la fenêtre

Ici donc vous ajouterez verticalement, un terminal numéroté 3 et qui prendra 50% de l’espace total.

tmux linux shell command
The classic test command [Bash Hackers Wiki] http://wiki.bash-hackers.org/commands/classictest
Tue Dec 29 19:26:51 2015 archive.org
QRCode
thumbnail

une petite documentation sur les tests dans un script shell

shell script bash test
How to keep processes running after ending ssh session? - Ask Ubuntu http://askubuntu.com/questions/8653/how-to-keep-processes-running-after-ending-ssh-session
Tue Jun 2 15:10:19 2015 archive.org
QRCode
thumbnail

tmux est plus sympa que screen oui, mais si on n'a pas besoin de récupérer la main sur la commande (genre un tar, ou un find ou etc...) je rappelle qu'un simple nohup suivi d'un & à la fin de la commande ne demande aucune installation suplémentaire.

donc:

nohup "la commande qui va bien" 2>fichier_erreur.log 1>fichier_sortie.log &

nohup, va ignorer la mort du shell et donc rattacher le processus au père:
https://en.wikipedia.org/wiki/Nohup

le canal 2 est le canal d'erreur.
le cana 1 est le canal de sortie standard
& permet de rentre la main au shell en créant un fork.

Voila.

Sinon pour tmux:
via http://macahute.net/shaarli/?URV-MQ

As screen is not maintained anymore you should look for modern alternatives like tmux.

tmux is superior for many reasons, here are just some examples:

Windows can be moved between session and even linked to multiple sessions
Windows can be split horizontally and vertically into panes
Support for UTF-8 and 256 colour terminals
Sessions can be controlled from the shell without the need to enter a session

Basic Functionality

To get the same functionality as explained in the post with the most votes you would need to do the following:

ssh into the remote machine
start tmux by typing tmux into the shell
start the process you want inside the started tmux session
leave/detach the tmux session by typing Ctrl+B and then D

You can now safely logoff from the remote machine, your process will keep running inside tmux. When you come back again and want to check the status of your process you can use tmux attach to attach to your tmux session.

If you want to have multiple session running side-by-side you should name each session using Ctrl-B and $. You can get a list of the currently running sessions using tmux list-sessions.

tmux can do much more advanced things then handle a single window in a single session. For more information have a look in man tmux or http://tmux.sourceforge.net/. A FAQ about the main differences between screen and tmux is available here: http://tmux.git.sourceforge.net/git/gitweb.cgi?p=tmux/tmux;a=blob;f=FAQ

tmux screen linux nohup shell fork
Replacing default git bash console with Console2 – BuildStarted.com http://buildstarted.com/2012/05/11/replacing-default-git-bash-console-with-console2/
Tue Mar 17 23:11:06 2015 archive.org
QRCode
thumbnail

Un meilleur shell sous windows pour gérer GIT ? oui parce que bon la console par défaut... :/

console2 shell git windows
Un grep un peu complexe... - Best of the best links http://qosgof.fr/fosteb/?-D3zqw
Fri Dec 6 22:12:05 2013 archive.org
QRCode
thumbnail

Et cette ligne la elle marche ?

find . -type f -name "filename_filter" -exec zgrep -h "wanted_str" {} \;

ou celle-ci

find . -type f -name "filename_filter" -exec zcat {} \; | xargs grep -h "wanted_str"

Chez moi la première semble fonctionner...

zcat zgrep find xargs shell bash
Makes boring code look pretty! {} Syntaclet http://www.syntaclet.com/
Thu Oct 11 23:52:04 2012 archive.org
QRCode
thumbnail

un bookmarklet qui vous permet de coloriser vos codes trouvé sur le web ou bien les fichiers reçu directement de votre serveur.

idéal pour colorier un retour de log ;)

bookmarklet syntax system colorize php code shell
LinuxCommand.org: Learning the shell. http://linuxcommand.org/learning_the_shell.php
Fri Jun 15 20:57:02 2012 archive.org
QRCode
thumbnail

un article tutoriel sur le shell unix

ca peut servir ;)

shell unix tutoriel
All commands | commandlinefu.com http://www.commandlinefu.com/commands/browse
Wed Apr 18 17:55:40 2012 archive.org
QRCode
thumbnail

Un site intéressant ou tout le monde peut partager les lignes de commandes terminal qu'il trouve utiles ;)

linux command shell share
[UTIL] SPB Mobile Shell 3 [Tricks, Widgets, Themes, Other, FAQ] - xda-developers http://forum.xda-developers.com/showthread.php?t=507697
Thu Oct 20 07:05:45 2011 archive.org
QRCode
thumbnail

[UTIL] SPB Mobile Shell 3 [Tricks, Widgets, Themes, Other, FAQ] Development and Hacking

spb mobile shell themes tricks widgets zepiii UTIL SPB Mobile Shell 0 Tricks Widgets Themes Other FAQ Config XDA MDA Vario HTC Qtek wallaby wizard tytn hermes alpine prophet i mate jam dopod tornado typhoon programming coding modding wiki forum news xdatools xdaunlock romkitchen rom development lobster unlock imei Windows
[QVGA-SQVGA-VGA-WQVGA WVGA] Collections de Skins SPB Mobile Shell 3 http://www.actualitemobile.com/forum/index.php?topic=10162.0
Thu Oct 20 07:05:42 2011 archive.org
QRCode
thumbnail

[QVGA-SQVGA-VGA-WQVGA WVGA] Collections de Skins SPB Mobile Shell 3

QVGA SQVGA VGA WQVGA WVGA Collections Skins SPB Mobile Shell
Le blog du squad Linux. | Un rassemblement de notes sur des problemes que j'ai eu sous Linux http://blog.linux-squad.com/
Thu Oct 20 07:03:10 2011 archive.org
QRCode
thumbnail
linux ubuntu debian libre open source kubuntu ftp script bash Linux gnuLinux gnu xorg shell postfix apache apache2 telnet ssh Du l internet peu culture geek
[UTIL] SPB Mobile Shell 3 [Tricks, Widgets, Themes, Other, FAQ] - Page 14 - xda-developers http://forum.xda-developers.com/showthread.php?p=3682863#post3682863
Thu Oct 20 07:01:29 2011 archive.org
QRCode
thumbnail

[UTIL] SPB Mobile Shell 3 [Tricks, Widgets, Themes, Other, FAQ] Development and Hacking

spb mobile shell themes tricks widgets zepiii UTIL SPB Mobile Shell 0 Tricks Widgets Themes Other FAQ Config XDA MDA Vario HTC Qtek wallaby wizard tytn hermes alpine prophet i mate jam dopod tornado typhoon programming coding modding wiki forum news xdatools xdaunlock romkitchen rom development lobster unlock imei Windows
4695 links, including 1609 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn