Skip to main content
improved my question to focus on the testing aspect.
Source Link
рüффп
  • 1.8k
  • 4
  • 27
  • 35

Shell script testing through terminal simulation online (or as a software)

I am developing a generic bash script which could be executed in different distro.

I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal online (without writeonline or as a software, without writing access, just able read some standard files from the OS) but like I am running it in a different distro (possibility to switch between distro).

One example is to make a distro detection and I do not know what will be the expected info I will get from other distro.

For example on my VM I get:

$> test.sh
Your linux distribution is: CentOS
$>

I just do not know what will be the result in RedHat, Ubuntu, Debian, etc...

The code for the test.sh is here.

This idea comes from the front-end development where you have similar tools to test your web pages in different browsers without having all really installed. I know an OS is quite more complex than just a browser, but the question remains after few searches on Google.

Shell script terminal simulation online (or as a software)

I am developing a generic bash script which could be executed in different distro.

I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal online (without write access, just able read some standard files from the OS) but like I am running it in a different distro (possibility to switch between distro).

One example is to make a distro detection and I do not know what will be the expected info I will get from other distro.

For example on my VM I get:

$> test.sh
Your linux distribution is: CentOS
$>

I just do not know what will be the result in RedHat, Ubuntu, Debian, etc...

The code for the test.sh is here.

Shell script testing through terminal simulation

I am developing a generic bash script which could be executed in different distro.

I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal (online or as a software, without writing access, just able read some standard files from the OS) but like I am running it in a different distro (possibility to switch between distro).

One example is to make a distro detection and I do not know what will be the expected info I will get from other distro.

For example on my VM I get:

$> test.sh
Your linux distribution is: CentOS
$>

I just do not know what will be the result in RedHat, Ubuntu, Debian, etc...

The code for the test.sh is here.

This idea comes from the front-end development where you have similar tools to test your web pages in different browsers without having all really installed. I know an OS is quite more complex than just a browser, but the question remains after few searches on Google.

clarify that the detection is just a easy example of script
Source Link
рüффп
  • 1.8k
  • 4
  • 27
  • 35

I am developing a generic bash script which could be executed in different distro.

I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal online (without write access, just able read some standard files from the OS) but like I am running it in a different distro (possibility to switch between distro).

My ideaOne example is to make a distro detection and I do not know what will be the expected info I will get from other distro.

For example on my VM I get:

$> test.sh
Your linux distribution is: CentOS
$>

I just do not know what will be the result in RedHat, Ubuntu, Debian, etc...

The code for the test.sh is here.

I am developing a generic bash script which could be executed in different distro.

I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal online (without write access, just able read some standard files from the OS) but like I am running it in a different distro (possibility to switch between distro).

My idea is to make a distro detection and I do not know what will be the expected info I will get from other distro.

For example on my VM I get:

$> test.sh
Your linux distribution is: CentOS
$>

I just do not know what will be the result in RedHat, Ubuntu, Debian, etc...

The code for the test.sh is here.

I am developing a generic bash script which could be executed in different distro.

I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal online (without write access, just able read some standard files from the OS) but like I am running it in a different distro (possibility to switch between distro).

One example is to make a distro detection and I do not know what will be the expected info I will get from other distro.

For example on my VM I get:

$> test.sh
Your linux distribution is: CentOS
$>

I just do not know what will be the result in RedHat, Ubuntu, Debian, etc...

The code for the test.sh is here.

Source Link
рüффп
  • 1.8k
  • 4
  • 27
  • 35

Shell script terminal simulation online (or as a software)

I am developing a generic bash script which could be executed in different distro.

I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal online (without write access, just able read some standard files from the OS) but like I am running it in a different distro (possibility to switch between distro).

My idea is to make a distro detection and I do not know what will be the expected info I will get from other distro.

For example on my VM I get:

$> test.sh
Your linux distribution is: CentOS
$>

I just do not know what will be the result in RedHat, Ubuntu, Debian, etc...

The code for the test.sh is here.