Thursday, July 30, 2009

Are there any recovery tools for the FreeBSD UNIX Operating System?

I am using a freebsd Unix operating system. Someone deleted a bunch of files from the hard drive and I am trying to recover the files. I know when you delete a file from unix, only the pointer or inode is deleted and not the actual file. Are there any tools that recover these deleted files? How do I install them? Thanks.

Are there any recovery tools for the FreeBSD UNIX Operating System?
First I would recommend that you try and restore from your backup of the system. If you do not have one, perhaps now would be a good time to start as you go forward with this system.





If you do not have a backup and still need the files restored there are some forensic tools that you can use. I recommend the sleuth kit, see the link below, installation instructions are available n the site. Optionally you can use the native tools built into the OS, but this requires an advanced degree of competency in a UNIX environment, and even then its not for the faint of heart.





Restoring a file that has been deleted from disk is not something for the faint of heart, although it is not rocket science either.





One possible bonus is that if the files are ASCII (plain text) they are stored in that format on the disk, and can be read raw off the disk using UNIX native tools like grep and sed, in combination with dd. If it is not text you will need to understand the file format it is in.





Another thing to keep in mind is any use of that file-system or disk space that the data was stored on risks overwriting the location where it is still stored.





Also, if the files are larger than the block size of the filesystem the will likely be fragmented and spread across the filesystem, so re-assembly may be needed.





Good luck, there is a reason why people who do this professionally charge large sums of money.
Reply:HAHA, Unix people don't have the need for recovery tools, but seriously there aren't any programs that do that.
Reply:I'm not sure about UNIX file ssytems.


But when you delete a file in Linux it's long gone.





Trey googleing for UNIX recover/undelete tools





Also, you might have some luck with the grep command..check for it.


How to work sql on unix box?

I need some script on unix to write sql query.In real environment how it works..plz send some shell scripts

How to work sql on unix box?
Not sure if this is any help


http://developer.apple.com/cgi-bin/searc...


DNS server selective definition on Unix/Linux clients?

Does anybody know how to set DNS server selection priority in UNIX/Linux (if this available) on client?





This is no way to use DNS servers in order of /etc/resolv.conf. Necessary to use by performance (for example by request timeout of transaction)

DNS server selective definition on Unix/Linux clients?
[..insert sound of chirping crickets here..]
Reply:[..Sounds of croaking toads..]

garden furniture

In which industries are using UNIX operating system?

Hi experts!


Please tell me, who are using UNIX operating system in the real world applications.

In which industries are using UNIX operating system?
UNIX is on servers, man. Remember Jurassic park? They used UNIX. UNIX is mainly used when you want computing time to go toward something more important than a user interface, like accessing data, like on servers.
Reply:For example most ADSL modems and such have a form of linux on a chip inside them .





Try to telnet to the gateway IP of your modem/router from a DOS box and yo will probably find that it responds to linux commands
Reply:In real time most of the servers using unix as its operating system.
Reply:UNIX is pretty much just like any other OS out there as far as industry goes. Many of the companies you see using terminals (typically the really cool green screen type) use some kind of UNIX backend. Sun Microsystem's Solairs OS is probably the most popular commerical UNIX variant out there (and tons of large companies user solaris, ebay, amazon...)





The more popular (perhaps arguably) UNIX clone LINUX is used in just about every industry imginable


Unix permission question?

I am still having a little trouble with file permissions in *unix. Can someone explain how this question works. I understand the owner, group and other portion of file permissions. I also understand the Octal system 0-7.





What are the octal representations of two files with the permissions set to: rwxr-x-r-- and rw-r-xr-x ? What are the resulting permissions for the octal values 756 and 623?

Unix permission question?
Ok, it goes like this: r=4, w=2, x=1





In binary system, 4=100, 2=010, 1=001 - hence the corresponding positions of r,w and x characters.





rwxr-x-r-- is 111 101 100 = 754 = 4+2+1, 4+1, 4


rw-r-xr-x is 110 101 101 = 655 = 4+2, 4+1, 4+1





756 is rwxr-xr--


623 is r-x-x--wx





In practice, you'll very rarely have to deal with exotic modes like 623 or 756.





Most of the time it's things like 777, 660, 755, 644 that will become automatic after you spend some time working with them.


Unix interview questions...Can anyone help me with this?

The BASIC and very common unix interview questions....

Unix interview questions...Can anyone help me with this?
I dont think there are set questions.





When I did it I would tell them to go to a commands directory that is on the path, list the files there, and tell me what they do. We didnt really expect an impressive showing but we watched to see how much they stumbled around doing it.





No matter what operating system (unix, linux, mac, windows) if a person can do that and answer a tenth of the files there then they are admin material.





They might ask you to tell them which files in the command directory can be edited (use of the "file" command)





They might ask you to tell them the IP and router settings of the system





They might ask you to tell them which program is running that is handling mail, and where is it located.





They arent the type of tests that you have to know the answer to. They are tests of whther or not you know how to quickly find the answer. Dont just shrug and say "I dont know".


Unix shells question ?

Dear all,





could you pls help me :


how can i find out which shells are available in my unix system??

Unix shells question ?
$ cat /etc/shells
Reply:You can find out what shell is running by typing


echo $0 at the prompt





The other shells are usually located in /bin or /usr/bin and can be:


csh - the C shell


bsh - the Bourne Again Shell


ksh - the Korn Shell


sh - The Bourne Shell
Reply:If you are on a RedHat based linux system you can use the rpm command to broswe installed software packages.





The syntax would be something like: rpm -qa *sh





Hope this helps!

flowers delivery