Search Results

Search: Posts Made By: achellstrom
5,600
Posted By achellstrom
Those are back ticks on the title variable line. ...
Those are back ticks on the title variable line. My solution works I have tested it.
5,600
Posted By achellstrom
while read title do title="`echo $title|tr...
while read title
do
title="`echo $title|tr '[A-Z]' '[a-z]`"
find /mnt/music -name "*$title*" >> top10.lst
done < top10song.tm2
1,997
Posted By achellstrom
#!/bin/sh # $1 directory # $2 first string ...
#!/bin/sh
# $1 directory
# $2 first string
# $3 string replacement
#Check we have the right number of arguments
if [ $# -ne 3 ]
then
usage
else
MYDIR=$1
echo "checking $MYDIR" #debug
for...
1,741
Posted By achellstrom
Try java -cp $CLASSPATH net.grinder.TCPProxy >>...
Try
java -cp $CLASSPATH net.grinder.TCPProxy >> grinder.txt
1,815
Posted By achellstrom
Something like awk -F\| '{print...
Something like awk -F\| '{print $2"|"$3"|"$1"|"$4}'
1,621
Posted By achellstrom
The shadow file in /etc manages this. Type 'man...
The shadow file in /etc manages this. Type 'man shadow' for info.
6,307
Posted By achellstrom
I like it this is much sweeter than my answer,...
I like it this is much sweeter than my answer, but the way I read it you still need the paste -s. No need for a loop with this. Nice.
6,307
Posted By achellstrom
Sorry it is late here. I made a typo. Here is the...
Sorry it is late here. I made a typo. Here is the answer
awk '{print $5}' file1 ...... file184>result.txt;paste -s result.txt > a06.txt
6,307
Posted By achellstrom
This smells like homework, but here is some of...
This smells like homework, but here is some of the answer. First I would set up a loop to go from 1...184 and dump the awk results to a file say 'result.txt'. Next I would use the paste command to...
2,118
Posted By achellstrom
Also, be sure you don't have any hidden...
Also, be sure you don't have any hidden characters in the /home/pilga/man_blade.txt file. You can see them with 'vi'. Make sure each line is a new line. If this text file was ported from a windows...
2,118
Posted By achellstrom
Another way of doing this is: for name in `cat...
Another way of doing this is:
for name in `cat /home/pilga/man_blade.txt`
do
<your code>
done

NOTE: watch the tick marks they are back ticks
2,447
Posted By achellstrom
How are you setting the variable $var? Is this...
How are you setting the variable $var? Is this borne shell? Please submit all of the code.
2,526
Posted By achellstrom
Grep example
#!/bin/sh
for name in `cat file1`
do
grep $name file2 >> file_results.txt
done
Forum: Solaris 02-28-2009
16,227
Posted By achellstrom
Other possible TERM types are vt220 or xterm to...
Other possible TERM types are vt220 or xterm to name a few, and ctl-l will refresh the screen before and after an edit to ensure you are on the right line. Sometimes, you will think you are on a...
Forum: Solaris 02-28-2009
2,494
Posted By achellstrom
The closest thing would be smc 'Solaris...
The closest thing would be smc 'Solaris Management Console'
Forum: Solaris 02-28-2009
16,227
Posted By achellstrom
Make sure that that device is the right name for...
Make sure that that device is the right name for your boot disk. Type 'format' at the command line in single user mode. It should show up on the list. If it is not then mount the proper partition. ...
Showing results 1 to 16 of 16

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