Skip to main content

Posts

Showing posts from May, 2015

Linux Shell Tips and Tricks

Check if remote port is open with bash: echo > /dev/ tcp / 8.8 . 8.8 / 53 && echo "open" Suspend process:   Ctrl + z Move process to foreground:   fg Generate random hex number where n is number of characters:   openssl rand - hex n Execute commands from a file in the current shell:   source / home / user / file . name Substring for first 5 characters:   $ { variable : 0 : 5 } SSH debug mode:   ssh - vvv user@ip_address SSH with pem key:   ssh user@ip_address - i key . pem Get complete directory listing to local directory with wget:   wget - r -- no - parent -- reject "index.html*" http : //hostname/ -P /home/user/dirs Create multiple directories:   mkdir - p / home / user /{ test , test1 , test2 } List processes tree with child processes:   ps axwef Create war file:   jar - cvf name . war file Test disk write speed:   dd if = /dev/ zero of = /tmp/ output . img bs

Windows 10 will be the last version of windows

      The most important announcement at Microsoft's Windows 10 demo in Redmond the other day wasn't Cortana, or even holograms.       It was these four words: Windows as a Service. It means Windows 10 will be the last version of windows family from Microsoft. So, now onwards there will be no version differences everyone will be using Windows 10. What Windows-as-a-Service Means? Windows-as-a-Service means that once customers install Windows 10, they will essentially be registered with Microsoft to receive rolling, free feature additions, improvements, and updates. This is not too far off course from what we experience today with Windows Update, and this updating mechanism will mostly likely continue to be the vehicle to make this happen for Windows 10. Microsoft has been notorious over the last couple years silently including new features in some of its updates almost as if it was testing the waters for what Windows 10 will provide. It means Window