GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Operating System
Go To First  |  Previous Question  |  Next Question 
 Operating System  |  Question 21 of 118    Print  
How can I remove the files which is specified with its extention name in single attempt in unix ?
(ex: feb*.txt )

  
Total Answers and Comments: 1 Last Update: November 13, 2006     Asked by: Rehaman SA 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 13, 2006 05:22:14   #1  
Nisheeth Rai        

RE: How can I remove the files which is specified with...

Take an example.

To delete all files named like rep*.dat

find / -name rep*.dat | xargs rm -f

If you think there may be a directory of same name pattern

find / -name rep*.dat | xargs rm -rf


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : you have to install separate database for unix o.s. Then only u can use select statement.I hope this is correct ...
Read Answers (1) | Asked by : raju

Can any of you pls. answer these queries.1. Whaere is the password entry of a user sgtored.2. How will u find out your terminal file name.3. What is the maximum length of a filename in Unix.4. Which ls options makes directory and executables seperatly.5. What does three links to a directory indicate6. What is the block size in Unix.
Read Answers (1) | Asked by : udaybond

How can I remove the files which is specified with its extention name in single attempt in unix ?(ex: feb*.txt )
Read Answers (1) | Asked by : Rehaman SA

Latest Answer : I think using pipe method can get the read only files orusing file attributes ...
Read Answers (1) | Asked by : simran

Latest Answer : Hi friends,If you are specific to Linux, then yes (in pure linux/unix or when  samba is the domain controller and you map your home drive to your window machine)The convenctional method of using chmod 700 will help.  This makes all your ...
Read Answers (1) | Asked by : Sharif

In Unix what is UMASK Value? Is it octal form or decimal form? And when we give permissions in chmod, as 644, is this 644 in octal or decimal. Does any conversion happen inside the kernel to do this? I am confused about this ....
Read Answers (1) | Asked by : Somashekar

Latest Answer : Any number of processes can be handled by single OS because various flavours in OS. And various requirements by the system. For example IBM systems OS( solaris OS2) can handle more than 500 processors at a time coz of its requirement, it also dependend ...
Read Answers (3) | Asked by : jeni

Latest Answer : UNIX : An Operating System developed in olden days in which kernel interacts directly with the hardware. kernal is consider to be heart of this OS. In this Operating system everything is considered as a file, provides greater security. Ex: posix ...

Latest Answer : You can use even compress command as :compress ...
Read Answers (2) | Asked by : ayypss

Latest Answer : Unix groups provide a way to group together user accounts by function, role, department, etc.A user belongs to a primary group, which is typically contained in the /etc/passwd file.  A user may also belong to any number of secondary groups.  ...
Read Answers (1) | Asked by : mj


 Sponsored Links

 
Related Articles

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving a Single Row of Information Using OracleDataAdapter

ODP NET Retrieving a Single Row of Information Using OracleDataAdapter In the previous example we worked with a set of rows in the DataTable object Now we shall work with a particular row using the DataTable object The following code accepts an employee number from the user and gives you the details
 

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
 

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
 

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
 

Unix Client Server Technology

Unix Client Server Technology Understanding the Role of Unix When discussing client server technology it is important to understand UNIX one of the first primary building blocks for network possibilities that continues its influence today UNIX is an operating system designed for multi tasking by mul
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape