Skip to content

TIKATEK

SQL Tech Stuff

  • View All Posts

Formatting a filesystem Commands

Formatting a file system involves creating a file system on a storage device, such as a hard drive, partition, or disk. This process prepares the device for storing files and directories by creating the necessary structures and metadata. Here are some commonly used commands for formatting file systems in Linux:

`mkfs /dev/hda1`(is used to create a file system on the device or partition)

by admin

The command “mkfs /dev/hda1” is used to create a file system on the device or partition “/dev/hda1” in Linux systems. Here’s what the command does: When you run this command,
Read more →

Recent Posts

  • How to import and export data base from Mysql
  • SQL Server Operators
  • SQL Server Window Functions
  • SQL Server Date Functions
  • SQL Server Mathematical functions
  • SQL Server Aggregate Functions
  • SQL Server String Functions
  • SQL Server System Functions
  • `init 0`(is used to initiate a system shutdown in Linux.)
  • `uname -r`(” is used to display the kernel release information in Linux.)
  • `apt-get install package_name`
  • `cat file1 | command (sed, grep, awk, grep, etc …)> result.txt`
  • cat file1 file2 .. | command > file1_out.txt
  • `badblocks -v /dev/hda1`(is used to scan for bad blocks on the device or partition “/dev/hda1” in Linux systems.)
  • `mkfs /dev/hda1`(is used to create a file system on the device or partition)
  • `mkswap /dev/hda3`
  • `dump -0aj -f /tmp/home0.bak home` (is used to create a backup of the “home” directory using the “dump” utility.)
  • `cdrecord -v gracetime = 2 dev = /dev/cdrom -eject blank = fast -force`
  • `ifconfig eth0`(command is used to display the configuration information of the network interface named eth0)
  • `iptables -t filter -L`(is used to list the current firewall rules in the “filter” table of the “iptables” utility.)
© 2025 TIKATEK • Built with GeneratePress