Deleted X11R6 folder - Help!


 
Thread Tools Search this Thread
Operating Systems Solaris Deleted X11R6 folder - Help!
# 1  
Old 03-05-2009
Deleted X11R6 folder - Help!

I am not a Solaris guy by a long stretch, but I have to work with it from time to time. While doing some unrelated testing I accidentally deleted the X11R6 directory and no longer have a GUI for the console. I'm looking for help to get it back. I deleted it through the gui, so I figured I could just restore the trash via commandline, but that doesn't seem to be an option. I would also think I could just re-instal the X11 package, but I haven't had luck narrowing that down either. Any help is appreciated. This is on a Solaris Spark 10 box.
# 2  
Old 03-05-2009
There is no directory named X11R6 under Solaris. There is a symbolic link to /usr/X11 so perhaps is it what you deleted.

In such case, you can simply recreate it with:
Code:
ln -s X11 /usr/X11R6

If you trashed something else, please be more precise about what it was.
# 3  
Old 03-06-2009
Ok. It looks like the contents of the X11 directory were deleted. The only thing in that directory is now the X11 symbolic link, and a folder named "share" that has a subfolder of "man". Any ideas on how to get the contents of the X11 directory back? Thanks for the help.
# 4  
Old 03-06-2009
Sure. Restore it from the last system backup.
# 5  
Old 03-06-2009
As you can probably guess.. This particular machine is not on a backup schedule. It's a test box so it isn't included in the bank of machines that get backed up. Any other options? I wouldn't think it would be that hard to add X11 back to the install, but maybe it is.
# 6  
Old 03-06-2009
Tar up the missing files on another machine and untar them back onto the broken one.
# 7  
Old 03-06-2009
Thank you... That did the trick. We only had one other Solaris machine, but that one worked out fine. Thanks again for the help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Delete oldest folder based on folder named as date

Hi, I have a script doing backup to synology server, the script create new folder each day with the date as being folder name i.e. 2018-07-30. Just before creating the new folder I want the script to find the oldest folder from the list and delete it including its content. for example... (3 Replies)
Discussion started by: humble_learner
3 Replies

2. Shell Programming and Scripting

Request for Shell script to move files from Subfolder to Parent folder and delete sub folder

Hi Team, I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder. Eg: parent folder --> /Interface/data/test/IN Sub folder -->/Interface/data/test/IN/Invoice20180607233338 Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies

3. Shell Programming and Scripting

Shell scripting for moving folder specific files into target directory of that country folder.

I need help to write shell script to copy files from one server to another server. Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies

4. UNIX for Advanced & Expert Users

Recover Deleted Folder using rm command

Hi All, I accidentally deleted a important folder using rm command. Can i recover that folder. I don't have any backup mechanism. Please suggest.... its very urgant..Plz (1 Reply)
Discussion started by: vijay.gandra
1 Replies

5. Red Hat

/etc folder deleted any solution?

Hi, I accidentally deleted etc folder from root, I did a mistake by running "rm -rf /etc" :wall: Is there anyway to repair my Fedora 13 !? (5 Replies)
Discussion started by: almirzaee
5 Replies

6. Shell Programming and Scripting

File Management: How do I move all JPGS in a folder structure to a single folder?

This is the file structure: DESKTOP/Root of Photo Folders/Folder1qweqwasdfsd/*jpg DESKTOP/Root of Photo Folders/Folder2asdasdasd/*jpg DESKTOP/Root of Photo Folders/Folder3asdadfhgasdf/*jpg DESKTOP/Root of Photo Folders/Folder4qwetwdfsdfg/*jpg DESKTOP/Root of Photo... (4 Replies)
Discussion started by: guptaxpn
4 Replies

7. Windows & DOS: Issues & Discussions

How can I upload a zip folder on a unix path from my windows folder?

Hello, I am an amature at UNIX commands and functionality. Please could you all assist me by replying to my below mentioned querry : How can I upload a zip folder on a unix path from my windows folder? Thanks guys Cheers (2 Replies)
Discussion started by: ajit.yadav83
2 Replies

8. UNIX for Advanced & Expert Users

Auto copy for files from folder to folder upon instant writing

Hello all, I'm trying to accomplish that if a file gets written to folder /path/to/a/ it gets automatically copied into /path/to/b/ the moment its get written. I thought of writing a shell script and cron it that every X amount of minutes it copies these files over but this will not help me... (2 Replies)
Discussion started by: Bashar
2 Replies

9. Solaris

restore deleted folder

Hi, Can someone help me out as to how to recover a deleted folder? the user id which deleted the folder is known, the approx time is known. Its urgent, plz help (2 Replies)
Discussion started by: aboxilica
2 Replies

10. Shell Programming and Scripting

Parse the .txt file for folder name and FTP to the corrsponding folder.

Oracle procedure create files on UNIX folder on a regular basis. I need to FTP files onto windows server and place the files, based on their name, in the corresponding folders. File name is as follows: ccyymmddfoldernamefile.txt; Folder Name length could be of any size; however, the prefix and... (3 Replies)
Discussion started by: MeganP
3 Replies
Login or Register to Ask a Question