What would happen if. . .


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What would happen if. . .
# 1  
Old 05-12-2005
What would happen if. . .

Hi,

Could someone please tell me what would happen if the following were entered into the command line:

rm -i /books/*.*
rm /books/*

Many thanks!
# 2  
Old 05-12-2005
First one does interactive removal of each file
while second one removes files silently.
# 3  
Old 05-12-2005
Computer rm command

Hi ,
When you say rm -i /books/*.* it says no such file or directory as u have to use rm -i /books/* and not *.*
the second command removes the files silently.
Veera
# 4  
Old 05-12-2005
Quote:
Originally Posted by bhargav
First one does interactive removal of each file
while second one removes files silently.
Not each, only those which name contain dot.

And no one of this commands removes ".name" files.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

When downloading a webpage by curl, what happen?

Hello, when im downloading an webpage from command line (CLI) by curl or wget the target website is loaded like i load it from browser? meaning target server connect to database and render data from mysql? Or only static content is downloaded? (2 Replies)
Discussion started by: postcd
2 Replies

2. AIX

How does ITIL processing happen in AIX?

How does ITIL process is implemened in AIX? (6 Replies)
Discussion started by: AIXlearner
6 Replies

3. Programming

what would happen if a process wrote to its own stdin?

what would happen if a process wrote to its own stdin? #include<unistd.h> #include<fcntl.h> int main() { if((write(STDIN_FILENO,"arrgh!",6))==-1) { perror("error writing to file"); } } output: $ gcc temp.c $ ./a.out arrgh!$ (9 Replies)
Discussion started by: c_d
9 Replies

4. UNIX for Dummies Questions & Answers

whats happen when we create new user

hi frndz I wanna knw exatly what happen when we create new user... which directories are created ?? which files are modified ?? thanx.... (2 Replies)
Discussion started by: luckypower
2 Replies

5. Shell Programming and Scripting

how to extract files one by one from a directory and let some processing happen

how to extract files one by one from a directory and let some processing be done on the file I have a directory by name INTRN which has files like INTR.0003080248636814 INTR.0003080248636816 INTR.0003080248636818 . . . . and so on and in a script... (5 Replies)
Discussion started by: saniya
5 Replies

6. UNIX for Advanced & Expert Users

Unix ID deleted - What happen to process

I have an unix id (AIX system) which is used to run a couple of processes. They also write some log files into a file system (that is not in the home directory of the user id, but in different location). One bad day, the id was deleted accidentally. But the home directory, files and everything... (1 Reply)
Discussion started by: cmgreat
1 Replies

7. Programming

What happen in registers Internaly using as in csl() function

Dear i do not understand that function used for clear screen (given below) cls { union REGS i,o; i.h.ah=6; i.h.al=0; i.h.ch=0; i.h.cl=0; i.h.dh=24; i.h.dl=79; i.h.bh=7; int86(16,&i,&o); } In Above function Registers are used(i think) but why and internally what the do for clearing... (3 Replies)
Discussion started by: brain_full
3 Replies

8. UNIX for Dummies Questions & Answers

How Do I Set a Task to Happen in the Future?

Is it possible to set a task to happen in the future? Say I want to log-off only after 10 hours of being logged on with out doing any activity in between? (2 Replies)
Discussion started by: Slick
2 Replies

9. Programming

Any one can tell me how this happen?

The #1 Online Store for Louis Vuitton Replicas is: http://www.opichina.com.cn. We offer Louis Vuitton Replicas and more! Whatever you call it: LV Bags, LV Replicas, Louis Vuitton Fake, Louis Vuitton Knockoffs, Louis Vuitton Bag, Louis Vuitton Purse, Louis Vuitton Wallet, Louis Vuitton Shoes,... (10 Replies)
Discussion started by: jiangyanna
10 Replies

10. UNIX for Dummies Questions & Answers

what happen when changing Hostname?

I 'm using RH 7.2 Genome in the Network Configuration I change therer are two places one for static hostname for my machine and in DNS hostname I don't know what happen when restarting my PC when connecting using dialer I can't browse the Internet also I can't use sendmail .......Server timeout... (2 Replies)
Discussion started by: atiato
2 Replies
Login or Register to Ask a Question