Search Results

Search: Posts Made By: Xedrox
1,712
Posted By Xedrox
Thanks Don. Regards!
Thanks Don.

Regards!
1,186
Posted By Xedrox
Fantastic, thanks!
Fantastic, thanks!
1,712
Posted By Xedrox
Excellent!! Thanks!!
Excellent!! Thanks!!
1,186
Posted By Xedrox
Get filename with the fullname
Do you know some method to get the filename with the complete full path name?

For example, i have:

/home/myhome/myfile

And i want to get

myfile

Regards!
1,712
Posted By Xedrox
I dont have that program. I agree to my solutions...
I dont have that program. I agree to my solutions a "loop".
1,712
Posted By Xedrox
Get the filename linked to symbolic link
Hello guys,

I have a simple problem. Do you know any way to get the get the filename linked to symbolic link? I think use "ls -l <myfile> | cut -d '>' -f2", but i know it is a bad practice take...
1,147
Posted By Xedrox
Thanks a lot!
Thanks a lot!
1,147
Posted By Xedrox
How does the doble quote like? Sorry for my...
How does the doble quote like?

Sorry for my english, is bad.
1,147
Posted By Xedrox
Not delete space blank
Hi everyone, i need to "grep" a file with a string with space blanks, like this:


grep "XXXX XX" file.txt


The problem, i need put the "XXXX XX" in a string variable. When the...
2,038
Posted By Xedrox
Thanks!!
Thanks!!
2,038
Posted By Xedrox
Comparing string's with space
How can i comparing string's whith blank spaces?

I have this problem:


DIF1="STRING 1212"
DIF2="STRING 1212"
if [ ${DIF1} != ${DIF2} ]
then
echo "Differents"
else
echo...
2,098
Posted By Xedrox
Umask help!
Hi guys,


I want all new files and directories created, or copy file give this permisson "rwxrwx---", with chmod i do this with octal value "770". If i execute "umask 770" the permissons is...
1,625
Posted By Xedrox
Excellent! Works bipinajith!. I have to take time...
Excellent! Works bipinajith!. I have to take time to read this "awk" :b:
1,625
Posted By Xedrox
Change value in a textFile
Hi everyone,

I need to make a script to take three parameters:

-> KEY
-> NEW_VALUE
-> FILE

The FILE is a text plane file.
The KEY is a variable to...
2,323
Posted By Xedrox
Catch exit code of specific background process
Hi all, i hava a specific backgroud process. I have de PID of this process. At some time, the process finish his job, is there any way to catch the exit code? I use "echo $?" normally for commands.
...
2,725
Posted By Xedrox
Kill all proceess with the name XXX
Hello guys,

I have a problem. How can i "kill -9" with the name process? I have a lot of process with the same name, but i do not want kill each one with the process ID. There is a comand to...
2,531
Posted By Xedrox
Where do i put this in the original command?
Where do i put this in the original command?
2,531
Posted By Xedrox
Excelent! Thanks a lot! ---------- Post...
Excelent! Thanks a lot!

---------- Post updated 01-24-13 at 08:00 AM ---------- Previous update was 01-23-13 at 03:53 PM ----------

One dude, it is posible modify the comand if the file = has...
2,531
Posted By Xedrox
Nice! Supose other situation, the first parameter...
Nice! Supose other situation, the first parameter is nor the number of line, it is a string. For example:


CONFIGURATION_1=XXXX
CONFIGURATION_2=YYYY
CONFIGURATION_3=ZZZZ


supose i have a...
2,531
Posted By Xedrox
Modify one line in a plain text file
Hi everyone,

I want to know, if there is a way to modify one line in a text file with unix script, with out re-writing all the file.

For example, i have this file:


CONFIGURATION_1=XXXX...
1,664
Posted By Xedrox
Exaccly. P1 and P2 are not an interactive...
Exaccly. P1 and P2 are not an interactive program. They comunicates with messages with TCP, but i think it is not the question. The problem is when P2 starts, it say "connection time out" becouse P1...
1,664
Posted By Xedrox
Same problem. When i say crash, i mean the first...
Same problem. When i say crash, i mean the first process "stop" when the second process is sending to background.

---------- Post updated at 03:57 PM ---------- Previous update was at 03:41 PM...
1,664
Posted By Xedrox
Run multiples jobs in background mod
Hi,

I have a problem runnig from script two diferents process in background mod. Is there a limitation to do this?

For example


echo "Running process one:"
./ProcessOne &
echo...
1,122
Posted By Xedrox
Dynamics param for script
Hi everyone,

I need a way to take the value of a parameter with a for lood. For example i execute the script with this parameter

./Script PARAM1 PARAM2 PARAM3 PRAM4


for i in <LIST OF...
1,725
Posted By Xedrox
The problem is solved. Thank's everyone.
The problem is solved. Thank's everyone.
Showing results 1 to 25 of 28

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