You have scriptfile located in /opt folder. You need to execute it. There are following ways, each line represents different way. /opt/scriptfile source /opt/scriptfile cd /opt; ./scriptfile sh /opt/scriptfile (or bash /opt/scriptfile) cd /opt; sh scriptfile . ./scriptfile … [Read more...] about Executing scrips six different ways…
Well, after 12 years, it was about the time. Better performance, versatility, and faster booting. Using identical hardware, KVM Linodes are much faster compared to Xen. For example, in our UnixBench testing a KVM Linode scored 3x better than a Xen Linode. During a kernel compile, a KVM Linode completed 28% faster compared to a Xen Linode. KVM has much less overhead than … [Read more...] about Linode : Here’s some KVM!
This is very sensitive operation, because file delete may hurt you badly, so indeed great caution need to be taken. Most important part is to precisely define the folder from where you delete the files, and second if possible to set the extension of the files or some repetitive part of the file name. Just enumerate all files that are older than 12 days for … [Read more...] about Remove files older than 12 days from some folder
A quick way of backing up a list of programs is to run this: dpkg --get-selections > ~/Package.list sudo cp -R /etc/apt/sources.list* ~/ sudo apt-key exportall > ~/Repo.keys It will back them up in a format that dpkg can read* for after your reinstall, like this: sudo apt-key add ~/Repo.keys sudo cp -R ~/sources.list* /etc/apt/ sudo apt-get update sudo apt-get … [Read more...] about Back up based on dpkg
TimeShift for Linux is a application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. TimeShift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored later to bring your system to the exact state it was in at the time when the snapshot was … [Read more...] about TimeShift