Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Fwd: Re: Bash vs Perl

6 views
Skip to first unread message

Tim Lewis via beginners

unread,
Jul 14, 2023, 1:00:07 PM7/14/23
to begi...@perl.org
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
⠈⠳⣄⠀⠀⠀⠀


0 new messages