Skip to content
← Back to Community
Intro to Networking & The Internet Questions
Profile icon
brownadam

Hello Everyone!

I am a High school CS teacher and I am trying to us Repl.it as a replacement for the online IDE Cloud 9 (that amazon now owns and locked down like crazy). So far I have found a way to do everything I need to, and then some, but I am missing a couple of things I need to teach about networking.

Does anyone know how (or if I can even do) the following commands in a repl.it repls? If so, which one if it is possible:
~ ifconfig and ipconfig
~ dig and nslookup
~ ping
~ traceroute and tracepath

Any and all help in this would be great! I have tried a couple different environments but all say the above commands are restricted unless I am the root user.

Thanks!!!

Voters
Profile icon
Vandesm14
Profile icon
brownadam
Comments
hotnewtop
Profile icon
paulober

You have to use the linux equivalents because the system uses linux. So instead of using ipconfig use ip addr and then select the busybox version.

Profile icon
ash15khng

You can use the command palette (Ctrl+Shift+P) to open the shell (type open shell) and then try using those commands. (I couldn't try them because I don't know what most of them do lol)

Profile icon
brownadam

@ash15khng
I was able to get ping to work in the open shell, but not the others.

I even tried installing the other packages but was denied permission when attempting too.