Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #56477

Re: How many ways can you run a script?

Message-ID <6657ab94@news.ausics.net> (permalink)
From not@telling.you.invalid (Computer Nerd Kev)
Subject Re: How many ways can you run a script?
Newsgroups comp.os.linux.misc
References <v372oq$1462c$1@dont-email.me>
Date 2024-05-30 08:26 +1000
Organization Ausics - https://newsgroups.ausics.net

Show all headers | View raw


Woozy Song <suzyw0ng@outlook.com> wrote:
> sh script
> bash script
> source script
> taskset FF script
> rsh localhost script
> ssh localhost script
> xterm -e script
> nohup script
> 
> I know these are not all equivalent and may have idiosyncracies.
> Any others?

Are you serious? This question is way to vague to get an accurate
and useful answer. If I take it from the information provided that
it could be any Linux system with any known software installed and
running, then you must consider things like a web server serving
script output via CGI, and therefore every program that can make
requests to a Web server running on localhost.

Your list already assumes an RSH, SSH, and X server running, so a
Web server isn't much less likely, and then there are lots more
protocols. Telnet of course, if you pipe in the command to run, and
Rexec. Also various SSH clients, Dropbear, PuTTY, Mosh... Surely
you know there are many alternatives to Xterm that support running
commands?

That's on top of the innumerable programs that one way or other
could launch a script only on the local system.

-- 
__          __
#_ < |\| |< _#

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How many ways can you run a script? Woozy Song <suzyw0ng@outlook.com> - 2024-05-29 19:15 +0800
  Re: How many ways can you run a script? Andy Burns <usenet@andyburns.uk> - 2024-05-29 13:17 +0100
  Re: How many ways can you run a script? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2024-05-29 12:26 +0000
  Re: How many ways can you run a script? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2024-05-29 12:29 +0000
  Re: How many ways can you run a script? not@telling.you.invalid (Computer Nerd Kev) - 2024-05-30 08:26 +1000
    Re: How many ways can you run a script? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-05-29 23:12 +0000
    Re: How many ways can you run a script? John-Paul Stewart <jpstewart@personalprojects.net> - 2024-05-29 21:16 -0400
  Re: How many ways can you run a script? immibis <news@immibis.com> - 2024-05-31 15:08 +0200

csiph-web