Console logo</img>

If you have ever found yourself in the situation of needing to perform an action in Linux, but you are not sure which console command you may need there is a way you can find that command.

apropos or man -k are the command that will come to rescue you.

The way you can use the is.

apropos copy

Where copy is the action you want to perform, the output will be something like this.

cp (1)               - copy files and directories
cpgr (8)             - copy with locking the given file to the password or group file
cpio (1)             - copy files to and from archives
cppw (8)             - copy with locking the given file to the password or group file
dd (1)               - convert and copy a file
debconf-copydb (1)   - copy a debconf database
install (1)          - copy files and set attributes
mcopy (1)            - copy MSDOS files to/from Unix
objcopy (1)          - copy and translate object files
rcp (1)              - secure copy (remote file copy program)
scp (1)              - secure copy (remote file copy program)
ssh-copy-id (1)      - install your public key in a remote machine's authorized_keys

As you can see it shows you a set of command that copies something, so you now only need to pick up the right one for your task.

You will have the same result using man -k, actually apropos is a synonym of man -k.

If you need any more help try

man apropos

Via La otra bola de cristal