Search Results

Search: Posts Made By: popescu1954
9,483
Posted By popescu1954
steps: connection to server 2 cd /develp/temp...
steps:
connection to server 2
cd /develp/temp
ftp server1
send user, password
cd /temp
get file_name a.lst
quit
12,422
Posted By popescu1954
more
It can also be used to define tables (variables with indices) as follows:
>i=3
assign a value to a3:
>eval a$i=gaga
retrieve the value of a3:
>eval a='$'$(echo a$i)
>echo $a
gagaLimit:...
3,973
Posted By popescu1954
I understand. For what I wanted, should imagine...
I understand.
For what I wanted, should imagine another acronym.
3,973
Posted By popescu1954
aa, okay, I thought it was the author who said...
aa, okay, I thought it was the author who said that the response is satisfactory ... so that others do not break over the head
Okay, no problem
3,973
Posted By popescu1954
How to close a topic?
No wonder that so few topics are closed. Looking for the fourth time as I do not find!
3,318
Posted By popescu1954
In fact the better for me is who am i: the name...
In fact the better for me is who am i: the name of MY remote machine is displayed.
Only problem: if I migrates with su - <USER> , we do not see it.
But actually who am i is enough ... I close the...
9,878
Posted By popescu1954
We must to put $var between quotes, otherwise an...
We must to put $var between quotes, otherwise an error will occur if $var is empty:if [-z "$var"] ; then echo "var is empty" ; else echo "var = $var" ; fi
3,318
Posted By popescu1954
This is not what I wanted. I connect from my PC,...
This is not what I wanted. I connect from my PC, with putty, to UNIX and I run a script. Does the script can tell it's me who has logged on and launched the script, something that identifies my PC.
10,598
Posted By popescu1954
If the list of id-s is not very very very long,...
If the list of id-s is not very very very long, it could be as follows:
cat file | egrep "id1|id2|id3|...|idk"
It must take some precautions if you could find the strings of identifiers elsewhere...
2,074
Posted By popescu1954
If you want a single line among several identical...
If you want a single line among several identical lines you make a | sort -u. In fact I am not sure I understood your request.
25,999
Posted By popescu1954
file="..." pattern="..." a=`cat -n $file |...
file="..."
pattern="..."
a=`cat -n $file | grep $pattern | awk '{print $1}'`
You have in $a the list of line numbers that match the pattern
3,318
Posted By popescu1954
identify a customer under a UNIX server
Like many UNIX users, there is a small team that is connected to UNIX (under the same UNIX user) via putty from a Windows PC.

Is there a way, once under UNIX, to know the address of the...
Showing results 1 to 12 of 12

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