Search Results

Search: Posts Made By: xadamz23
2,877
Posted By xadamz23
I got it working. Using "printf" instead of...
I got it working. Using "printf" instead of "print" did the trick.
2,877
Posted By xadamz23
Well here is the output of the command you gave...
Well here is the output of the command you gave me:

[root@rmhesx01 scripts]# cat adam2 | od -An -t dC -w10
86 77 95 78 65 77 69 58 10 32
32 32 32 32 32 10 74 ...
2,877
Posted By xadamz23
Just tried that and the output looks exactly the...
Just tried that and the output looks exactly the same.

I have also tried unix2dos with no success.

Here is my full script:
#!/bin/bash
#
# Written by Adam Stahl on 1/9/09
#
# ...
2,877
Posted By xadamz23
Lines Concatenated with awk
Hello,

I have a bash shell script and I use awk to print certain columns of one file and direct the output to another file. If I do a less or cat on the file it looks correct, but if I email the...
28,586
Posted By xadamz23
Thanks. I used the following command: /bin/df...
Thanks. I used the following command:
/bin/df -t nfs | /bin/grep /backup

Thanks again for your help.
28,586
Posted By xadamz23
Testing if nfs filesystem is mounted
Hello,

I have a backup script that backs up my system to a nfs mounted file system. The mount point on my local system is /backup.

I want my script to check whether the nfs file system is...
5,646
Posted By xadamz23
Ok, I've managed to access internal disks...
Ok,

I've managed to access internal disks when booting from cd-rom, but what I really need to do is access an external disk.

When I'm booted up in multi-user mode, the device name for the disk...
5,646
Posted By xadamz23
Boot from cd-rom to access disk drives
Hello,

I've booted a Digital Unix 4.0D system from cd-rom and I need to access the system's disk drives. I need to run the fixfdmn utility on the root domain so I need to create the root domain...
3,248
Posted By xadamz23
tar and vdump on same tape?
Hello,

This might be a dumb question, but I havent been able to find the answer anywhere.

I currently have a backup script that uses 'tar' to backup some files to tape. I need to add a...
19,927
Posted By xadamz23
Thank you very much Perderabo, but I realized...
Thank you very much Perderabo, but I realized something after I posted my question. I need the format of the date to be '02-dec-2005:15:30'. I need to have the date included so my script will work...
19,927
Posted By xadamz23
The OS is Digital Unix and Tru64 Unix. I wont be...
The OS is Digital Unix and Tru64 Unix. I wont be able to test your command until Monday. Do you know if it works on those OSes?
19,927
Posted By xadamz23
Subtract Time
Hello,

Im writing a script using the ksh shell. I have 2 variables in the script:

CURRTIME
PREVTIME

Example, if CURRTIME=13:00, I want to somehow calculate what the time was an hour ago so...
38,391
Posted By xadamz23
I believe I have figured out the problem. I...
I believe I have figured out the problem. I found the following in the Sendmail man page:

# Queue-Only Load Average (option QueueLA): #
# ...
38,391
Posted By xadamz23
It's not being mailed to a remote system. It is...
It's not being mailed to a remote system. It is being mailed to the "root" account on the local system.
38,391
Posted By xadamz23
Mail going to /var/spool/mqueue instead of being sent
Hello,

I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent.

Does anyone know why mail from cron jobs...
8,219
Posted By xadamz23
I did find the job in one other user's crontab...
I did find the job in one other user's crontab file. However, that user is not listed in the /usr/var/adm/cron/cron.allow file so her crontab file should never even run. I am going to remove the...
8,219
Posted By xadamz23
Old cron entry still runs, but shouldnt
Hello,

I'm running OSF1 V4.0 alpha. We used to have a job running from the cron at 6am everyday. We have removed the job from the crontab file, but the job still runs at 6am everyday. The job...
14,450
Posted By xadamz23
Nevermind. I figured it out. I had to include...
Nevermind. I figured it out. I had to include the full path to wall. (/usr/sbin/wall)
14,450
Posted By xadamz23
Running "wall" command from cron
Hello,

Ive written a little script that broadcasts a message if certain criteria are met. The script works fine when I run it.

I entered it in the crontab to run every hour on the hour. The...
12,635
Posted By xadamz23
Thanks kduffin. I didnt even know the od command...
Thanks kduffin. I didnt even know the od command existed.
12,635
Posted By xadamz23
"wc -c" question
when I enter the command "echo adam | wc -c" 5 gets outputted to the screen.

adam = 4 characters

I dont understand why it wouldnt be 4?
20,115
Posted By xadamz23
thanks oombera. I might use this but I'm helping...
thanks oombera. I might use this but I'm helping a friend write a script for an Inro. to Unix class and the class doesnt cover the awk command. Could you list any other ways that you know?

and...
20,115
Posted By xadamz23
How do I count # of char. in a word?
I havent done shell scripting in quite some time. I want to know how to count the number of characters in a word, specifically a parameter.

Example: myscript hello

I want "myscript" to...
36,065
Posted By xadamz23
"nohup" and "&" commands
Why would anyone ever type in a command like this:

nohup command &



nohup lets you logout of your telnet session so why add "&" to run it in the background?
6,124
Posted By xadamz23
SunOS - root's .profile
There is no .profile file for the root user. It should reside in "/". Can I just copy a .profile file into "/"?
Showing results 1 to 25 of 28

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