IT

Linux cheatsheet – usefull commands

Network netstat -tulpn | grep LISTEN show all opened TPC/UDP sockets sudo ip link set eth0 up enable/disable network interface eth0-interface name up/down cat /etc/services | less list of services and ports

Remove and Re-add License Key for Office 2016 on Office 365

First you need to open commmand line and navigate to office installation directory. If you installed the 64-bit version of Office 2016, move to the following folder: C:\Program Files\Microsoft Office\Office16 If you installed the 32-bit version of Office 2016, move to the following folder: C:\Program Files (x86)\Microsoft Office\Office16 Display the current licences Remove the Licences …

Remove and Re-add License Key for Office 2016 on Office 365 Read More »

Essentials linux commands

exit Exit actual session, exit from the program whatis [command] Show a one-line description of the command clear clear terminal window man [command] show manual page for command less [file] allow you to view, search in many ways in text files pwd print current working directory ls list files/folders in the directory cd change directory …

Essentials linux commands Read More »

Mount and edit Windows PE iso

Sometimes you need to mount some Windows PE ISO and modify it to match your needs. For example, add your tools to bootable iso. I will show you how mount that iso to Windows, make the required changes and unmount. Prerequisites Install the Windows Assessment and Deployment Kit (Windows ADK) Technical Reference, with Windows Preinstallation Environment. If you’re using the …

Mount and edit Windows PE iso Read More »

Linux cheat sheet

A Standard Linux Directory Structure Below is a reference to the basic structure of directories for most Linux distributions. Find more at the Linux Filesystem Hierarchy Standard, on Wikipedia. / – the root or base of the filesystem /bin – operating system binaries /boot – Linux kernel and programs run at startup /dev – devices /etc – system configuration files /home – …

Linux cheat sheet Read More »

Error 0x8007007e when Printing from Microsoft Edge or any other Windows APP

When you try to print a webpage in Microsoft Edge or print a mail from the built-in Mail app, error 0x8007007e may occur. However, the classic desktop programs (a.k.a Win32 apps) can print correctly. The problem is restricted to modern or Universal Web Apps (UWP) like Edge, Mail, OneNote, etc. Copy the file from WinSxS …

Error 0x8007007e when Printing from Microsoft Edge or any other Windows APP Read More »

Apache – Top 10 IP addresses accessing your Apache webserver

Default log paths /var/log/http/access_log [For RedHat based systems] /var/log/apache2/access.log [For Debian based systems] /var/log/http-access.log [For FreeBSD] Command Output 5482 103.28.37.1785356 66.249.78.1681977 66.249.93.1451962 157.55.39.2511924 66.249.93.1421921 66.249.93.1481890 64.233.173.1781860 108.61.183.1341841 64.233.173.1821582 157.55.39.251 Command explain awk ‘{ print $1}’ access.log – take the access.log and print first group (separated by white space) sort – sort records uniq -c – …

Apache – Top 10 IP addresses accessing your Apache webserver Read More »