Jumping on the Windows 10 bandwagon too early.

A lot of users are jumping on the Windows 10 upgrade bandwagon too early. This operation system has been in development for a while, but upgrading straight after release is not the best option. Best to wait until after everyone else has been installing the operating system and has reported their problems to Microsoft to […]

Useful Linux weblinks. Very interesting information.

https://www.cs.cmu.edu/~gilpin/tutorial/. Debugging Under Unix: gdb Tutorial. http://docs.kali.org/general-use/starting-metasploit-framework-in-kali. Setting up the Metasploit framework in Kali Linux. http://www.backtrack-linux.org/forums/showthread.php?t=8154. Using the netdiscover command on Linux to scan for hosts on a network. https://insights.ubuntu.com/2014/10/10/watch-netflix-in-ubuntu-today/. Watch Netflix on Ubuntu with the Google Chrome browser and ditch Windows on your media center machine. http://www.linuxquestions.org/questions/programming-9/how-can-i-list-directories-only-in-linux-375219/. How to list only directories when using […]

How to search for files on a Windows machine with the command line. And some other useful tricks.

This command will search a directory recursively to find files matching a pattern. C:\Users\Homer>where /R C:\Users\homer\Documents *.txt C:\Users\Homer\Documents\age-of-ultron-script-outline.txt C:\Users\Homer\Documents\windows10key.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\Torrent downloaded from AhaShare.com.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\Torrent Downloaded From ExtraTorrent.cc.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\tracked_by_h33t_com.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition […]

How to get information out of the system logfiles on Linux. Showing failed logins.

There are a few ways to get information out of the /var/log files using the Linux command line. Here are a few examples. Show the history of apt commands on your Linux box with this command. jason@eyjafjallajkull:~$ grep ‘Commandline: ‘ /var/log/apt/history.log Commandline: apt-get upgrade Commandline: apt-get install gnome-alsamixer Commandline: apt-get install indicator-sound-switcher Commandline: apt-get upgrade […]

Use the netdiscover command to find hosts on your local LAN.

The netdiscover utility will list all connected hosts on your local LAN. This is useful for scanning a network and determining which hosts are online. I used this command to scan an IP range starting with 192.168.0.1. jason@darkstar:~$ sudo netdiscover -r 192.168.0.1/24 Currently scanning: Finished! | Screen View: Unique Hosts   17 Captured ARP Req/Rep […]

How to convert a Wikipedia article to a text file using the Linux command line.

The wikipedia2text command allows a command line user on Debian to output the contents of a Wikipedia article to a text file on your hard drive. Install this command this way: jason@darkstar:~/Documents$ sudo apt-get install wikipedia2text Then convert an article this way. jason@darkstar:~/Documents$ wikipedia2text Debian > Debian.txt I enter the name of the article I […]

Pluto probe is an exciting achievement for humanity.

The New Horizons probe to Pluto has sent back some exciting photos. The smallest planet in the solar system is also the coldest, -233 degrees Celsius. This makes it too cold to land on. A spacesuit would not last long in such cryogenic temperatures. But this is the furthest object that exists in the solar […]

List files by modification date with the ls command on Linux.

This one-liner will list all files in a directory by modification time, newest first. jason@eyjafjallajkull:~/Pictures$ ls -thul Use it this way to list the top 20 files listed. jason@eyjafjallajkull:/var/log$ ls -thul | head -n 20 total 6.9M -rw-rw-r– 1 root utmp 9.0K Jul 9 11:30 wtmp -rw-r–r– 1 root root 85K Jul 9 11:26 Xorg.0.log […]

Get the internet facing IP address of a Linux machine easily.

This simple command will print out the Internet facing IP address of a Linux machine in no time. curl ifconfig.me/ip This will return the useragent that is used to access this URL. ubuntu ~ $ curl ifconfig.me/ua curl/7.35.0 Use this string to get all information about the host that is accessing the url. curl ifconfig.me/all […]

Install updates and install software on Fedora 22 Linux.

The new dnf command for Fedora 22 replaces the old yum command. But this new utility is still easy to use. To install all pending updates for Fedora 22, use this command. [root@localhost homer]# dnf update Use the dnf install command to install software. [root@localhost homer]# dnf install vim mc Last metadata expiration check performed […]

Future of Linux looking brighter.

I am running Linux at the moment with a Geforce 740 and I have not installed the proprietary drivers at all. I am using the Nouveau drivers and my system is performing very quickly indeed. Previously, I had a Radeon HD6670 installed and the open-source drivers were used. And in that case, the system was […]

Add BASH styled line editing and persistent history to the CMD window.

This useful utility: http://mridgers.github.io/clink/. Will allow persistent history and line editing in the Windows 10 CMD window. This makes the CMD session much more enjoyable to use. Press Alt-H in the CMD window to get help that shows the keyboard shortcuts for this addon. Microsoft Windows [Version 10.0.10130] (c) 2015 Microsoft Corporation. All rights reserved. […]

Using the runas command in Windows 10 to run a command as admin.

The runas command in Windows 7 8 and now Windows 10 allows the unprivileged user to execute a command as a superuser. This is rather like the sudo command for Linux and UNIX. In the example below, I am executing a command on the computer BLUFOR as the user Dobbo. I am running notepad as […]

Get information about your network connection with Linux.

This command will return only the IP address of the host. ubuntu ~ $ hostname -i 172.31.20.16 Querying for all local IP addresses on the host. ubuntu ~ $ hostname -I 172.31.20.16 10.8.0.1 This simple script will ping Google and will check the return value of the ping command to see if the Internet is […]

Searching for packages on an Ubuntu system with the aptitude command.

The aptitude command for Ubuntu may be used to search for packages. This makes it easy to find the appropriate package you are searching for. In this example, I am searching for the openvpn packages. ubuntu ~ $ sudo aptitude search openvpn p gadmin-openvpn-client – GTK+ configuration tool for openvpn (client) p gadmin-openvpn-client-dbg – GTK+ […]