GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Operating System  >  Unix Commands
Go To First  |  Previous Question  |  Next Question 
 Unix Commands  |  Question 50 of 73    Print  
How do you restore deleted files in unix

  
Total Answers and Comments: 2 Last Update: May 22, 2008     Asked by: Nagaraju.G 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 17, 2007 08:34:17   #1  
Raj        

RE: How do you restore deleted files in unix
After deleting the file forcibly, there is noway you can get this on your own(no roolback as such). But as its been a tradition of taking backup of certain file systems daily and fortunately if your file is part of one of those file systems which have been backed up, you can ask unix people to restore the file (file system).
 
Is this answer useful? Yes | No
May 22, 2008 05:05:40   #2  
poornimay Member Since: May 2008   Contribution: 7    

RE: How do you restore deleted files in unix
using debugfs we can restore the deleted file provided if we know the inode no. of the same file

 
Is this answer useful? Yes | No

 Related Questions

Kernel checks 'type' field in the file's inode structure. 
Latest Answer : device filles are of 2 types --- charcater device file and block device filetype field in the file's inode structureb--- block device filec--- character device file ...

Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt). 
Latest Answer : Bash supports 4 prompts:PS1 - the default promptPS2 - for multi-line inputPS3 - printed for the select commandPS4 - printed before output if set -x is set(see http:// www . gnu . org/software/bash/manual/bashref . html )The first two are common to the ...

ls stands for list; so it displays the list of the files that starts with 'chapter' with suffix '1' to '5', chapter1, chapter2, and so on. 
Latest Answer : ls -x displays the list of contents in linewise instead of column wise ...

Yes, ‘mkfs’ is used to create a new file system. 
Latest Answer : Yes,mkfs -t filesystem  device name.for e.gmkfs -f ext3 /dev/hda2 ...

$ echo *It is similar to 'ls' command and displays all the files in the currentdirectory. 
Latest Answer : Ya u r correct, $echo *  will give u the files in the current directory similar to ls command. ...

Which command is used to delete all files in the current directory and all  its sub-directories?
rm -r * 

cmp - Compares two files byte by byte and displays the first mismatchdiff - tells the changes to be made to make the files identical  
Latest Answer : 'cmp' and 'diff' both command are used to list the differences, the difference between both the command is that 'cmp' is used to find the difference between files whereas 'diff' is used to find the difference between directories.cmp ...

1. Output of who should be displayed on the screen with value of total number of users who have logged in displayed at the bottom of the list.2. Output of ls should be displayed on the screen and from 
Latest Answer : 1. who | tee /dev/pts/4 | cut -d " " -f 1 | uniq | echo "no of users logged in are `wc -l`" who - displays all the loged in users tee - pass the who output to terminal output /dev/pts/4 and also to cut command. where /dev/pts/4 is the ...

df -h 
Latest Answer : use "df -k" or "df -h" ...
Read Answers (5) | Asked by : rajjava

Latest Answer : both are same. daemons are the background processes in unix. similarly background processes in windows are called as service agents or service processes. ...


 Sponsored Links

 
Related Articles

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

Importance of Header Files

What is the importance of header files? The main role of header file is it is used to share information among various files. In brief, if we have several functions say 4 functions named as f1, f2, f3, f4 placed in file say sample.c and if all the functions want to get accessed by each other then all
 

SQL Table Commands

SQL Table Commands Overview As mentioned previously in this series of SQL articles, databases are primarily composed of tables. The “columns and rows” structure of the table allows data to be efficiently inserted, manipulated, updated, and deleted from the database. The three mos
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we’ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Top 10 Application Security Vulnerabilities in Web.config Files - Part One

These days, the biggest threat to an network security comes from its public Web site and the Web-based applications found there. Unlike internal-only network services such as databases-which can be sealed off from the outside via firewalls-a public Web site is generally accessible to anyone who wan
 

Top 10 Application Security Vulnerabilities in Web.config Files - Part Two

Some of the most common and dangerous application security vulnerabilities that exist in ASP.NET Web-based applications come not from the C# or VB.NET code that make up its pages and service methods, but instead from the XML code that makes up its Web.config files. Incorrect configurations can open
 

Operating Systems and IT Certification

With the burst of information technology that is becoming a part of the dominant culture throughout the world, are programs that are designed to help those in this area to grow in knowledge.  By understanding the different technologies that are available, one is able to use them and impleme
 

Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape