10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am looking to write a script that will read the php.ini files on my web host. If the two lines do exist do nothing. If not append two lines to the end of it then move on to the next directory and open the next php.ini file.
I have the beginning of one that was given to me on another web site but... (6 Replies)
Discussion started by: Larrykh465
6 Replies
2. Shell Programming and Scripting
I only want to find files under each branch of the directory tree inside directories named XYZ and there are multiple XYZ directories? (7 Replies)
Discussion started by: emc^24sho
7 Replies
3. Shell Programming and Scripting
Hello,
I`m a complete newbie to coding, please help with this problem.
I have multiple files in a directory, I have to loop through the contents of each file and extract number of unique isoforms in that file. Each file is tab delimited and only the line with the first parent (column 3)... (1 Reply)
Discussion started by: ritakadm
1 Replies
4. AIX
I am trying to restore a specific directory and all sub-directories therein using a rootvg tape. I am using the following command to make the backup:
mksysb -m -i -v /dev/rmt0
However, I am getting the following result:
tctl status
rmt0 Available 04-08-00-0,0 LVD SCSI 4mm Tape Drive... (10 Replies)
Discussion started by: herot
10 Replies
5. UNIX for Dummies Questions & Answers
hi,
i use command at below to copy the file and put it in the new file (if no such file, it will create right )
cat id_rsa.pub >>~/.ssh/authorized_keys
it give me error
bash: /home/pc2/.ssh/authorized_keys : No such file or directory
can anyone tell me why this happened ? thanks in... (1 Reply)
Discussion started by: Ericyue
1 Replies
6. Shell Programming and Scripting
Hi, I'm trying to write a script that search file in folder.
I got problems with selecting specific file from the list of the files.
when I runing the script I get a list of files instead of one specific file.
I'm new with linux :)
#!/bin/bash
FILE=false
ISFOUND=false
while getopts... (6 Replies)
Discussion started by: SimonBASH
6 Replies
7. Shell Programming and Scripting
Hi All,
I need to tar the entire directory except one directory inside that.
I have used the below command
tar -cvfX test.tar bin/perl bin/
I need to tar all the directories inside the bindirectory except the perl directory
Please help me in solving this :b:
Regards,
Kalai (4 Replies)
Discussion started by: kalpeer
4 Replies
8. UNIX for Dummies Questions & Answers
my first question is how to zip the entire directory contents.
second question is can we unzip the same file through windows environment.
please help i need to complete it by EOD (3 Replies)
Discussion started by: bbc17484
3 Replies
9. UNIX for Dummies Questions & Answers
I'm trying to find this string 'preparing string IBE_Quote_W1_Pvt.SaveWrapper for quote_header_id’ in my Apache log file directory. The log file that contains this string may be in a parent direcotry or a sub-directory. I have tried 'grep' and 'awk' with no success.
I would like to get the path... (3 Replies)
Discussion started by: gross
3 Replies
10. UNIX for Dummies Questions & Answers
I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem.
so i need to use find command (6 Replies)
Discussion started by: amirthraj_12
6 Replies