I have this line in my pm file .this will execute "show table system stp" command on cli (like pressing enter) but i want to press tab and get suggestions and store those suggestions in an array. How do i simulate tab keystroke through command??
my @I1Profile = $Obj->execCmd("show table system stp");
this command is using some of the library functions.Can anyone tell me how to simulate tab key on cli through perl automation which would give possible completion on cli in general?linuxperlkeystroke