Cancel a pending computer name change in Windows Server 2012 R2
While attempting to troubleshoot some issues, I changed the name of a server using the System Properties window (Control Panel > System > Change settings > Computer Name > Change...). After making this change I did not restart the machine, so the name change is still pending a restart. The issue has...
Num Lock refuses to stay on
Before I continue, let me say that this is not a question about Num Lock tu ing off after boot. I've already made a fix for that. My issue is that Num Lock refuses to stay on while I'm using my laptop. Scenario: I log in to my Acer Aspire F5-572-57T8 laptop and am presented with my desktop. Num Lock...
Change hostname displayed on shell tty
While installing my system I've chosen a wrong hostname because I thought it would be easy to change later on but I've been looking for a proper way to fully change it for a while now but the only things I've found were editing /etc/hostname and using the hostname command. Both of these don't seem t...
Capture HDMI input on PC
I have a camcorder Canon Legria HF R57 . As I am recording sports events, my plan is to make a live stream on YouTube. The camera has HDMI cable available, so technically, I can co ect the device to a computer. But as the computer is also a device that can only send its screen/picture, I am stuck. 1...
Register IP when network connection is up
I'm ru ing a set of Debian Jessie based servers and need a reliable way to upload their local network IP Address when the network link is established. I wrote a script that does this and registered it as a systemd service: [Unit] Description=Server Registration Requires=network.target network-online...
Modem + router = no internet
I have a cable inte et with Thomson twg870 modem. I'd like to add a D-link DIR-615 router to my mini home LAN. To achieve this i follow the steps in the manual (page #10). Unfortunately without success. I can't co ect to inte et from my host co ected to the router - there is an info "no inte et acce...
Pattern search the user input in a file in Unix using awk
I am trying to write awk script to search for a patte that is given input by user, in a file.My code look like this:awk 'BEGIN{printf "Enter : ";getline input<"/dev/tty"} /'"$input"'/ {print}' <abc.txtWhat I get as an output is the whole file. Can someone help me to find where I'm going wrong ? Let'...
How to understand the fedora file system
i am using fedora 23 64 bit. My system is up to date. i am new to linux. the file system is just like quit a mess. I am not finding anything. Not all the programs are not installed in same folder. Please anyone suggest me any resource by which i will able to understand the file system. Let's block a...
VR Headset for PC Monitor
I was wondering if it is possible to make a VR headset like google cardboard for big PC monitor to view side by side 3D video. I don't like the quality of Anaglyph with ghosting effect. Is it possible to create something like this? If yes please give some suggestion how to make. Let's block ads! (Wh...
how to sort the data with defined min and max value
I am looking for generating the number of entries which fills into defined min and max values from the given data. To put it more simple, If the data set is Roll No: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 The corresponding Marks are: 47, 23, 47, 45, 26, 41, 35, 39, 41,...
How to allow command for www-data?
I try to execute the following PHP command to get the IP-adress from eth0. $ip = trim(shell_exec("/sbin/ifconfig eth0 | grep -i 'inet Adresse:' | tr ':' ' ' | awk '{ print $3 }'")); But i get nothing back. If i execute the exact same command via ssh then i get the IP, so the command should work. I o...
Direct host SMB - Ports
It's well known that SMB uses port 445, and that NetBIOS uses ports 137-139. However, according to all official MS documentation (https://support.microsoft.com/en-us/kb/204279), SMB uses both TCP and UDP. Based on my tests it works even if only TCP is enabled, so what is actually done over port 445 ...
Linux / Folder and /root folder
I searched now a while but couldn't find an answer to this question. I have a Linux based server (centOs). In the root folder (/) i have a folder called root (/root). Now when I sudo cd root/ i stay in the same folder (/). First I thought that /root is a symlink but symlinks are cian blue and here I...
Excel - Multiplying daily values for each week
Here's how my table layout looks What I have: over 200 rows, each with three values, each for a unique day. Only values for workdays are listed, so sometimes there may be days or even whole weeks missing from the list because of holidays. What I need: for every finished week that had at least one da...
Share doesnt ask credentials
I got a problem with one share-folder. Its just basic network-share from one VM and idea is that only admins can access to that share. When im logged with admin-user account I can get to share, but if I go with non-admin-account it just throws me with a pop-up "you have no permissions" or something ...