Asked to write a shell script, this directory will be under 5. TXT file batch into suffix called. Pub file
CodePudding user response:
#!/bin/bash
DIR=//* * * * * */wang
CD $DIR
Rename. TXT. Pub *. TXT
DIR is the absolute path to your directory, replace it
CodePudding user response: