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:
2564
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:
Shell script that takes filename or the filename with its full path as an input during execution and display ls -l command result for inputted file
Write a shell scripts that finds total no. of users and finds out how many of them are currently loggedin
System activity reporter - sar
Write a shell scripts which works similar to the Unix commands Head Tail
Script to print all prime numbers from 1 to 300
Input mode command in unix
Display information about computer system - uname
Write a shell scripts that finds total no. of users and finds out how many of them are currently logged in.
Write a shell script to ask your name, program name and enrolement number and print it on the screen
Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.
Write a script to enhance the calander to accept any month as mm or mmm or only year as yyyy or both month and year
Shell script to display all users names, or users names of a particular group, or name of users who are currently working in the system
Shell script to perform operations like compare string, concatenate, find length, occurrence of word in a string and reverse a string
How would you display the calendar of 2007?
Change User - su
Explain the difference between echo “$SHELL” and echo ‘$SHELL’
Process in unix
Display content of a file - more
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
Write a shell script to find the largest among the 3 given numbers
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