10 More Discussions You Might Find Interesting
Somebody/somebody removed all contents /vat/sadm on Solaris 10 Sparc box.
As of now server is up and running. There is no backup for this server.
If we copy contents from another equivalent server, can it work ?
We don't know if it will be fixed by booting form DVD also.
Any suggestions? (4 Replies)
Discussion started by: solaris_1977
2. Shell Programming and Scripting
I have the following code which was supposed to clean up a directory when the number of files in that directory exeeded 2.The code is given below.
dir_num=`/usr/bin/find /var/.audit -type d | /usr/bin/wc -l`
oldest_file=`/usr/bin/ls -1t | /usr/bin/tail... (19 Replies)
Discussion started by: chacko193
I have accidently, as root, created a directory gabsf under /home. Now I cannot delete this thing, I have tried rm and rmdir, as well as explicit path name, but it is really undeleteable. Here is what ls -l says.
# ls -l /home
drwxr-xr-x 2 dawood dawood 2 Sep 5... (3 Replies)
Discussion started by: gabam
4. Emergency UNIX and Linux Support
One of my directory code where i have stored all my scripts have disappeared . I have no idea on how it got deleted.Could someone pls help me to track-back on what would have happened? I left the office yesterday and today when i just logged in to work with the scripts I could not find the... (13 Replies)
Discussion started by: michaelrozar17
5. UNIX for Advanced & Expert Users
I accidentally deleted a very important directory today with this rm -r. What would be the recommended way to recover my directory? After a lot of googleing I have seen these choices. Could I get some recommendations please?
Photorec- Doesn't recover file name like I would like. ... (10 Replies)
Discussion started by: cokedude
6. Shell Programming and Scripting
What's the best way to delete everything in a directory, but not the directory itself, without using shell wildcards? (9 Replies)
Discussion started by: pdc
7. UNIX for Dummies Questions & Answers
I'm so glad I found this site, I've had so many questions and have been left alone for roughly a year scanning man pages but It's just not quite cutting it for some things.
So, I often like to list directories when browsing around my local machine, a friend's machine, or my web... (6 Replies)
Discussion started by: bbilheimer
8. Shell Programming and Scripting
I have written a script which takes backup of some log files.
let say the backuplocation is ---
-rw-r--r-- 1 webmut2 spgroup 0 Jan 27 02:41 ansrpt23994.log
-rw-r--r-- 1 webmut2 spgroup 0 Jan 27 02:41 ansrpt3601.log
-rw-r--r-- 1... (2 Replies)
Discussion started by: namishtiwari
9. UNIX for Dummies Questions & Answers
I want to list the contents of a directory, but I do not want to use the ls, is there another way?? (3 Replies)
Discussion started by: carl_vieyra
If you delete your lost & found directory, how do you get it back, just do a mkdir? (1 Reply)
Discussion started by: BG_JrAdmin