Search Results

Search: Posts Made By: weslyarfan
1,672
Posted By weslyarfan
Ask another cases
Hallo all,
Im sorry if I come again to this thread.
I want to ask how is the manner if I want to count spesific character from certain line to certain line.
For example in case :
This is my file...
1,672
Posted By weslyarfan
Succes
Thank you Mr Cragun..
Your code works well.
1,672
Posted By weslyarfan
Take 10 latest line data
Good day for us.
I want to ask what is the manner to count total of spesific character or string in 10 latest line. I mean from Latestline - 10 line until Latest line.
Example :
If the latest...
1,264
Posted By weslyarfan
Succes suggestion
Thank you Mr Wisecracker.
Your suggest is worked.

When I work in sh shell I actually succes without .\ before the file name.
:b::).
1,264
Posted By weslyarfan
Access another variable config variable
Hi all, Please help me on my problem.
I want to take a value of variable which the variable is in other file.

variable.sh

wesly=1
wina=2
wekin=3
variabletaker.sh

source variable.sh
...
5,133
Posted By weslyarfan
The two of post totally have same aim. I'm so...
The two of post totally have same aim. I'm so sorry.
5,133
Posted By weslyarfan
Run .exe file with inputs file
Good morning ..,
I have a problem to run my object program. Before, I run my program in cygwin and there is no problem. When I tried in linux (ubuntu), the terminal said that space.exe : command not...
1,114
Posted By weslyarfan
I have tried to print $SHELL in my terminal and...
I have tried to print $SHELL in my terminal and the result is /bin/bashwhat should i try to run the code shown in upstair?

---------- Post updated at 08:30 PM ---------- Previous update was at...
1,114
Posted By weslyarfan
I am really new in linux att all. So actually I...
I am really new in linux att all. So actually I dont know ho to answer your question.

I run it with terminal in Ubuntu and the error result is like I have shown before.
So, How is the manner to...
1,114
Posted By weslyarfan
Simple looping in shell
Hii all.
I have a problem with my shell script.
This is my code

while [ $count -le 13526 ]
do
space.exe inputs/gr$count >> outputs/t$count
count=$[$count+1]
done

I ussually work...
1,898
Posted By weslyarfan
Replace specific letter in a file by other letter
Good afternoon all,
I want to ask how to change some letter in my file with other letter in spesific line

eg.
data.txt

1
1
1
0
0
0
0

for example i want to change the 4th line with...
1,840
Posted By weslyarfan
How do I get the total of spesific character and...
How do I get the total of spesific character and make a variable to take in the total spesific character?

---------- Post updated at 09:18 AM ---------- Previous update was at 08:02 AM ----------...
1,840
Posted By weslyarfan
To count total of specific character in a file and save its value to a variable
Hi all, I have a file that contains characters. How do I get total of spesific character from that file and save the count to a variable for doing for calculation.

data.txt

1
2
2
2
2
3
3...
1,572
Posted By weslyarfan
I think nice idea if I can take the value and put...
I think nice idea if I can take the value and put its value to a variabel in one other file.
But totally I dont know how to make it real..
1,572
Posted By weslyarfan
Can I do it by SED command?
Can I do it by SED command?
1,572
Posted By weslyarfan
How to take every number in in file by sed?
Hi all..,
I have problem when i want to take every number in my file.

this is my file look like..

errorpath.csv


error=29
error=34
error=2
error=3
error=6
error=5
error=36
error=36...
3,598
Posted By weslyarfan
I have solved my problem because all of you.. ...
I have solved my problem because all of you..
thank you so much..
:)
3,598
Posted By weslyarfan
thank you for all of you.. thank you so much...
thank you for all of you..
thank you so much especially for you Mr Chubler XL.

i have succeed
3,598
Posted By weslyarfan
I have tried but the result is like this.. ...
I have tried but the result is like this..
E:\SEMESTER 6\TA_2\space\source.alt\source.orig>./space.exe
'.' is not recognized as an internal or external command,
operable program or batch file.
...
3,598
Posted By weslyarfan
space.exe can be run with windows but i want to...
space.exe can be run with windows but i want to try run it in linux by shell..
3,598
Posted By weslyarfan
How to run executeable file using shell script?
Hi all, i really need a help for run my executeable program and add a file as a paramater to the executeable program. i want to run my executeable program by shell script.


i have space.exe...
3,629
Posted By weslyarfan
Update value of variable
Hallo all..
I'm running in windows 7 and cygwin instaled so i can use linux command on that.

I want to update the value of some variable that i stored in a file. How do I update it.

this is my...
1,240
Posted By weslyarfan
I'm so sorry for make many confusing here. That...
I'm so sorry for make many confusing here. That is because I'm really new in this forum.

I'm using windows 7 with cygwin instaled Sir..
and I run that code in .sh file Sir
1,240
Posted By weslyarfan
echo "word1\n" >> result.txt echo "word2\n" >>...
echo "word1\n" >> result.txt
echo "word2\n" >> result.txt
echo "word3\n" >> result.txt

i have execute that command.
the result in the result.txt file is like this
word1word2word3.

I need to...
1,240
Posted By weslyarfan
How to add new line after every data inserted to file?
Hi all,
I need help for solve my problem.

my problem is like this..
i want to add many word to file. but after I add 1 word, the second word should be in the under of the first word.

i have...
Showing results 1 to 25 of 25

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