The sort command is an handy tool to sort text files in linux. Its very simple and easy to use.
Lets say we want to sort the following file with the file name sorttest:
The sort command is an handy tool to sort text files in linux. Its very simple and easy to use.
Lets say we want to sort the following file with the file name sorttest:
Ubuntu by default does not play encrypted DVDs. This is because most commercial DVDs are encrypted with CSS (Content Scrambling System), which restricts the software that can play a DVD.
To enable you must install the libdvdcss2 package to allow Ubuntu to play DVDs. For that you need to run the following commands:
sudo apt-get install libdvdread4
Followed by:
sudo /usr/share/doc/libdvdread4/install-css.sh
That will install the required libraries and now your encrypted DVDs will be readable.
Please Note: Check with your local laws to make sure that usage of libdvdcss2 would be legal in your area.
Kepas is a KDE4 file transfer tool. It discovers your local LAN for buddies (KDNSSD) and lets you transfer files or Klipper(KDE Clipboard) entries from a tray icon or using drag and drop with the Kepas plasmoid.
Kepas has only one requirement, that it must be installed in all the systems that are expected to be part of the network sharing group.
To install Adobe Air on you Linux box, follow the steps below depending on your distribution:
Open the console and type the following command:
sudo apt-get install adobeair
(if the package is not detected then you will need to activate Ubuntu partner repositories)
Alternatively you can go to http://get.adobe.com/air/ and choose to download the deb package of Adobe Air.
Run the downloaded file to install Adobe Air
Other Distributions
Go to http://get.adobe.com/air/ and choose to download the package of Adobe Air depending on what your distribution supports.
If you are not sure download the bin package.
Once the file is downloaded, give it executable permission and run it:
sudo chmod a+x AdobeAirInstaller.bin
sudo ./AdobeAirInstaller.bin
Adobe Air should now be installed on your system
Linux systems commonly run on ext2/ext3/ext4 file systems. These file-systems have a built-in feature to tell the operating system to do a disk check while booting up if the number of times the disk has been mounted exceeds a certain number. Most commonly the count is set to 30.
This is an inconvenience to anyone who regularly switches off the system, its even worse if the hard disk sizes reach 1Tb. So changing the number to suit your preference might be an excellent idea.
Changing the maximum mount count:
sudo tune2fs -c 50 /dev/sda1
Here:
tune2fs is the command that allows modification on the disk flags
-c enables the max mount count to be changed to the next parameter(50 in this case)
/dev/sda1 is the partition on which to do the operation
Changing the maximum time count:
sudo tune2fs -i 30d /dev/sda1
Here:
tune2fs is the command that allows modification on the disk flags
-i enables the max time count to be changed to the next parameter(30d in this case means the consecutive checks are scheduled 30 days apart). This parameter can be also give in terms of months(2m for 2 months) and weeks(3w for 3 weeks)
/dev/sda1 is the partition on which to do the operation