Sign Up

Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to add post.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Oraask Logo Oraask Logo
Sign InSign Up

Oraask

  • Write
    • Add A New Post
    • Ask A Question

Oraask Navigation

Search
Ask A Question

Mobile menu

Close
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
Home/ Questions/Q 30306
Next
In Process

Oraask Latest Questions

Question
albert
  • 0
  • 0
albertExplorer
Asked: April 28, 20192019-04-28T20:45:15+03:00 2019-04-28T20:45:15+03:00In: Linux

linux command to delete file ?

  • 0
  • 0

How do i remove files from linux using command ?

deletelinux command
1
  • 1 1 Answer
  • 713 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • E37: No write since last change (add ! to override) how to solve
    • What is ./ in Linux
    • How to move a file from one directory to another in Linux
    • What is a Linux kernel
    • What is the correct way to update kali Linux

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. Mohamed Younus
      Mohamed Younus Explorer
      2019-04-29T13:04:44+03:00Added an answer on April 29, 2019 at 1:04 pm

      To remove (or delete) a file or directory in Linux from the command line, use the rm (remove) command

      Examples:-

      1.To delete a single file

      rm filename

      2.To delete multiple files

      rm filename1 filename2 filename3

      rm *.pdf

      Use the -i option to confirm each file before deleting it

      rm -i filename(s)

      Use the -f (force) option

      rm -f filename(s)

      3. To remove non-empty directories and all the files without being prompted use the r (recursive) and -f options

      rm -rf dirname

       

       

       

       

       

        • 1
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Adv 250x250

    Explore

    • Categories
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Dev Tools
      • Online Compiler
      • Base64 Converter
    • Wiki
      • SQL Tutorials
      • Java Tutorials
      • Python Tutorials
      • JavaScript Tutorials

    Footer

    Oraask

    About

    Oraask is a website for developers and software engineers who want to learn new skills, share their knowledge, and solve their coding problems. Oraask provides free content on various programming languages and topics, such as Oracle, Python, Java, etc. Oraask also allows users to ask questions and get answers from other members of the community.

    About Us

    • About Us
    • Contact Us

    Legal Stuff

    • Privacy Policy
    • Terms & Conditions

    Follow

    Oraask is licensed under CC BY-NC-SA 4.0Oraask CopyrightOraask CopyrightOraask CopyrightOraask Copyright

    © 2019 Oraask. All Rights Reserved
    With Love by Oraask.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.