Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~13.6K People Reached
Favorite Tags
Member Avatar for script_noob

input.txt is a file that contains filenames that have been piped into it from an external program. for example... input.txt has the following in it filename1.txt filename2.txt filename3.txt I would like to perform an 'rm' command on the filenames contained in input.txt So instead of potential hours of work deleting …

Member Avatar for r 7vtgj
0
8K
Member Avatar for rusman

I have written a very simple bash script that runs on Solaris10. It runs a command and then sends me the output via mailx. I can run it at the command line (sudoed as root) and it runs perfectly fine. I then set it up to run from root's cron. …

Member Avatar for thines01
0
309
Member Avatar for rusman

I have written a very simple bash script that runs on Solaris10. It runs a command and then sends me the output via mailx. I can run it at the command line (sudoed as root) and it runs perfectly fine. I then set it up to run from cron. I …

Member Avatar for rusman
0
119
Member Avatar for rusman

What mkisofs options would you use to ensure the ISO loads and can run on Solaris 8/9/10 when the ISO is made from a Solaris 10 system? There are some pretty deep directories, but I don't know how deep. I also suspect there are some hidden files (start with ".") …

Member Avatar for sknake
0
67
Member Avatar for rusman

I want to ls -l a filesystem, but only want the files 3 months old or more. I can't figure out how to test the files and get the results I'm looking for. Any ideas?

Member Avatar for Salem
0
95
Member Avatar for rusman

I need to read in a list from a file, but I want to always ignore/skip the first line of this file. Right now I'm just cat'ing the file and awk'ing the first column as that's all I need. However, this will also give me the first column of the …

Member Avatar for eggi
0
4K
Member Avatar for rusman

I'd like to create a script that will run a command, parse the output for certain fields/words and then email that information to me if it meets simple criteria. For example, when run, the command will output several lines. I'll need to grab the Name: Test1 Type: Windows Active: No …

Member Avatar for eggi
0
155
Member Avatar for rusman

What command will let me run a script/command on a remote machine? Anything I need to have in place to get this remote execution to work? Thanks!

Member Avatar for blater
0
93
Member Avatar for rusman

Hello, I have a script I've used on pre-Solaris 10 that works just great. Now on a Sol10 box, it is bailing on this line with this error: syntax error at line 27: `|' unexpected Here's the 'offending' line: [code]creation=`echo $backupid | sed 's/^.*_//'`[/code] I'm a bit confused as to …

Member Avatar for masijade
0
110
Member Avatar for rusman

Hi all, I have two files, both have a list of 6 digit values. I want to compare them and output the values that match up. The lines in each file are not supposed to contain the same value (in other words, line 1 in each file may or may …

Member Avatar for rusman
0
111
Member Avatar for rusman

How can i get awk to separate the output with dashes? A simple awk '{print $1-$2-$3}' does not work.

Member Avatar for rusman
0
105
Member Avatar for jeromefong

I'm writing a Bash script to read from an input file and write my changes out to an output file. I'm using read and for some reason, it is stripping the leading spaces off of each line. I didn't see any flags in read to turn the stripping off. I'm …

Member Avatar for radoulov
0
155
Member Avatar for rusman

Hello everyone, Given a list of output that looks like this (from NetBackup bpimagelist if any of you are familiar), I need to pick out the last full backup closest to the end of the quarter (3/30, 6/30, 9/30 12/31). 10/20/2006 21:24 INFINITY 146144 64213523 N Full Backup 10/13/2006 21:46 …

Member Avatar for jim mcnamara
0
147