scp gives “not a regular file”

I have a problem when using scp on Linux, it says “not a regular file”. I looked at other questions/answers about that, but I can’t find out what’s wrong… I wrote: to copy file.fits from aa@aa, /home/pictures to the current directory. I also tried without using /home/, but it didn’t work neither… Do you understand what’s wrong?

What is the ASCII Code of ½?

I want to print the value ‘½’ in a file. I searched for the ascii value of this as Alt+(ascii Value) will give you the same. To my surprise I found 2 ascii values for this symbol in various sites. One is 171 and the other is 189. I tried to write this symbol by … Read more

Can’t start hostednetwork

This happen after you disable via Control Panel -> network adapters -> right click button on the virtual connection -> disable To fix that go to Device Manager (Windows-key +x+ m on windows 8, Windows-key +x then m on windows 10), then open the network adapters tree , right click button on Microsoft Hosted Network Virtual Adapter and click on enable. Try now with … Read more

where does Silverlight app’s executable/assembly/whatever actually get installed on my hard drive?

I installed a silverlight app on Windows 7, it put up a shortcut on the desktop and it works fine. E.g. works fine without internet connection. What worries me is, it’s unclear where exactly that app now is on my machine. I examined this desktop shortcut and it says “C:\Program Files (x86)\Microsoft Silverlight\sllauncher.exe” [Random Integer].[Url … Read more

How to download a file from server using SSH?

In your terminal, type: replacing the username, host, remote filename, and local directory as appropriate. If you want to access EC2 (or other service that requires authenticating with a private key), use the -i option: From: http://www.hypexr.org/linux_scp_help.php

curl: (6) Could not resolve host: google.com; Name or service not known

Issues were: IPV6 enabled Wrong DNS server Here is how I fixed it: IPV6 Disabling Open Terminal Type su and enter to log in as the super user Enter the root password Type cd /etc/modprobe.d/ to change directory to /etc/modprobe.d/ Type vi disableipv6.conf to create a new file there Press Esc + i to insert data to file Type install ipv6 /bin/true on the file to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)