Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 5 years ago. Improve this question There was an account named “user” that would be used for these logins, which would be from all over the world.
Tag: perl
Linux: Append variable to end of line using line number as variable
I am new to shell scripting. I am using ksh. I have this particular line in my script which I use to append text in a variable q to the end of a particular line given by the variable a containing the line number . Now the variable q can contain a large amount of text, with all sorts of
loadable library and perl binaries are mismatched
Can not run Pac-manager after installing deb file, Downloaded Pac Manger from : https://sourceforge.net/projects/pacmanager/ When run pac in the terminal , showing below problem xs/Vte.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080) System: Linux PC-pc 4.4.0-3-deepin-amd64 #1 SMP Deepin 4.4.30-2 (2016-12-01) x86_64 GNU/Linux Thanks. Answer The work on the PAC manager project has been
grep case-insensitively for a string in a text file
I’m writing a Perl script but I don’t get a part of it. There’s a text file with host names, one per line. I need to search a second file with host names (a blacklist) for the hostname read from the first one. To be sage the search should be done case insensitive. My first approach was using the Perl
How to implement seting up ssh tunneling to port… here? [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
Hide Multiple Excel Worksheets
I am using the Perl module Excel::Writer::XLSX to write an Excel workbook in Linux. I am writing to three separate worksheets and am trying to hide the first two so that only the third worksheet is visible. Perl Code: Instead, using the code below, only the first worksheet tab is being hidden. What am I doing wrong? Answer Please activate
Serial Numbers from a Storage Controller over SSH
Background I’m working on a bash script to pull serial numbers and part numbers from all the devices in a server rack, my goal is to be able to run a single script (inventory.sh) and walk away while it generates text files containing the information I need. I’m using bash for maximum compatibility, the RHEL 6.7 systems do have Perl
Facing issues writing code with perl expect
I want to run a command which will connect to a remote host and perform some actions, while I try to run the command below actions are required. also it asks for a password as below I have written a perl script as below: I needed a code which can answer the questions asked on console i.e. as below and
Executing an if else shell command from perl
I have never run into this scenario before so I could use a little help. I am trying to issue an if/else statement from a shell command but within perl. I’ve tried system and exec with no success. Here’s a sample of the code If I run the command if ! dpkg -l curl &> /dev/null; then apt-get install curl
Executing several commands at once [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 years ago. Improve this question I am trying to write something in Perl (but I’m also happy with Python or PHP to do the same) which: Takes a list (of