Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Unix / Linux / Ubuntu Articles
Submit Article
Home
»
Articles
»
Unix / Linux / Ubuntu
»
Homework Help
RSS Feeds
How delete directory with files?
Posted By:
Adalfredo Fischer
Category:
Unix / Linux / Ubuntu
Views:
2487
How delete directory with files?
Code for How delete directory with files? in Unix / Linux / Ubuntu
$ rm -r friend $ rm -r friend
Share:
Previous Post:
How would u display the hidden files?
Next Post:
Explain two functionality of “mv” command with example?
Didn't find what you were looking for? Find more on
How delete directory with files?
Or get
search suggestion and latest updates
.
Adalfredo Fischer
author of How delete directory with files? is from Frankfurt,
Germany
.
View All Articles
Related Articles and Code:
write a script to delete zero sized files from a given directory (and all its subdirectories)
Shell script to perform operations like display, list, make directory and copy, rename, delete, edit file
Write a shell script that takes a file names as a argument and deletes this file from every directory above the present working directory.
Script to make File and Directory Management Operations menu based : Display Current directory, List Directory, Make Directory, Change Directory etc
Perform directory operations like display current , list, Make, Change directory and file operations like Copy, Rename, Delete, Edit based on menu
Program to delete a specified Directory using Interrupt 21h
Write shell script that takes a file name as an argument and deletes this file from every directory above the pwd
Shell Script to delete the zero sized file using if and for
PROGRAM PERFORMS THE OPERATION INSERT, DELETE, UPDATE, VIEW IN THE INDEX FILE
PROGRAM FOR ADD,UPDATE & DELETE OPERATION BY USING INDEX SEQUENTIAL FILE
Program to insert, update, delete and display in an index file
Program to delete a specified file using Interrupt 21h
Program that performs add, edit, delete, display and search date from file
Program of telephone directory that provides append, find and display all records from a file
Electronic Telephone Directory - File Handling and Graphics
File handling program to display directory contents
List all hidden files in current directory
Listing file and directories command - ls
Removing files and directories - rm
Copy file and directory subtrees - cp
Other Interesting Articles in Unix / Linux / Ubuntu:
Menu driven program which has the options Contents of etc/passwd, List of the users who have logged in, Present working directory
Add a new group to the system - groupadd
Display content of a file - more
Shell script which receives two file names as arguments and checks whether the two file contents are same or not. If same then delete second file
write a script to delete zero sized files from a given directory (and all its subdirectories)
Calculate 3+4+5+6
How would u display the hidden files?
Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.
Removing files and directories - rm
Write a shell script, which reports names and sizes of all files in a directory whose size is exceeding 1000 bytes
Terminate a process - kill
Which command given information of present working directory?
Write a shell program to find the sum of the series sum=1+1/2+...+1/n
Shell script which takes year as an input and displays whether it is leap year or not. If year is not provided then take current year as an input
Write a Script to Broadcast a message to a specified user when the user loged on any terminal
Tar is used to archive file - tar
Copy file and directory subtrees - cp
Display file in column format
Word Navigation in unix
Display your login name
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Unix / Linux / Ubuntu
View All
Advance
Basics
Commands
Homework Help
Interview FAQ
Terms and Terminology
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint