Bash vs Perl
[email protected] (William Torrez Corea) Fri, 14 Jul 2023 10:05:51 -0600
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <CAGiORHdtp3hwNkYA1J8-nHRCmgYV7r=XeUC8tKN9tSd_1GJvEA@mail.gmail.com> |
Can I mix bash with perl in a program? I want to create a program in Perl to execute the bash command. *Basic Bash commands (echo, read, etc.)* - cd : Change the directory to a different location. - ls : List the contents of the current directory. - mkdir : Create a new directory. - touch : Create a new file. - rm : Remove a file or directory. - cp : Copy a file or directory. - mv : Move or rename a file or directory. The program must update the package manager -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄⠀⠀⠀⠀