Breaking News
Home / Sys Admin / Unix

Unix

How to find out the type filesystem in Linux?

In order to find out the type of file system (ntfs, ext4,ext3 etc.) for a all the mounted partitions in Linux we can use the df command with the flag T as follows: livrona@livrona:~$  df -TFilesystem     Type     1K-blocks    Used Available Use% Mounted on/dev/sda1      ext4      27192740 4299044  21530548  17% /udev           devtmpfs   …

Read More »

How to list all the mount points in Linux?

Listing all the mount points for partitions in Linux is very straightforward using the mount command via the terminal. You must be root or sudo to root in order to run this command. root@livrona:~# mount/dev/sda1 on / type ext4 (rw,errors=remount-ro)proc on /proc type proc (rw,noexec,nosuid,nodev)sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)none …

Read More »

How to list disks information in Linux?

In order to check the disk in the system we can use the List Hardware (lshw) command. So run this command via the terminal, you must be logged as root or sudo to root before you run this command. root@livrona:~# lshw -class diskPCI (sysfs)    *-cdrom                        description: DVD-RAM writer       …

Read More »

How to check if a port is open using Terminal in Unix?

There a couple of ways to find out. 1) Using telnet to find if port is open on a remote/localhost using the command as: telnet hostname portnumber If a port is open then there would be some output on the terminal other wise it would say connection refused or something …

Read More »
Advertisment ad adsense adlogger