Tag: GNU

  • provide hint in man page for what to substitute for uniq


  • Relating inside code which creates a text layer in GIMP

    /* GIMP – The GNU Image Manipulation Program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * GimpTextLayer * Copyright (C) 2002-2004 Sven Neumann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the […]

  • Unevictable: 4 kB 0.1

    Unevictable: 4 kB The Unevictable LRU infrastructure addresses the following classes of unevictable pages: + page owned by ram disks or ramfs + page mapped into SHM_LOCKed shared memory regions + page mapped into VM_LOCKED [mlock()ed] vmas Least Recently Used (LRU): discards the least recently used items first. This algorithm requires keeping track of what […]

  • comm – compare two sorted files line by line

    $comm sorta.txt sortb.txt d g comm: file 1 is not in sorted order e s x comm: file 2 is not in sorted order g s n $cat sorta.txt d g e s $cat sortb.txt x g s n $ $cat sorta.txt a b c d $cat sortb.txt a f g h $comm sorta.txt sortb.txt […]

  • nl – number lines of files

    $cat workethics.txt Work ethics in QA Fashion $nl workethics.txt > newfile $cat new new newfile $cat newfile 1 Work 2 ethics 3 in 4 QA 5 Fashion $ nl – number lines of files Write each FILE to standard output, with line numbers added. With no FILE, or when FILE is -, read standard input. […]

  • shuf – generate random permutations.

    $cat workethics.txt Work ethics in QA Fashion $shuf workethics.txt Work Fashion in QA ethics $shuf workethics.txt ethics QA in Fashion Work $ shuf – generate random permutations. Write a random permutation of the input lines to standard output. Reference/Source : Debian Manual for “shuf”.

  • cut –help

    $cat workethics.txt Work ethics in QA Fashion $cut -c1-5 workethics.txt Work $cut -c1 workethics.txt W $cut -f1 workethics.txt Work ethics in QA Fashion $cut -b1 workethics.txt W $cut -b2 workethics.txt o $cut -b0 workethics.txt cut: fields and positions are numbered from 1 Try `cut –help’ for more information. cut – remove sections from each line […]

  • dd – convert and copy a file

    $dd conv=ucase god is love GOD IS LOVE 0+2 records in 0+1 records out 12 bytes (12 B) copied, 48.6009 s, 0.0 kB/s $ conv=CONVS convert the file as per the comma separated symbol list ucase — change lower case to upper case Reference : Debian Manual for dd.

  • Jump if Equal :)

    je instruction (gdb) disass Dump of assembler code for function fputs_unlocked: 0xb7788c30 : push %ebp 0xb7788c31 : mov %esp,%ebp 0xb7788c33 : sub $0x1c,%esp 0xb7788c36 : mov %ebx,-0xc(%ebp) 0xb7788c39 : call 0xb773daaf 0xb7788c3e : add $0xe13b6,%ebx 0xb7788c44 : mov %edi,-0x4(%ebp) => 0xb7788c47 : mov 0x8(%ebp),%edi 0xb7788c4a : mov %esi,-0x8(%ebp) 0xb7788c4d : mov 0xc(%ebp),%esi 0xb7788c50 : mov […]

  • stty

    ahiliation@debian:~$stty speed 38400 baud; line = 0; eol = M-^?; eol2 = M-^?; swtch = M-^?; ixany iutf8 ahiliation@debian:~$ stty – change and print terminal line settings http://tldp.org/HOWTO/Modem-HOWTO-7.html Clinton, Bill: I Have Sinned [audio:http://www.freeinfosociety.com/media/sounds/3815.mp3%5D