Search Results

Search: Posts Made By: grahambo2005
1,790
Posted By grahambo2005
Hey I reverted to an old VM Snapshot in the...
Hey

I reverted to an old VM Snapshot in the end

I still do not know what went wrong however I have a feeling I may have made a mistake somewhere along the way.

I am going to run my...
1,790
Posted By grahambo2005
X11 forwarding does not work after networking change
Hi all

I'm having an issue with X11 Forwarding

I have a VM set up on my computer which I usually "ssh -X" to over a home network (192.168.1.*).
Client 192.168.1.100
Server 192.168.1.103
...
20,355
Posted By grahambo2005
thanks for all you replies I have decide to...
thanks for all you replies

I have decide to use this

NAME=`echo "$NAME" | awk '{for(i=1;i<=NF;i++) {$i=tolower($i); sub(/./,toupper(substr($i,1,1)),$i)}}1'`
NAME=`echo "$NAME" | awk '{print...
20,355
Posted By grahambo2005
Hi yes I am using an Oracle DB However...
Hi

yes I am using an Oracle DB

However there are parts of the script Where I need the users full name in uppercase

I only want their first name now and the first letter to be in uppercase
...
20,355
Posted By grahambo2005
Script to Convert Upper case to Lower case
Hi All

I have a script which extracts values from a Database (A persons name) and puts it into a variable in my script IE: $NAME
However the Value in the DB is all in uppercase and contains the...
22,719
Posted By grahambo2005
Thank you kindly Zazzon and Quirk!
Thank you kindly Zazzon and Quirk!
22,719
Posted By grahambo2005
1 last question I now wish to print out the...
1 last question

I now wish to print out the contents of the array using a loop.

I'm using

my_array_size=${#array }
i=0; while [ $my_array_size > $i ]; do echo $i ${array[$i]}; let i=$i+1;...
22,719
Posted By grahambo2005
Your code has worked perfectly thank you G.
Your code has worked perfectly

thank you
G.
22,719
Posted By grahambo2005
Thank you for your reply But I am a unix...
Thank you for your reply

But I am a unix Novice

I am having trouble understanding your code and incorporating it into a solution that I can use.

I have just tried this:

set -A array...
22,719
Posted By grahambo2005
Pipe text from a file into an array
Hi Guys I have a question about filling up an array

I have a file called USER_FILE.txt
it contains the following:

Real Name:Thomas A Username:THOMAS_A
Real Name:Thomas B Username:THOMAS_B...
1,765
Posted By grahambo2005
TY that also helps G.
TY

that also helps

G.
1,765
Posted By grahambo2005
I figured this one out grep -vE ^INFO...
I figured this one out

grep -vE ^INFO inputfile > outputfile

Cheers
G.
1,765
Posted By grahambo2005
Vi Question
Hi Guys

I have a quick question

I have a file that is approx 1.5 million lines long of which most of the lines start with

INFO: some info
INFO: some more info
INFO: etc

I want to remove...
6,446
Posted By grahambo2005
thank you very much sir Graham
thank you very much sir

Graham
6,446
Posted By grahambo2005
Apologies for asking again but I am now...
Apologies for asking again

but I am now having an issue with TR

I want to make double sure that the value of id has no non-numerical characters in it.



if [ ($id | tr -d '[:digit:]') ==...
6,446
Posted By grahambo2005
thank you kindly this works perfectly
thank you kindly

this works perfectly
6,446
Posted By grahambo2005
Shell Script Unique Identifier Question
i All

I have scripting question.
I have a file "out.txt"

which is generated by another script

the file contains the following

my_identifier8859574

logout

The number is generated in...
Showing results 1 to 17 of 17

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