01 Write the Linux command for the following: (a) to check current working directory (b) To create a new directory (c) To delete a directory (d) To delete a file (e) To list contents of a folder/directory
Answers
Answered by
1
Answer:
How do I delete a file under a Linux / UNIX / *BSD / AIX / HP-UX operating system using command line options?
To remove or delete a file or directory in Linux, FreeBSD, Solaris, macOS, or Unix-like operating systems, use the rm command or unlink command. This page explains how to delete a given file on a Linux or Unix like system using the command line option.

Tutorial detailsDifficulty levelEasyRoot privilegesNoRequirementsrm and unlink command on Linux or UnixEst. reading time4 minutes
Similar questions
English,
1 day ago
Math,
1 day ago
Social Sciences,
3 days ago
Math,
3 days ago
Environmental Sciences,
8 months ago
Business Studies,
8 months ago