10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Dear Gentle Folk,
I thought I knew unix/bash etc.
The compound statement
cd /lkjsdf ; source junk.1
completes and then logs me off IF the cd directory does not exist. It works fine if the
directory does exist. Why is this and how do I fix it.
It doesn't matter what... (1 Reply)
Discussion started by: homerwsmith
2. Shell Programming and Scripting
I want to zip files present in the directories listed under a parent directory without zipping the directory itself
my parent directory path is
I have the below directories named as 1,2,3,4,5 listed... (9 Replies)
Discussion started by: paul1234
3. 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
4. UNIX for Dummies Questions & Answers
I have a directory in unix that is /usr/local/pos contain the folowing directoreis ..that is
now I want to delete only dir2 please advise how to remove the directory dir 2 ..that is rm command and how to use it , and second if I want to zip the dir3 please... (1 Reply)
Discussion started by: punpun66
5. Shell Programming and Scripting
I am trying to make a script in KSH that will zip an entire directory but leave out one file in that directory. I then need to send that zipped directory to another UNIX box. I am new to UNIX and would appreciate a good template to study from. (3 Replies)
Discussion started by: BrutalBryan
6. Shell Programming and Scripting
I am having some problem with a shell script which zip some files. For zipping I have used the following command:
find . -name "Test_*" -mtime 0 | zip Test_$(date +"%Y%m%d") -@
I have kept the script in /home/abc directory. It is creating the zip file within the same directory where i... (2 Replies)
Discussion started by: abhishek_510
7. Shell Programming and Scripting
I've been plugging away at this script and I cant get it to behave as I need.
first off it fails to adhere to the conditions of the file limit, and zips the directory regardless of the file count and secondly, but less important it zips up the entire path not just the directory I'm... (2 Replies)
Discussion started by: orionrush
8. 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
9. 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
10. UNIX for Dummies Questions & Answers
rm: Unable to remove directory /mnt/users/test/logs/: File exists
drwxrwxrwx 6 test echo 4096 Jul 3 22:36 ..
-rwxrwxrwx 1 test echo 97692804 Jul 3 22:36 .nfsDFA4
drwxrwxr-x 2 test echo 4096 Jul 3 23:00 .
M not able to delete... (4 Replies)
Discussion started by: solitare123