Search Results

Search: Posts Made By: ymeyaw
2,822
Posted By ymeyaw
Hi,neutronscott Thanks for your help. Thus...
Hi,neutronscott
Thanks for your help.
Thus for me to enter the password (password is pass123 for all servers), i just have to add this line right before echo "testing on $server" right?



for...
2,822
Posted By ymeyaw
SSH batch help
Dear Gurus,

I had hundreds of equipments which i can only use SSH to login and retrieve informations. Thus, how should i do that? eg:ssh batch

@ echo off
ssh <server1>@10.168.1.1
ECHO...
2,602
Posted By ymeyaw
Its working. Thanks. Yeah, i had ignore this . I...
Its working. Thanks. Yeah, i had ignore this . I search through forums and theres a way to get rid of that. But at this moment , i am happy enough to proceed with my daily work :) Once again thank...
2,602
Posted By ymeyaw
Thanks .Ygor. I am getting below erro . Could i...
Thanks .Ygor.
I am getting below erro . Could i just ignore it or?

could not open /dev/kbd to get keyboard type US keyboard assumed
could not get keyboard type US keyboard assumed
2,602
Posted By ymeyaw
File processed in Unix had issue open using notepad
Dear all,

I had a columned based file after processed from my script. In unix platform, my file is ok, with all columns sorted out nicely. But when i open in windows notepad, the columns are...
5,155
Posted By ymeyaw
Thansk agama for your help!!! I put a tmp as...
Thansk agama for your help!!!

I put a tmp as you said and remove the tmp after that. Things work well!!
Thanks again!!
5,155
Posted By ymeyaw
loop through files in each folder and perform sed
Dear all,

I have few log folders in directory (FILE) and i need to perform sed on each files inside each folders. Here is my script, and i wish to rename each file back to the same file name after...
1,234
Posted By ymeyaw
Thanks..I found it already. Its awk program ,...
Thanks..I found it already. Its awk program , where FS =field seperator and OFS is output field seperator. I learned something new today!! Thanks alot guys~~~
1,234
Posted By ymeyaw
Hi rdcwayx, Thanks alot. What is the meaning...
Hi rdcwayx,

Thanks alot. What is the meaning of $NF FS=_ and OFS_ ?

I am new to shell.
1,234
Posted By ymeyaw
Replace file name on certain "changeable string"
Dear all,

I can use the following script to remove certain strings of my filename.
for filename in `find . -name *blah*`;
do
new_name=`echo $filename | sed -e "s/blah//g" $filename`
mv...
1,131
Posted By ymeyaw
search alrgorithm
dear all,

I am having problem writing a shell script to search datas in one file.

example of data stored in home/david/database.txt

database.txt:
------------
index name sex country
1 ...
4,589
Posted By ymeyaw
thanks alot ..it 's working!! :)
thanks alot ..it 's working!! :)
4,589
Posted By ymeyaw
append line
dear all,
i am fresh for unix, and currently i wish to insert a line into a txt file as below:

test.txt
------
abc
def
ghi

and i wish to insert "hello world" in between abc and def line:
...
Showing results 1 to 13 of 13

 

Featured Tech Videos

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