Search Results

Search: Posts Made By: michaeltravisuk
Forum: Solaris 05-29-2013
6,007
Posted By michaeltravisuk
[solved] /dev/ptmx issue session_pty_req: session 0 alloc failed
I've got a Solaris 10 server that got a corrupted root filesystem. After being forced to run fsck against it, the OS is now up and the filesystem read/writable.

However, ssh from any account...
7,443
Posted By michaeltravisuk
Excellent, that works perfectly, many thanks!
Excellent, that works perfectly, many thanks!
7,443
Posted By michaeltravisuk
Many thanks for the prompt response and advice. ...
Many thanks for the prompt response and advice.

I have tried this and get the following back:

number=123456789

echo ${number:0:2}

0403-011 The specified substitution is not valid for this...
7,443
Posted By michaeltravisuk
How to split a value according to character position
Hello all,

I have a script which picks up a series of large numbers, each of which are actually amalgamations of a series of other numbers. Unfortunately there are no separator characters so I...
2,316
Posted By michaeltravisuk
Setting numbered variables
Normally I would post in the shell scripting area, but this is so basic I thought I'd best put it in the dummy area!

I want to set a series of numbered variables. I have a loop which increments a...
2,026
Posted By michaeltravisuk
Script can't see /usr/bin???
Hello all,

I have the following script (still in early stages), and although I can't help but think that the problem is very simple, I can't think of a solution. My script can't see binaries in...
9,532
Posted By michaeltravisuk
The number is to be truncated according to the...
The number is to be truncated according to the character number (.eg. put carriage return after character 4,7,15 etc). Each number I'd like to truncate is delimited in exactly the same way.
9,532
Posted By michaeltravisuk
Truncating a number using sed/awk
Hi all,

I'm trying to truncate a number like the following:

0001060407013900501048239559900600504083525826350002050354795057

I would like to create an output which puts carriage returns...
4,635
Posted By michaeltravisuk
Using awk (or an alternative)
Hi,

I'm trying to echo a variable that has values separated by colons, putting each value on a new line. So as an example, a variable I might have would contain:

My name is Earl:My name is...
21,397
Posted By michaeltravisuk
Appending data into a variable
Hi,

I would like to know if it's possible to append data into a variable, rather than into a file. Although I can write information into a temporary file in /tmp, I'd rather if possible write...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 06:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy