10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I ran into the following and still do not understand entirely the rationale behind this. If someone could explain why things are as they are I'd be thankful.
The following was tested on AIX 7.1 with ksh88, but i suspect that to be ubiquitous. In an installation routine i had to create a set of... (6 Replies)
Discussion started by: bakunin
2. Shell Programming and Scripting
I have prepared a script and trying to execute it but not getting expected output. Could you please help and advise what is going wrong.
"If else" part in below script is not working basically.
I am running it on HP-UX.
for i in slpd puma sfmdb
echo... (10 Replies)
Discussion started by: sv0081493
3. UNIX for Dummies Questions & Answers
Hi. I am trying to start a script on my router that will execute even if i log off. To execute the script I write:
nohup ./dslconnection > dslstat.out 2>&1 &
It starts the job:
21968 admin 1604 S /bin/ash ./dslconnection
The problem is that when I log back in the job has been... (6 Replies)
Discussion started by: sebcou
4. UNIX for Dummies Questions & Answers
I need to sort through a volume that contains video files by access time and delete files that have not been accessed over x days. I have to use the access time as video files are originals that do not get modified, just read
Testing commands on a local test folder...
Wed Sep 28... (10 Replies)
Discussion started by: canon273
5. Shell Programming and Scripting
seq 1 5 | while read i ; do
echo $totalThis outputs:
0whereas I am expecting:
15My bash version: (4 Replies)
Discussion started by: meharo
6. UNIX for Dummies Questions & Answers
i have more than 300 tar files in directory and i want to zip all tar files to single file.
could anybody tell me the command since i know how to do zip for single tar file:
in this directory i have lot files... (2 Replies)
Discussion started by: prakash.gr
7. Shell Programming and Scripting
I wrote a script for backing up a folder. It goes fine but today it started to spit out this error, when a folder is taring:
tar: 0511-194 Reached end-of-file before expected.
I didn't make any changes!
- OS: UNIX AIX ibm 3
- the folder I'm trying to tar is 11Gb large... (4 Replies)
Discussion started by: Funky_ass
8. UNIX for Dummies Questions & Answers
If I have a directory /directory1 and want to tar and zip everything in it into a file new_tar.tar.gz on disk (not tape)
How can I do it?
I tried tar -cv /new_tar.tar /directory1/*
But I got an error: tar: /dev/rmt/0: No such device or address (4 Replies)
Discussion started by: FredSmith
9. Shell Programming and Scripting
I use the command
from the command line on HP UNIX and it works fine - It lists all files matching *.txt in the a\b\c directory
When embeded in a ksh script
it does not work - I get *.txt not found (even though there are files)
I tried... (10 Replies)
Discussion started by: GNMIKE
10. Shell Programming and Scripting
Consider the following magic words:
# ls `which adduser`
ls: /usr/sbin/adduser: No such file or directory
# ls /usr/sbin/adduser
Unforunately this little sniippet is used in my debian woody server's mysql pre install script.... (2 Replies)
Discussion started by: osee