• Home
  • News
    • Features
    • Latest/Upcoming Tech
    • Product Review
    • Tech Events
  • Technology
    • Computing
      • Hardware
      • Software
    • Mobile
      • Devices
    • Apps
      • Messaging App
  • Innovation
    • Startups
    • Smart Gadgets
    • Augmented Reality
    • Cloud Computing
  • Business
    • Internet Commerce
    • Tech Market
  • Tips & Tricks
  • Miscellaneous
    • Jobs / Career
    • Social Media
TheTechNews
  • Home
  • News
    • Features
    • Latest/Upcoming Tech
    • Product Review
    • Tech Events
  • Technology
    • Computing
      • Hardware
      • Software
    • Mobile
      • Devices
    • Apps
      • Messaging App
  • Innovation
    • Startups
    • Smart Gadgets
    • Augmented Reality
    • Cloud Computing
  • Business
    • Internet Commerce
    • Tech Market
  • Tips & Tricks
  • Miscellaneous
    • Jobs / Career
    • Social Media
Computing

A few Linux Commands that you must refrain from

by Irene Adlaar
-- July 27, 2016
A few Linux Commands that you must refrain from

If you are a Linux user then you’re already aware of how this operating system executes commands instantly without your approval. As a result, users are likely going to lose highly crucial data or information stored in numerous folders and/or files.

Remember to avoid these Linux commands at all costs or prepare to regret later.

Mkfs Commands

Remember that all mkf commands are critical and may bring about severe loss unless you are unaware of its purpose. Adding any command after “mkf.__” will automatically format a file to replace it with an empty Linux file system.

All the following commands will clean your hard drive:

  • mkfs
  • ext3
  • bfs
  • ext2
  • minix
  • msdos
  • reiserfs
  • vfat
  • cramfs

Dd commands

The primary purpose of this command is to copy & convert the partitions of your hard drive. However, this can also turn out to be problematic when a user fails to specify an appropriate destination for her files and/or folders.

  • dd if=/dev/hda of=/dev/hdb
  • dd if=/dev/hda of=/dev/sdb
  • dd if=something of=/dev/hda
  • dd if=something of=/dev/sda
  • dd if=/dev/zero of=/dev/had (for wiping out everything located in the main hard drive).

Fork bomb commands

Fork bomb or denial of service commands has the ability to temporarily stagnate your Linux OS. Execution of such commands causes your Linux OS to halt as its functions start to expand in number and stop functioning.

Restarting or rebooting your server will solve this issue if you have mistakenly executed any of the following commands

:(){ :|: & };:       (){ :|: & };:

Rm –Rf Commands

This command is for deleting folders along with the contents inside them saved in the Linux operating system. These commands could stir lots of troubles unless you are unaware of their uses.

  • rm command is used to delete the files in Linux system.
  • rm -f command removes read-only files in a folder without prompting.
  • rm -r command deletes the content of a folder recursively.
  • rm -d command is used to remove an empty directory but it will refuse to remove the directory if it is not empty.
  • rm -rf/ command is used for forced deletion (it deletes it even if it’s write protected) of all the content in root directory and sub folders.
  • rm -rf* command is used for forced deletion of all the content in the current directory ( the directory you are currently working in) and sub folders.
  • rm -rf. command is used for forced deletion of all the content in the current folder and sub folders. The rm -r.[^.]* command can also be used.
  • rm -i command is used for removal of files and folders but a prompt will appear before removal.

Compressed bomb

Oftentimes you will receive highly compressed files, not larger than only a few kilobytes. But these extremely compressed files may sometimes contain data sized up to Gigabytes. Once extracted, your whole Linux operating system will get flooded and ultimately slow it down, devastatingly. Accept data only from reliable and trustworthy sources.

ringid
Related Itemsbest practicescommandsdangerous commandsFeaturedharmful commandsinput better commandsLinuxLinux commandslinux safetymachine learningoperating systemOSsafest practices in Linux OS
Click to add a comment

Leave a Reply

Cancel reply

Your email address will not be published. Required fields are marked *

Computing
July 27, 2016
Irene Adlaar @https://twitter.com/rafaakabir

I am a seeker of the unknown and believer of truth.

Related Itemsbest practicescommandsdangerous commandsFeaturedharmful commandsinput better commandsLinuxLinux commandslinux safetymachine learningoperating systemOSsafest practices in Linux OS

More in Computing

Recording Tips, Tricks, and Fun Props That Will Make Your Video Tutorials Engaging!

Emily ForbesMarch 3, 2023
Read More
Cargo-Registry

Why You Should Use A Cargo Registry For Better Cargo Repository Management!

Emily ForbesAugust 9, 2022
Read More

The Basics of the Cloud, Technology Magic or Simply Servers?

Emily ForbesJuly 22, 2022
Read More

How is AI Shaping the Deskless Workforce Industry!

Emily ForbesApril 13, 2022
Read More

What to Look For in an Event Management Platform!

Emily ForbesNovember 22, 2021
Read More

How to Find Top IT Companies in the Southwest!

Emily ForbesNovember 12, 2021
Read More

The Advantages Of Using Git Hooks!

Emily ForbesNovember 2, 2021
Read More
force-touch-is-coming-to-microsoft-office-on-iphone

A 2021 Guide to the Best Microsoft Office Alternatives for Windows 10

Emily ForbesSeptember 3, 2021
Read More

5 Open Source Data Science Projects to Boost Programmer Resumes!

Emily ForbesJuly 28, 2021
Read More
Scroll for more
Tap

Top News

  • Virtus Artificial Intelligence & Technology Opportunities Fund Announces Distributions!
    Artificial IntelligenceMarch 6, 2023
  • Recording Tips, Tricks, and Fun Props That Will Make Your Video Tutorials Engaging!
    DesignMarch 3, 2023
  • Bitget Integrates with TradingView For Crypto Derivatives Trading!
    BusinessMarch 2, 2023
  • Businesses Think Extra Features Enhance Online Shopping – Consumers Disagree!
    BusinessFebruary 23, 2023
  • Qiming Venture Partners’ Portfolio Company LanzaTech Lists on Nasdaq!
    NewsFebruary 11, 2023
  • The Advantages of Taking an Online Master’s Degree Program!
    Jobs / CareerFebruary 1, 2023
  • AI INTERVIEW SOFTWARE
    AI job interview chatbot provider Sapia.ai releases talent intelligence product empowering large companies to hire without resumés!
    Artificial IntelligenceJanuary 31, 2023
TheTechNews

A technology media that aims at the latest tech news, events, gadgets, tools, innovations, startups and many more.

    NEWS

  • Features
  • Latest/Upcoming Tech
  • Product Review
  • Tech Events
  • Technology
  • Innovation
  • Business

    Hardware & Software

  • Computing
  • Hardware
  • Software
  • Mobile
  • Devices
  • Messaging App
  • Tips & Tricks

    Others

  • Startups
  • Cloud Computing
  • Social Media
  • Internet Commerce

Copyright © 2016 www.thetechnews.com | Pages: ABOUT US | PRIVACY POLICY | TERMS OF USE | CONTACT US

Read this to ensure faster internet speed
Microsoft sued over vigorous Windows 10 update notifications