User Tools

Site Tools


informatique:linux:programmation_shell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
informatique:linux:programmation_shell [2021/02/02 09:08] – [function] pteuinformatique:linux:programmation_shell [2022/06/08 08:49] – [Ressources] pteu
Line 611: Line 611:
   * ''-O file'' : si le fichier nous appartient    * ''-O file'' : si le fichier nous appartient 
   * ''-G file'' : si le fichier appartient à notre groupe   * ''-G file'' : si le fichier appartient à notre groupe
 +
 +  * ''-t fd'' : vrai si //filedescriptor// fd est ouvert et se réfère à un terminal
  
 ====Chaînes de caractères==== ====Chaînes de caractères====
Line 949: Line 951:
   * https://www.shellcheck.net : super moulinette en ligne pour analyser un script et recommander des améliorations (exsite aussi en package Linux : ''shellcheck''). A utiliser sans modération !   * https://www.shellcheck.net : super moulinette en ligne pour analyser un script et recommander des améliorations (exsite aussi en package Linux : ''shellcheck''). A utiliser sans modération !
   * [[https://google.github.io/styleguide/shellguide.html|Shell Style Guide]] by Google   * [[https://google.github.io/styleguide/shellguide.html|Shell Style Guide]] by Google
 +  * [[https://betterdev.blog/minimal-safe-bash-script-template/|Minimal safe Bash script template]] (betterdev.blog)
 +  * [[https://github.com/pforret/bashew/blob/master/README.md|bashew]] / [[https://blog.forret.com/portfolio/bashful/|bashful]] : un outil de création de script bash et le blog de son auteur, Peter Forret
 +  * [[https://github.com/ralish/bash-script-template|bash-script-template]]
informatique/linux/programmation_shell.txt · Last modified: 2023/10/02 13:35 by pteu