Fwd: Re: Bash vs Perl
[email protected] (Tim Lewis via beginners) Fri, 14 Jul 2023 11:50:39 -0500
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
On Jul 14, 2023, 11:33 AM, at 11:33 AM, Tim Lewis <[email protected]> wrote: >Hi William, >I use crontab on my Ubuntu server to automatically run Perl scripts. >Will that work for you? >Tim >William Torrez Corea wrote: >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 <https://www.debian.org> >⠈⠳⣄⠀⠀⠀⠀