Skip to content
Advertisement

Tag: solaris

ssh does not return even after execution

The following ssh command does not return to terminal. It hangs though the execution is completed. The execution hangs after echo hi command. Output ciInstallAndRun.sh Source OS: Redhat Dest Os: Solaris 10 8/07 Any idea to fix this. Answer Any idea to fix this. Your installation script has spawned a child process. Add a ps -f or ptree $$ command

BASH syntax error at line 1: `then’ unmatched

Hi, I am having issues with this particular loop and couldn’t find a solution to it, any ideas why? Answer If you run the code through shellcheck and correct the errors which it shows (except for one problematic warning), the code will become: The code still seems to have issues, one of which is that it looks for duplicate user

Installing Perl DBI in SUN Solaries

I am trying to install perl DBI on SUN solaries 11 but I always got the following error: I did the following steps: Downloaded and extracted DBI-1.628 then in the shell command: Answer This means it cannot find a compiler on your machine. You should add the path to the compiler to your PATH variable. gcc and cc are not

Detect if a remote computer is Windows or Linux OS

I have IP Address and Server name of a remote computer. I am able to query WMI to get the OS version if the computer is running Windows but is there a way i can query the remote computer and get the OS version if the computer is not running Windows (Linux, Solaris)? Answer I guess Active Directory is going

passwordless ssh from linux to Solaris works for oracle user but not for ftpuser [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

Replace the string/line after separator on specific param

I have the following Perl one liner code , My target is to replace the line after “=” separator, and that defined in PARAM variable But actually its replace all the line include the PARAM itself The expected results should be Please advice what need to fix in my Perl one liner code? other example that still not work: Answer

Equivalent lsof -i in Solaris

I have a fast question. I want to know what is the losf -i equivalent command in a Solaris system. I only want to show the files with network connection. Thank you!! Answer Here is a shell script that list all processes having open TCP or UDP ports on Solaris, you can limit it to a given port number by

Advertisement