Can lsof show open ports on alpine linux? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have a spring boot app running in alpine linux listening on port 8080. However, when I do:
$ lsof
$ lsof -i 8080
it doesn't show the open ports. Do you know what I am doing wrong?
It almost seems that lsof on alpine linux isn't honoring any arguments. It always shows the same output - just seems to ignore -i.
Thank you.

Install lsof from lsof, not from busybox. Busyboxs lsof is just only simple.
apk add lsof
should fix it.

Related

how to fix broken /usr/bin/ld? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I accidentally execute the following command
sudo cp libcuda.so /usr/bin/ld
because i thought /usr/bin/ld is a directory, and I believe my /usr/bin/ld is broken now, at present I cannot use cmake anymore, does anyone know how can I fix this? thanks!
System: Ubuntu 20.04
One simple way to fix it would be to reinstall the package containing /usr/bin/ld.
sudo apt reinstall binutils

How to install jot command on Win10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How to install jot command on the Win10 because I use Git Bash to run a xxx.sh and show a exception as following:
jot: command not found
How can I solve this?
jot (seen here) is a BSD command.
So unless you can get it sources (usr.bin/jot/jot.c) and somehow recompile it for mingw, I don't see it available either on Linux or as an exe on Windows.
Update Nov. 2020: DimP adds in the comments:
For anyone looking for an answer on Debian etc. environments, Ubuntu has Athena-jot:
sudo apt-get update sudo apt-get install athena-jot

I get this message when trying to use the command modprode, bash: modprobe: command not found [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
How do I install modprobe? I have already installed kmod using apt-get. I'm using Debian 8. Thank you.
You should run the command modprobe as root , type :
su -
Enter your root password then run modprobe , or install and configure sudo
sudo modprobe module_name

Missing ch command ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am trying to follow this question to install numba on ubuntu 16.04.
At some point I need to run this command from the terminal:
sudo ch -c "LLVM_CONFIG=/usr/bin/config-3.7 python3 setup.py build"
However the terminal says that the ch command doesn't exist.
It seems I cannot install the command by sudo apt-get install ch
How shall I fix this?
You can try using sh instead of ch.

Switching User , SSH'ing into remote machine and executing command on one line. ('unknown': unknown terminal type.) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
This command use to work on RHEL5.8, however since we upgraded to 6.5 (bash version 4.1.2) it started outputting the following: 'unknown': unknown terminal type.
sudo su - *user* -c "ssh *remoteserver* 'sudo /etc/init.d/server1.sh status'"
'unknown': unknown terminal type.
'unknown': unknown terminal type.
SERVER Status: 'unknown': unknown terminal type.
Running
Expected output is
SERVER Status: Running
Note: When I use ssh -t it works, but im trying to avoid terminal clearing and extra output: Connection to remoteserver closed.

Resources