Search Results

Search: Posts Made By: csejl
2,242
Posted By csejl
thanks for the explanation. you guys are awesome.
thanks for the explanation. you guys are awesome.
2,242
Posted By csejl
recognizing * character
i have a short script that takes a filename and secure copies the file to a remote machine. i'd like to be able to take a * character and secure copy all the files in the directory.

first of all,...
65,206
Posted By csejl
Thanks. That's exactly what I was looking for! ...
Thanks. That's exactly what I was looking for!

-j.
65,206
Posted By csejl
What if you want to replace a word (no numbers)...
What if you want to replace a word (no numbers) that's surrounded by number(s)?

For example, atfront111front111front.txt. I'd like to replace only the second "front".
65,206
Posted By csejl
using sed to replace a part of string
Hi,

I have files that are named front1.txt to front999.txt. They are all in the same directory. To change "front" to "back", I am doing something like this.

for file in *.txt; do
...
3,308
Posted By csejl
You can probably write out to a file and do a...
You can probably write out to a file and do a sort on it.

cat file | sort --field-separator=" " -n -k 5.5

Is this an acceptable solution to you?
11,355
Posted By csejl
Perderabo, Is there a way to set IFS only...
Perderabo,

Is there a way to set IFS only for reading in from inputfile? While I am reading in my lines, I want to do something like this:

for s in `echo $my_var | sed 's/./& /g'; do
...
5,266
Posted By csejl
pass by reference in shell
Hi,

I would like to write a function which takes one integer argument and adds 10 to it. But, I'd like to return the result in the data that was passed in. Is this possible?

function1()
{
...
11,355
Posted By csejl
kowrip, Thanks for your help. But if you...
kowrip,

Thanks for your help. But if you read my post carefully, you'll see that I almost explicitly declined to do this in perl. I just have to do this in shell that's all... :-p

Perderabo,...
11,355
Posted By csejl
search and replace dynamic data in a shell script
Hi,

I have a file that looks something like this:

...
0,6,256,87,0,0,0,1187443420
0,6,438,37,0,0,0,1187443380
0,2,0,0,0,10,0,1197140320
0,3,0,0,0,10,0,1197140875
0,2,0,0,0,23,0,1197140332...
Forum: Linux 09-29-2003
3,868
Posted By csejl
If I remember correctly, it is Vmware's job to...
If I remember correctly, it is Vmware's job to configure that. I maybe wrong though. What do you get when you run 'ifconfig'?
10,956
Posted By csejl
You need to change the last column in /etc/passwd...
You need to change the last column in /etc/passwd file to /bin/bash (or whatever shell you used to have). If you are not the sys admin you need to ask your sys admin to change this for you.
Forum: IP Networking 09-26-2003
4,494
Posted By csejl
The index.html file goes into...
The index.html file goes into /usr/local/apache/htdocs directory. In general, if you are setting up user specific path you access it by going to http://yourdomain.com/~username/.

In order for you...
Forum: IP Networking 09-26-2003
2,188
Posted By csejl
What other OS are you referring to? ...
What other OS are you referring to?

Generally, you have a COMPLETE control over you machine if you are running Unix/Linux. It'll take time to learn it but once you do you will love it.

If...
2,077
Posted By csejl
you can write a shell script to get the product...
you can write a shell script to get the product id from a file and loop it 1500 times. Redirect the output to a file the first time and start appending second time and on.

This won't be any...
3,150
Posted By csejl
Just to clarify. gzip to compress and gunzip to...
Just to clarify. gzip to compress and gunzip to uncompress. Most likely, it's gziped tarball that you are dealing with. 'tar zxvf your_file.tar.gz'
3,881
Posted By csejl
I believe you can also use the command 'setterm.'...
I believe you can also use the command 'setterm.' Use 'xset' if you are running X server.
2,243
Posted By csejl
Only thing I can think of is that you can get the...
Only thing I can think of is that you can get the timestamp of the last command executed by doing 'ls -l ~user/.bash_history', if you are using bash that is.
Forum: Linux 09-19-2003
16,080
Posted By csejl
did you install java sdk via rpm? what rpm are...
did you install java sdk via rpm? what rpm are you trying to install?
5,027
Posted By csejl
Does that server only provide FTP service? It...
Does that server only provide FTP service? It appears that this sort of question comes up over and over again on this board: ways to transfer files. If FTP is the only way and you only have a...
Forum: SuSE 09-19-2003
3,043
Posted By csejl
it's probably asking for an ip address b/c you...
it's probably asking for an ip address b/c you don't have dhcp server in your network. what is your network setup like? do you have access to the internet?

SuSE unless you pay for their CDs...
5,027
Posted By csejl
to my knowledge, there's nothing like that. gui...
to my knowledge, there's nothing like that. gui ftp client is probably the answer for you. just curious, why do you want something like that anyway? is there anything specific you want to get done?
2,240
Posted By csejl
ps -aef | grep automountd and kill it. 'man...
ps -aef | grep automountd and kill it.

'man automount' for more info.
Forum: Programming 09-18-2003
6,971
Posted By csejl
I don't know too much about AIX but on Linux you...
I don't know too much about AIX but on Linux you have to play with 'ulimit' to set the size of core file allowed on your system. If the size of core file being generated is bigger than the limit...
Forum: IP Networking 09-18-2003
2,986
Posted By csejl
what kind of sniffer are you using? if you are...
what kind of sniffer are you using? if you are using tcpdump, 'man tcpdump.' there is a windows application called sniffer pro. it is very easy to configure and filter out stuff that you don't...
Showing results 1 to 25 of 29

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