Are you studying for the CEH certification?

Skillset can help you prepare! Sign up for your free Skillset account and take the first steps towards your certification.

Upgrade Account

James has successfully penetrated into a Linux system and was able to gather the system information and intended to save in a file called 'sysinfo.txt'. However, he accidentally save the file as '-sysinfo.txt' (hyphen sysinfo.txt). To cover his track, he tried to delete the file after successfully downloading it but he wasn't able to do so.

How would you help him to delete the file name starting with a hyphen?

4. del -sysinfo.txt

1. rm '-sysinfo.txt'

3. rm -- -sysinfo.txt

2. rm \-sysinfo.txt

Explanation

Working with Linux

Video Training

Train with Skillset and pass your certification exam. Faster. Guaranteed.

Directory

Skillset helps you pass your certification exam.

Contributions and Interactions
Practice Questions

Study thousands of practice questions that organized by skills and ranked by difficulty.

Contributions and Interactions
Personalized Training

Create a tailored training plan based on the knowledge you already possess.

Training Video Selector
Exam Readiness

Know when you’re ready for the high-stakes exam. Have the confidence that you will pass on your first attempt.

Get A Free Skillset Account