Les Partages de Memiks
Tag cloud
Picture wall
Daily
Plugins
  • ► Play Videos
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 bash  ✕
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
Comments
thumbnail

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

bash shell python terminal
How to get into a docker container? - Stack Overflow https://stackoverflow.com/questions/30172605/how-to-get-into-a-docker-container
Sun May 6 08:21:54 2018 archive.org
QRCode
Comments
thumbnail

Et pour être root :

docker exec -it --user root bash

docker bash container
Bash Shortcuts For Maximum Productivity https://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/
Tue Apr 10 17:47:39 2018 archive.org
QRCode
Comments
thumbnail

Liste des raccourcis Bash

Command Editing Shortcuts

Ctrl + a – go to the start of the command line
Ctrl + e – go to the end of the command line
Ctrl + k – delete from cursor to the end of the command line
Ctrl + u – delete from cursor to the start of the command line
Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word)
Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor
Ctrl + xx – move between start of command line and current cursor position (and back again)
Alt + b – move backward one word (or go to start of word the cursor is currently on)
Alt + f – move forward one word (or go to end of word the cursor is currently on)
Alt + d – delete to end of word starting at cursor (whole word if cursor is at the beginning of word)
Alt + c – capitalize to end of word starting at cursor (whole word if cursor is at the beginning of word)
Alt + u – make uppercase from cursor to end of word
Alt + l – make lowercase from cursor to end of word
Alt + t – swap current word with previous
Ctrl + f – move forward one character
Ctrl + b – move backward one character
Ctrl + d – delete character under the cursor
Ctrl + h – delete character before the cursor
Ctrl + t – swap character under cursor with the previous one

Command Recall Shortcuts

Ctrl + r – search the history backwards
Ctrl + g – escape from history searching mode
Ctrl + p – previous command in history (i.e. walk back through the command history)
Ctrl + n – next command in history (i.e. walk forward through the command history)
Alt + . – use the last word of the previous command

Command Control Shortcuts

Ctrl + l – clear the screen
Ctrl + s – stops the output to the screen (for long running verbose command)
Ctrl + q – allow output to the screen (if previously stopped using command above)
Ctrl + c – terminate the command
Ctrl + z – suspend/stop the command

Bash Bang (!) Commands

Bash also has some handy features that use the ! (bang) to allow you to do some funky stuff with bash commands.

!! – run last command
!blah – run the most recent command that starts with ‘blah’ (e.g. !ls)
!blah:p – print out the command that !blah would run (also adds it as the latest command in the command history)
!$ – the last word of the previous command (same as Alt + .)
!$:p – print out the word that !$ would substitute
!* – the previous command except for the last word (e.g. if you type ‘find some_file.txt /‘, then !* would give you ‘find some_file.txt‘)
!*:p – print out what !* would substitute

via https://mamot.fr/@emmanuelc

bash raccourci
Make a Bash alias that takes a parameter? - Stack Overflow https://stackoverflow.com/questions/7131670/make-a-bash-alias-that-takes-a-parameter
Thu Dec 14 14:31:34 2017 archive.org
QRCode
Comments
thumbnail

Bash alias does not directly accept parameters. You will have to create a function and alias that.

alias does not accept parameters but a function can be called just like an alias.

For example:

myfunction() {
#do things with parameters like $1 such as
mv "$1" "$1.bak"
cp "$2" "$1"
}

myFunction xyz #calls myfunction

By the way, Bash functions defined in your .bashrc and other files are available as commands within your shell. So for instance you can call the earlier function like this

$ myfunction original.conf my.conf

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

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

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

une petite documentation sur les tests dans un script shell

shell script bash test
Bash $PS1 Generator 2.0 https://www.kirsle.net/wizards/ps1.html
Thu Jul 30 18:20:18 2015 archive.org
QRCode
Comments
thumbnail

Pas mal pour générer un PS1 sympa.

moi j'ai pris "rainbow" et je le trouve très beau :x
et j'ai ajouté l'heure.

Custom bash prompt via kirsle.net/wizards/ps1.html

export PS1="[$(tput bold)][$(tput setaf 6)]\t [$(tput setaf 1)][[$(tput setaf 3)]\u[$(tput setaf 2)]@[$(tput setaf 4)]\h [$(tput setaf 5)]\W[$(tput setaf 1)]][$(tput setaf 7)]\$ [$(tput sgr0)]"

bash ps1 rainbow generator theme
An opinionated git prompt for bash and zsh https://github.com/arialdomartini/oh-my-git
Thu Apr 16 21:57:00 2015 archive.org
QRCode
Comments
thumbnail

Un très beau prompt pour git.

je n'ai pas réussi à le faire fonctionner sur cygwin pour le moment...

Font pour cygwin : https://github.com/andreberg/Meslo-Font

git prompt bash
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
Comments
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
Creating CGI Programs with Bash: Getting Started - TigerTronics http://www.team2053.org/docs/bashcgi/gettingstarted.html
Wed Feb 6 00:07:28 2013 archive.org
QRCode
Comments
thumbnail

faire des bash en CGI pour générer du HTML ?

"facile" :x

encore faut il activer CGI... :/

cgi bash html script command
bash - Can I change the name of `nohup.out`? - Stack Overflow http://stackoverflow.com/questions/4549489/can-i-change-the-name-of-nohup-out
Fri Jan 4 18:47:19 2013 archive.org
QRCode
Comments
thumbnail

si votre bash est supérieur à 4 (bash --version) :

nohup votre_commande &> nohup.txt &

sinon :

nohup votre_commande 2>&1 > nohup.txt &

et voila ;)

nohup nohup.txt bash version
Redirection [Bash Hackers Wiki] http://wiki.bash-hackers.org/syntax/redirection
Tue Dec 18 17:57:35 2012 archive.org
QRCode
Comments
thumbnail

AH!! Voila ce que je cherchais les TAG.

je savais m'en servir... mais je n'étais plus sur...

très utile quand un programme ne prend ses instructions QUE par le stdin ;)

mbsync stdin tag bash redirection
Être à l'aise avec bash #3 (Truc, APT, bash, Ubuntu, Debian, shell, Sécurité) http://pwet.fr/blog/etre_a_l_aise_avec_bash_3
Tue Jul 24 18:28:31 2012 archive.org
QRCode
Comments
thumbnail

Un bon article de blog qui donne les astuces sur BASH notamment la recherche avec Ctrl+R ;)

bash control R tip tricks astuce trucs
How To Add Bash Completion In Debian | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-add-bash-completion-in-debian
Wed Jul 11 19:01:29 2012 archive.org
QRCode
Comments
thumbnail

Comment ajouter la completion dans bash sous debian.
apt-get install bash-completion

pratique apt-g[TAB] ecrira apt-get dans la console :)

bash completion auto debian installation tab
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
Comments
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
4163 links, including 1090 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn