1 line
2.5 KiB
JSON
1 line
2.5 KiB
JSON
{"uuid":"4d07d121-71ed-4296-908b-d2dc6b04df00","slug":"apropos","title":"apropos","author":"cedric@abonnel.fr","published":true,"published_at":"2023-01-11 17:55:48","created_at":"2023-01-11 17:55:48","updated_at":"2023-01-11 17:55:48","revisions":[],"cover":"","files_meta":[],"external_links":[],"seo_title":"","seo_description":"","og_image":"","category":"Informatique","content":"# apropos\n\nLa commande `apropos` permet de lister les manuels dont la **description** ou le **nom** comprend les mots passés en arguments.\n\nPar exemple `apropos copy` listera les commandes permettant d'effectuer des copies.\n\n```BASH\n$ apropos copy\ndebconf-copydb (1) - copier une base de données debconf\narm-linux-gnueabihf-objcopy (1) - copy and translate object files\nbcopy (3) - copy byte sequence\ncopy_file_range (2) - Copy a range of data from one file to another\ncopysign (3) - copy sign of a number\ncopysignf (3) - copy sign of a number\ncopysignl (3) - copy sign of a number\ncp (1) - copy files and directories\ncpgr (8) - copy with locking the given file to the password or group file\ncpio (1) - copy files to and from archives\ncppw (8) - copy with locking the given file to the password or group file\ndd (1) - convert and copy a file\n```\n\n# Des astuces\n> Limiter la recherche à une section de la documentation\n\nPour afficher les commandes de l'interpréteur de commandes, j'utilise le paramètre `-m` :\n```\napropos copy -s 1\n```\n\n> Rechercher avec plusieurs mots clés\n\nPar défaut, le recherche de plusieurs mots clés et conditionnée par un **OU**. Par exemple, la ligne de commande `apropos copy file` effectuera la recherche sur le mot `copy` ou `file`.\n\nPour effectuer une recherche avec tous les mots clé inclus dans la recherche, il faut utiliser le paramètre `-a`. Par exemple :\n\n```\n$ apropos -s 1 -a copy file\ncp (1) - copy files and directories\ncpio (1) - copy files to and from archives\ndd (1) - convert and copy a file\ni686-linux-gnu-objcopy (1) - copy and translate object files\ninstall (1) - copy files and set attributes\nmcopy (1) - copy MSDOS files to/from Unix\nobjcopy (1) - copy and translate object files\nrcp (1) - secure copy (remote file copy program)\nrsync (1) - a fast, versatile, remote (and local) file-copying tool\nscp (1) - secure copy (remote file copy program)\n```","featured":false,"tags":[]} |