% cat test.txt data1-1 data1-2 data1-3 closing-form data2-1 data2-2 data2-3 data2-4 closing-form data3-1 data3-2 closing-form % cat test.txt | sed -n -e ':x;N;/\nclosing-form$/!bx;s/\n/;/g;p' data1-1;… more →
: ) wonderful world ( :preempalverec wrote 1 hour ago: Problem: we need a Windows batch command file to backup some information into a file and that file m … more →
linuxindetails wrote 1 day ago: Enabling quota for users may be useful to limit the use of space disk. This works on ext3 and ext4 f … more →
cmzmasek wrote 1 day ago: If you are getting a ‘java.lang.NoClassDefFoundError’ you most likely forgot the ‘ … more →
yaytay wrote 2 days ago: There are lots of very expensive tools for finding out what software is installed on a PC, in many c … more →
yaytay wrote 3 days ago: In the old days (Windows 2000, I think) Microsoft used to have a command line tool called regfind (I … more →
ubuntugenius wrote 5 days ago: For those who don’t know this, you can use you UP arrow on your keyboard to cycle through prev … more →
ubuntugenius wrote 5 days ago: If VirtualBox opens fine, but when you try to start a virtual machine (VM) you get the following err … more →
Zero Signal wrote 5 days ago: In this post I’m going to point you to three quick and useful Linux tips from three different … more →
linuxindetails wrote 1 week ago: The most used Perl modules are available as Debian packages. However, Debian does not always provid … more →
ubuntugenius wrote 1 week ago: If you’re unfamiliar with MD5 checksums (or MD5sums for short), they are simply a string of nu … more →
linuxindetails wrote 1 week ago: I have been using this command for a while now and it helped very much.The command rename is availab … more →
grault wrote 2 weeks ago: % cat test.txt data1-1 data1-2 data1-3 closing-form data2-1 data2-2 data2-3 data2-4 closing-form dat … more →
Phil Fenton wrote 2 weeks ago: The following files may provide you with some insight into creating bacth files. Microsoft Technet … more →
Phil Fenton wrote 2 weeks ago: Lab assignment – The following tasks should be completed today. Perform DC promo in reverse In … more →
linuxindetails wrote 2 weeks ago: It can be pretty useful to know the version of your X server installation. There are at least two wa … more →
linuxindetails wrote 2 weeks ago: The first way to search for a file in all a filesystem is to use the command locate With Debian, loc … more →
Rob Ashcroft wrote 2 weeks ago: To find open ports on a computer, you can use netstat command line. To display all open ports, open … more →
sigtermer wrote 2 weeks ago: To shutdown ubuntu, type: sudo shutdown -h 0 This command can be used for other purposes such as reb … more →
TWM wrote 2 weeks ago: 09NOV08 – Pieces of madness from last night’s dream. Our Hero, locked inside a dusty vo … more →