How to assign a PF Key to a command? Use the following steps to assign a PF Key to a command line command Step3: In the Keylist utility panel provide the command name against the key you wish to use. Prefer using Keys which have not been assigned yet. Now if you press the key you assigned to a command and your command will be retrieved on the command line. You can just press enter to execute the command.