10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
This is my first post, so please forgive my obvious lack of UNIX knowledge. I am trying/needing to write a script that follows this functional flow:
1. Access a config file that contains format:<directory> <filetype> <daterange>
<directory> <filetype> <daterange>
<directory>... (2 Replies)
Discussion started by: WildBeard83
2 Replies
2. UNIX for Dummies Questions & Answers
Selected directories on our system generate alerts when they exceed 60% of the disk space so I have used gzip to make the files smaller on one of the directories in question (AdminServer logs). I want to move these to another directory what is the best way to make this happen?
Thanks.. (4 Replies)
Discussion started by: nosuchluck
4 Replies
3. Shell Programming and Scripting
This is a mysql night mare that I cant seem to wrap my head around. Any shell based answers is appreciated as I dont know Perl and all I would do would be blindly copy & paste !
FILE CONTENTS -
1389685 INSERT INTO Opera_ShirtCatlog(col1,col2) VALUES (1,'TEST1'),(2,'TEST2');
1389675 INSERT... (10 Replies)
Discussion started by: ManoharMa
10 Replies
4. Shell Programming and Scripting
Hello ALL, i hope everyone is fine here.
I have found some directories that have 777 permission with below command.
find ./ -type d -perm 0777
e/uploads/
e/uploads/s1
j/uploads/
j/uploads/s1
I want that if there is any php|html|css file found in above directory so move those... (4 Replies)
Discussion started by: learnbash
4 Replies
5. UNIX for Dummies Questions & Answers
Hi
I need to be able to move files from one central locations to different servers on our network. So i want all of our operators to place files to one area on the main storage area. From there i need a script that first checks the file is stable (finished copying)
then copy to another server,... (5 Replies)
Discussion started by: treds
5 Replies
6. Shell Programming and Scripting
Hi I have written the following piece of code to move all files with name *.sh to *.bak
the o/p i am getting is *.sh.bak
Pls help
cat filename | while read line
do
mv $line $line.sh
done
filename file conatins
file.sh
file1.sh
file2.sh
expected o/p is
file.bak (2 Replies)
Discussion started by: ultimatix
2 Replies
7. Shell Programming and Scripting
Using Solaris CDE environment and want to write a shell script (pref. Korn) which can:
Upon invokation opens a dtterm new window (no problems, here, i.e. on how to open one)
The new dtterm should be moved by the script to another workspace (consider no one changed the default Solaris naming... (3 Replies)
Discussion started by: baivab
3 Replies
8. UNIX for Advanced & Expert Users
can any one help
i have a file with this content file name hsnvalue.op
containing
HSN=0,tool=123
HSN=0,tool=123
HSN=0,tool=123
HSN=0,tool=123
HSN=0,tool=123
HSN=0,tool=123
i want to print only one value to another file final.out
:confused: (5 Replies)
Discussion started by: shafique
5 Replies
9. Shell Programming and Scripting
would any one please tell me which keys we used between opened vi files backward and forward
Thanks
Ayah (2 Replies)
Discussion started by: aya_r
2 Replies
10. UNIX for Dummies Questions & Answers
Hello to all
i am using Solaris 8 and my problem is that i want so start an applikation in workspace 2 for example. To start a program i want to use a termal in workspace 1.
Is ist possible to say an application that it should be startet in an other workspace??
Thank's for your help. (1 Reply)
Discussion started by: hans-schranz
1 Replies