Linux and UNIX view command-line history

BASH is the default shell for Linux computers. Bash has history command. It display the history list with line numbers i.e. it lists everything you have entered on the command line. You can recall commands from history so that you can save the time.

Task: View your command Line History

Type the following command:

$ history

Output:

911 man 7 signal
912 man ps
913 man 7 signal
914 man killall
915 killall -l
916 man killall
917 su –
918 su – lighttpd
919 su – lighttpd
920 cd /tmp/

So whenever you type a command, that command is saved is a file called .bash_history. Type following commands to get more info:

$ help history

$ man bash (look for Event Designators for more info).

FreeBSD Security Update(s) Issued

A couple patches were released for FreeBSD to address various security vulnerabilities and it is recommended that you update as soon as possible.

Official Links:

https://www.freebsd.org/security/advisories/FreeBSD-SA-15:03.sctp.asc

https://www.freebsd.org/security/advisories/FreeBSD-SA-15:02.kmem.asc

Please look at the affected versions under each security advisory to determine if you are impacted and need to take any action.

vBSEO Possible Exploit

vBulletin has notified that there is a possible exploit in vBSEO. Given that the software is no longer being developed, you will have to manually apply the fix:

vbseo/includes/functions_vbseo_hook.php:

if(isset($_REQUEST[‘ajax’]) && isset($_SERVER[‘HTTP_REFERER’]))
$permalinkurl = $_SERVER[‘HTTP_REFERER’].$permalinkurl;

Should be changed to:

// if(isset($_REQUEST[‘ajax’]) && isset($_SERVER[‘HTTP_REFERER’]))
// $permalinkurl = $_SERVER[‘HTTP_REFERER’].$permalinkurl;

Ongoing Discussion via WHT:

http://www.webhostingtalk.com/showthread.php?t=1444268