10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I keep getting this error and I am not sure why.
-bash: ./p4: /bin/ksh^M: bad interpreter: No such file or directory
First I run my makefile and this works fine:
gcc -o goodmain main.o
gcc -c main.c
Then I want to limit my output so I... (11 Replies)
Discussion started by: cokedude
2. UNIX for Dummies Questions & Answers
Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder.
using the find command . Could you please assist me how to put the automation using the shell script .
... (11 Replies)
Discussion started by: venkat918
3. UNIX for Dummies Questions & Answers
when I run the following command in AIX (bash),
I get the following error.
find: bad status-- ./*
Thats becasuse, its an empty directory. The same works, when there the directory is not empty. Even though the find deesnt have to rerun any result.
My full find command would look... (4 Replies)
Discussion started by: deepakwins
4. Shell Programming and Scripting
As i am working in unix environment so i have an logs that is created by my application at the following location that is
inside the logs directory there are different kinds of logs(that is the file having extension as .log ) have been created... (1 Reply)
Discussion started by: 2015nks
5. Shell Programming and Scripting
I want to delete the image files from a directory, which are not listed in a TEXT file.
The directory contains large number of image files (in millions) required / not required. I want to delete the image files which are "not required".
I have generated a Text file having... (3 Replies)
Discussion started by: Praveen Pandit
I have random connections coming into my FTP server, but the source IP is not showing up in my logs. Here is what my logs look for me trying to connect as a "whatever" user that doesn't exist. You can see there is no source IP telling me where this connection came from:
Jun 27 10:13:40... (4 Replies)
Discussion started by: kah00na
7. UNIX for Dummies Questions & Answers
I have logs at the following location
now that logs directory contain different types of logs now sometimes i need to
do disk clean up activity so i need to zipped the logs can you please advise
any command by which all the logs created in this directory are... (2 Replies)
Discussion started by: punpun66
8. UNIX for Dummies Questions & Answers
Is there an efficient way to source all of the files contained in a directory? Theoretically I could create a FOR loop and successively source each file, but I just wanted to check if there was a cleaner method.
Mike (3 Replies)
Discussion started by: msb65
9. Shell Programming and Scripting
Here is a puzzler.
To start, let me say that I've done a search on this issue and it is definitely not related to line endings being encoded in windows returns.
I get this error when I run SOME perl scripts. I have a script called hello_world.pl. I do $cp hello_world.pl new_hello_world.pl... (0 Replies)
Discussion started by: mjmtaiwan
10. Shell Programming and Scripting
I have the following script which writes the output of the scirpt in a log file in the same directory from which the script is run. I need the scipt to write the logs daily to a differnt directory with the date appended to the log on a daily basis.
The script is as follows...
.... (1 Reply)
Discussion started by: nirmal84