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:
2068
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:
Program to convert and print this distance in meters, feet, inches and centimeters
Program to perform all ADDITION on two operands : (decimal, binary, octal,hexadecimal)
Tar is used to archive file - tar
How would u get online help of cat command?
Explain the difference between echo “$SHELL” and echo ‘$SHELL’
Write a script to find the value of one number raised to the power of another
Give example of cut command?
Write a shell script to find the sum, the average and the product of the four integers entered
Calculate 3+4+5+6
Remove a directory - rmdir
How to compare two files?
Create a file with 10 lines. Display lines from 5 to 8
Write a shell script to find the sum, the average and the product of the four integers entered
Display information about computer system - uname
Write a script to count and report the number of entries in each subdirectory mentioned in the path, which is supplied as a command-line argument
Program to calculate the factorial of a number
Write a shell script, which displays a list of all files in the current directory to which you have read, write and execute permissions
Program to calculate the area and perimeter of the rectangle
Suppose four filenames are supplied then the first file should get copied into second file, the third file should get copied into four
Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.
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