Search Results

Search: Posts Made By: jiin
75,547
Posted By jiin
writing Enter key inside in shell script
If you are attempting to automate interactive sessions within a script try using expect or perl. Expect has a utility called "autoexpect" which is similar to "script". It will record the session that...
2,744
Posted By jiin
Hmmm .. that doesn't look like bash to me. Maybe...
Hmmm .. that doesn't look like bash to me. Maybe I am just not using the same bash as everyone else.

jiin
3,673
Posted By jiin
Just an additional note to that execellent reply....
Just an additional note to that execellent reply.

man autoexpect

jiin
3,687
Posted By jiin
At the risk of a "me too" reply ... me too...
At the risk of a "me too" reply ...

me too .. I agree.

There are much better tools to use than nawk for this type of script.

jiin
4,117
Posted By jiin
If I understand you correctly you want to change...
If I understand you correctly you want to change one specific regex in a script to another. you can use sed to do global substitutions.

sed -e s/foo/bar

Build a list file with
ls > listfile...
7,840
Posted By jiin
With HP_UX you can use mailx or sendmail. If...
With HP_UX you can use mailx or sendmail.

If your mailx isnt configured properly you will have to use sendmail. Scripted it would look like this:

uuencode name_of_file Name_you_want | sendmail...
5,291
Posted By jiin
If I understand your question correctly it would...
If I understand your question correctly it would be:
mv My\ File\ .txt My_File.txt

jiin
11,704
Posted By jiin
The gzip and gunzip utilities are common in...
The gzip and gunzip utilities are common in virtually all *nix. The easiest syntaxt is:

#gunzip filename

Normally the files will be tar'ed before they are gziped and will have to be untar'ed...
3,933
Posted By jiin
If your using linux, try moving the files with...
If your using linux, try moving the files with the mtools such as mcopy. This should insure that the files are there. At that point you should try an ll or ls -l to read the attributes of the file....
Showing results 1 to 9 of 9

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