<?php /* Plugin Name: Yet Another Search Meddle Plugin URI: Version: 0.1 Author: Jeffrin Jose T and Public Domain Author URI: http://linkedin.com/in/jeffrinl Description: modifying the way search results are displayed */ function resultsperpage($limits) { /* resultsperpage – it is a custom created php function. */ if (is_search()) { /* is_search() – it is an inbuilt …
Monthly Archives: November 2013
Crash: glibc: compile from upstream source related
Log Report Related the following content may not be accurate. 1. unable to find getty program upstream source. 2. need to get libc-2.14 for getty. 3. trying to upgrade another system to get libc-2.14 4. is it possible to get multiple versions of glibc installed on a same system. compile another version of glibc and …
Continue reading “Crash: glibc: compile from upstream source related”
Maths : What is a Function : y=f(x)
commandline session and notes related may be engineering functions related. suppose y=f(x). y = output. suppose i equate y to ls ls is a GNU command. ls contains different methods(ingredients) which form ls command. suppose i write ls = f (-a,-i,-l,…) different cases : 1. y = -a 2. y = -al 3. y = …
common network utilities/tools
commandline session $ping www.beautifulwork.org PING beautifulwork.org (46.22.210.18) 56(84) bytes of data. 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=1 ttl=53 time=310 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=2 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=3 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=4 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=5 ttl=53 time=211 …
nmap . -O: Enable OS detection
commandline session $nmap 127.0.0.1 Starting Nmap 6.00 ( http://nmap.org ) at 2013-11-24 17:56 IST Nmap scan report for localhost (127.0.0.1) Host is up (0.00019s latency). Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds $nmap …
What does the command “netstat ” do ?
ABOUT netstat In computing, netstat (network statistics) is a command-line network utility tool that displays network connections for the Transmission Control Protocol (both incoming and outgoing), routing tables, and a number of network interface (network interface controller or software-defined network interface) and network protocol statistics. It is available on Unix-like operating systems including macOS, Linux, …
GNU/Linux BASH builtin commands
commandline session $pwd /home/jeffrin/playground $which pwd /bin/pwd $ $/bin/pwd /home/jeffrin/playground $/bin/pwd -P /home/jeffrin/playground $pwd -P /home/jeffrin/playground $help pwd pwd: pwd [-LP] Print the name of the current working directory. Options: -L print the value of $PWD if it names the current working directory -P print the physical directory, without any symbolic links By default, `pwd’ …
uptime w whoami id hostname apropos whatis
commandline session $uptime 20:57:47 up 1:41, 3 users, load average: 0.64, 0.71, 0.70 $ $w 20:57:49 up 1:41, 3 users, load average: 0.64, 0.71, 0.70 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT jeffrin tty7 :0 19:16 1:41m 3:50 0.04s gdm-session-worker [pam/gdm3-autologin] jeffrin pts/0 :0 20:52 1:25 0.08s 0.08s bash jeffrin pts/1 :0 20:57 5.00s …
Continue reading “uptime w whoami id hostname apropos whatis”
apt-get (8) – APT package handling utility – – command-line interface
commandline session NO WARRANTY $sudo apt-get remove cowsay [sudo] password for jeffrin: Reading package lists… Done Building dependency tree Reading state information… Done The following packages were automatically installed and are no longer required: cpp-4.7 libdrm-nouveau1a libmpc2 linux-headers-3.11-1-common linux-kbuild-3.11 Use ‘apt-get autoremove’ to remove them. The following packages will be REMOVED: cowsay 0 upgraded, 0 …
Continue reading “apt-get (8) – APT package handling utility – – command-line interface”
Standard Input,Output and Error Related
commandline session NO WARRANTY $echo content > file $cat file content $echo content 1> file $cat file content $echo content 2> file content $cat file $ $echo content 0> file content $cat file $echo content 3> file content $cat file $ls /root/ ls: cannot open directory /root/: Permission denied $ls /root/ 2> file $cat file …