Unix/Linux Go Back    

Showing results 1 to 25 of 500
Search took 0.10 seconds.
Search: Posts Made By: rbatte1
Forum: Shell Programming and Scripting Linux 7 Hours Ago
Replies: 4
Views: 241
Posted By rbatte1
The output of uname -a and ps would be a good...

The output of uname -a and ps would be a good place to start on both the client (where you want to drive this from) and the server (where you are connecting too.

Can you log on from the client to...
Forum: Shell Programming and Scripting Linux 1 Day Ago
Replies: 11
Views: 293
Posted By rbatte1
Hello ron5174, It's a slight bug bear of...

Hello ron5174,

It's a slight bug bear of mine, but GB is for Great Britain. England is a part of that nation state.


Kind regards,
Robin - actually living in England, but proud to be British
Forum: Shell Programming and Scripting Linux 1 Day Ago
Replies: 3
Views: 209
Posted By rbatte1
With sshpass you are breaking the security...

With sshpass you are breaking the security protocols that ssh and similar tools require. This is never a good thing.

You say that you don't have ssh access, but you know a password. Do you mean...
Forum: Shell Programming and Scripting Linux 2 Days Ago
Replies: 2
Views: 247
Posted By rbatte1
Hello Pradeep_Raj , A few questions first,...

Hello Pradeep_Raj ,

A few questions first, I'm afraid:-

What OS and version are you using?
Have you tried escaping the # with a \ like this:-...
Forum: UNIX and Linux Applications Linux 3 Days Ago
Replies: 5
Views: 157
Posted By rbatte1
The files in /etc/ssh are for the service on the...

The files in /etc/ssh are for the service on the server you are connecting to. it uses them to listen and exchanges keys with the client session so that the data is encrypted.

Your personal keys...
Forum: Shell Programming and Scripting Linux 6 Days Ago
Replies: 11
Views: 160
Posted By rbatte1
Welcome aynar, I have a few to questions...

Welcome aynar,

I have a few to questions pose in response first:-
What have you tried so far?
What output/errors do you get?
What OS and version are you using?
What are your preferred...
Forum: Linux Linux 6 Days Ago
Replies: 1
Views: 112
Posted By rbatte1
The directory to search by find does not really...

The directory to search by find does not really need the /*/* at the end. It will start where you put it and search down from that point.

Try it like this, escaping the space properly and...
Forum: UNIX for Beginners Questions & Answers Linux 1 Week Ago
Replies: 4
Views: 139
Posted By rbatte1
Hello techedipro, Which AIX version are you...

Hello techedipro,

Which AIX version are you running? It might make a difference.

Are these conditions to be AND-ed together or OR-ed together? Please be specific else we might go the wrong...
Forum: Homework & Coursework Questions Linux 1 Week Ago
Replies: 9
Views: 247
Posted By rbatte1
The problem in the case options you have defined...

The problem in the case options you have defined is probably that it will be matching a regular (textual) expression, not a numeric range. Consider the characters that your variable is range than...
Forum: Shell Programming and Scripting Linux 1 Week Ago
Replies: 5
Views: 136
Posted By rbatte1
On the target server, can you use the credentials...

On the target server, can you use the credentials your have to sign in and look in the home directory for a .ssh directory? What permission do you have on that directory and particularly the...
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 3
Views: 137
Posted By rbatte1
Just a word of caution about nmap in that it can...

Just a word of caution about nmap in that it can be badly used too easily and excessive or injudicious use may be seen as a hacking attempt by either the target host(s) or networks and automatic...
Forum: Solaris Linux 2 Weeks Ago
Replies: 13
Views: 186
Posted By rbatte1
I think that this is most likely a routing...

I think that this is most likely a routing problem. What is your routing table like?

Can you show us the output from ifconfig -a & netstat -rn on both sides? Remember that the target of the ping...
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 3
Views: 150
Posted By rbatte1
I will assume that you already made a pipe file...

I will assume that you already made a pipe file with something like mknod /$PIPEDIR/nvpipe p however I would be concerned that you have no idea which thread is reading the (now) input at any time.
...
Forum: Shell Programming and Scripting Linux 3 Weeks Ago
Replies: 4
Views: 270
Posted By rbatte1
Would you care to post a link so we can see it,...

Would you care to post a link so we can see it, or is it subscription only?



Robin
Forum: Shell Programming and Scripting Linux 4 Weeks Ago
Replies: 1
Views: 174
Posted By rbatte1
Closing duplicate thread. I moved the post made...

Closing duplicate thread. I moved the post made here to the other thread too.

Continue here - https://www.unix.com/solaris/277630-convert-string-yyyymmdd-format-date-sun-os.html
Forum: Programming Linux 4 Weeks Ago
Replies: 6
Views: 547
Posted By rbatte1
Maybe you could have an adjustment value that you...

Maybe you could have an adjustment value that you would always add. When the counter gets high, you set the adjustment value to -1. When it gets back to zero, you set it to 1. That way, you only...
Forum: UNIX for Beginners Questions & Answers Linux 03-21-2018
Replies: 2
Views: 126
Posted By rbatte1
What OS are you using? For some, there is a...

What OS are you using?

For some, there is a GUI service that starts and takes over the console. You can disable it and restart. It really depends is the answer, I'm afraid. Tell us the OS and...
Forum: Shell Programming and Scripting Linux 03-20-2018
Replies: 7
Views: 247
Posted By rbatte1
Is this within the same sqlplus session, or have...

Is this within the same sqlplus session, or have you issues spool off perhaps?

I would think that:-spool /tmp/a.txt ;
select Hello from dual;
select Goodbye from dual;.... type structure in...
Forum: UNIX for Beginners Questions & Answers Linux 03-16-2018
Replies: 18
Views: 578
Posted By rbatte1
So, you want to numerically sort the content of...

So, you want to numerically sort the content of each file to create a new file with a prefix of z-. Is that correct?

You need a loop that uses all your file names and the processes them with...
Forum: AIX Linux 03-13-2018
Replies: 5
Views: 235
Posted By rbatte1
Welcome khaled_ly84, There are several large...

Welcome khaled_ly84,

There are several large chunks of work here and much that we don't know from the limited description. I'm afraid that I have questions for them all.

Install Oracle...
Forum: Shell Programming and Scripting Linux 03-06-2018
Replies: 2
Views: 295
Posted By rbatte1
There is some confusion over the variable names,...

There is some confusion over the variable names, for instance sometimes you use a l and sometimes a1 I have assumed you want a number one rather tha a lower case L

For ksh, you might need...
Forum: BSD Linux 03-06-2018
Replies: 11
Views: 1,115
Posted By rbatte1
So, this is a connection to a public IP address. ...

So, this is a connection to a public IP address. It could well be one or more of:-

There is a firewall at the server side
There are PAM rules on the server side to authenticate your client (or...
Forum: Shell Programming and Scripting Linux 03-01-2018
Replies: 19
Views: 440
Posted By rbatte1
Regarding the [[-n $line ]] you seem keep to...

Regarding the [[-n $line ]] you seem keep to have, what are you trying to achieve?

Are you worried about blank input lines perhaps? If so, maybe this would be better:-while read line
do
[[...
Forum: UNIX for Advanced & Expert Users Linux 03-01-2018
Replies: 6
Views: 288
Posted By rbatte1
Can you not write this as a script and call it in...

Can you not write this as a script and call it in as the machine starts? You haven't said what OS version you have, so the options a too varied to go through just yet. Do you have access as root /...
Forum: Shell Programming and Scripting Linux 02-26-2018
Replies: 11
Views: 433
Posted By rbatte1
You might need to mangle this. I would suspect...

You might need to mangle this. I would suspect that the shell will want to expand/interpolate the ? wildcard and you want to avoid that and pass it into the ftp command as literal text. Of course,...
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 08:53 PM.