Search Results

Search: Posts Made By: trutoman
1,385
Posted By trutoman
Yes of course , so change the problem: How to...
Yes of course , so change the problem:
How to feed nautilus with a list of files in a specified DIR, i am only capable to give it a DIR (a path) but nautilus is always showing me the entire list of...
1,385
Posted By trutoman
Launching Nautilus with a set of files ??
Hello ,

I am trying to create a layer of file-tagging trough bash scripting and tlc/tk .

I have almost everything ready only needs to be able to launch nautilus (the gnome file manager) with a...
Forum: UNIX and Linux Applications 10-14-2010
2,964
Posted By trutoman
KickStart postscript problem
Hello everyone:

Im not going to explain about kickstart, i supposed you know, that one of the features of this program is to run a postscript after installation.So after install packages you can...
3,360
Posted By trutoman
Thx a lot, i think i tested that way but it...
Thx a lot, i think i tested that way but it seemed incorrect. Anyway thx , i will try to change this sentence, it looks :eek: !!
3,360
Posted By trutoman
Ok XD it works but i was looking for another...
Ok XD it works but i was looking for another kind of response because the problem is to add those "double quotes" in this sentence.


eval "v_tmp_"$v_host=\"`echo \$v_data |\
awk 'BEGIN {...
3,360
Posted By trutoman
#!/bin/bash list="nats01 nats02 nats05...
#!/bin/bash

list="nats01 nats02 nats05 nats09"
v_inicial=`echo $list | awk 'BEGIN { FS=" " }
{ print $1
print $2
...
3,360
Posted By trutoman
Lost carriage return when assign
Hello .

Now i have a different problem, lost "carriage return" when assigning a variable. The assignation is done in a peculair way but its ok.

The variable "v_tmp" have spaces and carriage...
1,863
Posted By trutoman
Problems assigning a string to a variable
Hello everyone,

My problem looks quite simple , how to assign a string with spaces and lines "\n" to a variable.

I've tried all kind of quoting and is impossible, bash always try to execute...
Forum: IP Networking 04-20-2010
4,028
Posted By trutoman
Configure a range of ports to "socket" system call
Hello ;

This what i want to do :

I know that in the system call

#include <sys/socket.h>
int bind(int socket, const struct sockaddr *address,
socklen_t address_len);

you can...
20,858
Posted By trutoman
If you cant transform pseudocode in code you may...
If you cant transform pseudocode in code you may consider move this post to Newbies Forum. You are supposed to code that script in this forum....or thats what i think. If dont Scrutinizer has code...
20,858
Posted By trutoman
I'd use this way. I would concatenate the...
I'd use this way.

I would concatenate the info in a temporal file in server A, when you consider that the file is finished. you send with scp to server B .... and delete the file in server A.

I...
3,685
Posted By trutoman
Writing in a socket trough TCL problem.
Hello everyone:

I have a script that writes and read DATA in/from a socket, but i have a great problem while writing.

My socket is created in this way:


set connection [socket -async...
2,951
Posted By trutoman
:o i know...
:o i know...
2,951
Posted By trutoman
"Phantom character" in Socket (RESOLVED)
Hi everyone:

I have built a tcl script, this script communicate with an ADA program trough a socket, sending binary data, the sender proc is this one:

The code where im sending info is here:
...
9,970
Posted By trutoman
Thx I wa thinking about it. Actually i...
Thx

I wa thinking about it. Actually i simply close applications and i hope sockets to close properly. But now that im sure that its impossible to do with command, i will remake the close...
9,970
Posted By trutoman
Closing sockets with shell-command ?
Hello everyone.

(I have found in this forum lots of infos about closing socket in c, and others lenguages but never with shell-command)

Im developing a tool over tcl/tk; in this application i...
4,544
Posted By trutoman
Will be the name of file always at the end of ls...
Will be the name of file always at the end of ls line.
Is that a default UNIX behaviour?
4,544
Posted By trutoman
OMG it was simple: ls -l line in RedHat ...
OMG it was simple:

ls -l line in RedHat



ls -l line in Ubuntu




The format of date is different, so awk was taking $9 when it must take $8. Thx Otheus.
I need make this script...
4,544
Posted By trutoman
Thats true, in Ubuntu i have an alias ls="ls...
Thats true, in Ubuntu i have an alias ls="ls --color", but unfortunately thats not the problem. I have run the script with your suggestion, and the output remains the same.



Thx again...
4,544
Posted By trutoman
+ DEPTH=-1 + MAIN dir_1/ dir_2/ ++ DRAW_DEPTH...
+ DEPTH=-1
+ MAIN dir_1/ dir_2/
++ DRAW_DEPTH -1
++ ROUND=-1
++ '[' -1 -ge 0 ']'
++ printf %s '|- '
+ TAB='|- '
++ ls -l dir_1/
++ awk '{print $9}'
+ DIR_LIST=

This is complete...
4,544
Posted By trutoman
Script running in bash 3.0 not in 3.2
I have wasted one working day writing this scripts.
It compares two folders and make a good tabbed report about their differences.

#!/bin/bash

function DRAW_DEPTH () {
ROUND=$1
while [...
Forum: IP Networking 01-15-2009
13,100
Posted By trutoman
Yes thats sure it's /etc/hosts. And the content...
Yes thats sure it's /etc/hosts.
And the content of my /etc/host.conf (file that i had never seen) is :



i guess the problem its there....perhaps

/------------------------/

In response to...
Forum: IP Networking 01-13-2009
13,100
Posted By trutoman
Changing permission of /etc/hosts it doesnt...
Changing permission of /etc/hosts it doesnt work.
And with system-config-network, the graphical tool, it doesn't work......

Always i activate or desactivate a interface my /etc/hosts is cleared...
Forum: IP Networking 01-13-2009
13,100
Posted By trutoman
Mcnamara, thats what i am doing now, but i do it...
Mcnamara, thats what i am doing now, but i do it 20 times everyday i'm sure there is a better solution.

Im going to try changing permissions, but im not sure, if the system clear my /etc/hosts,...
Forum: IP Networking 01-12-2009
13,100
Posted By trutoman
/etc/hosts changes when ifconfig......
Hello everyone.

Im using last redhat enterprise edition and in my working environment, i'm always reconfiguring both interfaces , eth0 and eth1, everytime i change any interface, (i use...
Showing results 1 to 25 of 30

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