10 More Discussions You Might Find Interesting
1. Solaris
I am trying to create a live image of solaris 11.1.
I have used #pkg image-update to upgrade from 11 to 11.1 already. (since only 11.1 can make images of 11.1 due to using new grub)
then from within 11.1 I used pkg install install distribution-constructor
to get latest usbcopy that should be... (1 Reply)
Discussion started by: taltamir
1 Replies
2. UNIX for Dummies Questions & Answers
hello,
is there any command that i can use to create a file and also it directory (if not exist)?
example: <command> /home/admin/testdir/test1.txt
desc: this will create test1.txt under testdir directory. but if testdir is not exist it will be created automatically.
thank you... (3 Replies)
Discussion started by: makan
3 Replies
3. Shell Programming and Scripting
Dear All,
I have a shell scripts which create a directory and perform moving some files, when the script is kept where it is creating directory then it runs fine , but when the scripts is run where it is supposed to be which is different location then where i am creating directory , scripts... (2 Replies)
Discussion started by: guddu_12
2 Replies
4. UNIX for Dummies Questions & Answers
Hello Experts
while read dirlist
do
mkdir "$(echo "$dirlist" |\ awk -F\| '{gsub(/(+)/," ",$NF);gsub(/\.atr$/,""); print}')"
done < /user/Oracle/my_catalog/default/root/bkup/dirnames.txt
where dirname.txt consist of file path details as mentioned below
... (4 Replies)
Discussion started by: aks_1902
4 Replies
5. UNIX for Dummies Questions & Answers
Hello Experts
let say we got a line a file named
/user/Oracle/my_catalog/default/root/webcat+backup+testing+07192011.atr
now i have to create a directory with name
webcat backup testing 07192011
by removing + and removing .atr at the given path...can it be possible
Please let me know... (4 Replies)
Discussion started by: aks_1902
4 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Ok i need to create a directory within another directory in one command. I'm already in a directory to. I need to... (6 Replies)
Discussion started by: gangsta
6 Replies
7. Shell Programming and Scripting
Hi Friends,
I am back with small issue which i tried thinking but could not get much!!!!
issue here is..i m using kind of extraction query using perl code in that i do sort with few number of csv files. each of them will be around 50 to 100 M size.
sometime i get following error message... (1 Reply)
Discussion started by: Shahul
1 Replies
8. Shell Programming and Scripting
Hi All,
As I m very new for Unix, I need to check for a directory and move a file. If Directory is not found, The script should create a directory and move the file. Can any one help here. (7 Replies)
Discussion started by: vikramtk
7 Replies
9. Shell Programming and Scripting
I have list of files named file_username_051208_025233.log. Here 051208 is the date and 025233 is the time.I have to run thousands of files daily.I want to put all the files depending on the date of running into a date directory.Suppose if we run files today they should put into 05:Dec:08... (3 Replies)
Discussion started by: ravi030
3 Replies
10. UNIX for Advanced & Expert Users
i have create a Directory with "$@#$%" .
After creating a Directory, put ls command display "#$%" .
Why? (2 Replies)
Discussion started by: lakshmananindia
2 Replies