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:
2441
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:
Write a shell script for renaming each files in the directory such that it will have the current shell PID as an extension
Write a shell program to convert all the contents into the uppercase in a particular file
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
Print user and group IDs and names - id
Shell Script to delete the zero sized file using if and for
Write a shell program to concatinate two strings and find the length of the resultent string
Count no.of lines in file abc?
List all files start with a or A
Write a shell program to find the gcd for the 2 given numbers
Write a shell script to display the digits which are in odd position in a given 5 digit number
Write a shells scripts which will receives a list of filenames,the first of whch would be wordfile
Shell script to perform operations like display, list, make directory and copy, rename, delete, edit file
Count no.of words in file abc?
Write a shell scripts that finds total no. of users and finds out how many of them are currently logged in.
Shell script to perform database operations for student data like view, add and delete records
Shell script for following conditions. Take two files as input and run spell command on it, Collect a list of potential spelling errors, modify file
Print message a shown in description
Shell script to measure size of a file
Display the already mounted file system - mount
Split a large file into small files
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