Tag Archives: ubuntu

15 Useful Linux and Unix Tape Managements Commands For Sysadmins

15 Useful Linux and Unix Tape Managements Commands For Sysadmins
Tape devices should be used on a regular basis only for archiving files or for transferring data from one server to another. Usually, tape devices are all hooked up to Unix boxes, and controlled with mt or mtx. In this tutorial you will learn about:

  • Tape device names
  • Basic commands to manage tape drive
  • Basic backup and restore commands


Halal Vitamins

Powered by WPeMatico

How to Change a USER and GROUP ID on Linux For All Owned Files

How to Change a USER and GROUP ID on Linux For All Owned Files

I would like to know how to change a UID (USER ID)/GID (GROUP ID) and all belonging files on Linux operating system. Say, I want to change UID from 1005 to 2005 and GID from 1005 to 2005 on Linux. How do I make such change for belonging files and directories?
Halal Vitamins

Powered by WPeMatico

How To Find Hard Disk SATA Link Speed On FreeBSD

How To Find Hard Disk SATA Link Speed On FreeBSD

I know how to find out my SATA link speed such as 3.0 or 6.0 Gbps on Linux operating system. How do I find out my SATA link speed on FreeBSD Unix operating system? How do I make sure my sata hard disk is working at 6Gbps speed and how do I verify this on a FreeBSD server hardware?
Halal Vitamins

Powered by WPeMatico

How To Find Out HP Network Printer Serial Number Remotely Using Bash Shell On Linux or Unix

How To Find Out HP Network Printer Serial Number Remotely Using Bash Shell On Linux or Unix

I manage a small network including couple of HP printers. Is there an easy way to access HP printer serial number in the terminal on Linux or Unix-like system? How do I find the model, product, and serial number on my HP printer using bash command line options?
Halal Vitamins

Powered by WPeMatico

Book Review: FreeBSD Mastery – Storage Essentials

Book Review: FreeBSD Mastery – Storage Essentials
FreeBSD Mastery: Storage EssentialsI have been a big fan of author, Michael W Lucus for years now. I love his Absolute OpenBSD book and have yet to read one better on OpenBSD. I am also a fan of his book Absolute FreeBSD so was looking forward to reading this. I had high expectations but at the same time really didn’t know what to expect other than I knew I would be able to understand it. I love him as a writer because he truly recognizes the beauty of BSD. His passion for it shows in his writing. I feel like I am the only one with these feelings and then I read one of his books and know I am not alone with this passion for an operating system. His style of writing is always pleasant and I always learn.
For me, I use FreeBSD for a number of reasons. Its stability is a big benefit to those of us who use it for work or at home. It also lets me set it up the way I want it. With FreeBSD if something crashes I have the possibility to understand why it is crashing and how I am going to handle it. If I am lost on how to handle it, this book is a great reference in dealing with disk solutions.
Halal Vitamins

Powered by WPeMatico

How To Wakeup Backup Nas Server and Mirror Files Using Rsync in Linux

How To Wakeup Backup Nas Server and Mirror Files Using Rsync in Linux

I‘ve a critical data stored on my small home server. I backup my Desktop, Laptop and a remote VPS server to my home nas server powered by Debian Linux using rsnapshot backup utility. In the event that my main nas server has a hardware (hard disk failure) problem, having mirrored files provides some sort of peace of mind. How do I mirror /backups/personal (total 100GB and growing everyday) to a secondary nas Linux server located in my network?
Halal Vitamins

Powered by WPeMatico

How to Set Locales (i18n) On a Linux or Unix

How to Set Locales (i18n) On a Linux or Unix

What is a “locale” on a Linux operating system? How do I set or get locals (i18n) values on a Linux operating system?
Halal Vitamins

Powered by WPeMatico

How To SSH Run Multiple Command On Remote Machine And Exit Safely

How To SSH Run Multiple Command On Remote Machine And Exit Safely

I have a backup sync program on local server. I have an ssh password less login set up, and I can run commands on an external server in bash script doing:
ssh root@server2 "sync; sync; /sbin/shutdown -h now"
How do I run multiple commands in bash on a remote Unix or Linux server? What is the best Way to SSH in and Run various unix commands in bash?
Halal Vitamins

Powered by WPeMatico