You can use OpenSSL to create a 1 GB random file in Linux: openssl rand -out sample.txt -base64 $(( 2**30 * 3/4 ))openssl rand -out sample.txt -base64 $(( 2**30 * 3/4 )) 1 Gigabyte is like 230 bytes (you can use 10**9 for 109 bytes instead). The “* 3/4” section is for base64 overhead, making […]
To prevent less from clearing the screen upon exit you can just use -X option: -X or –no-init Disables sending the termcap initialization and deinitialization strings to the terminal. This is sometimes desirable if the deinitialization string does something unnecessary, like clearing the screen. To make less exit if the content fits on one screen, […]
Open user’s Home folder from Windows command prompt (cmd.exe): cd %HOMEPATH%cd %HOMEPATH% The environment variable %HOMEPATH% is the current user’s home directory, example: C:\Users\User1\C:\Users\User1\ Check out how to open current user’s Desktop folder.
Open user’s Desktop folder from Windows command prompt (cmd.exe): cd %HOMEPATH%\Desktopcd %HOMEPATH%\Desktop The environment variable %HOMEPATH% is the current user’s home directory, example: C:\Users\User1\C:\Users\User1\ So %HOMEPATH%\Desktop will open the current user’s Desktop folder: C:\Users\User1\DesktopC:\Users\User1\Desktop
On Windows 7 and Windows 10 you can delete a junction from command-line. You can use rmdir (rd) to delete junctions on Windows ,example: cmd /c "rmdir C:\Server\"cmd /c "rmdir C:\Server\" If rmdir gives you Access Denied error, try to use fsutil: fsutil reparsepoint delete "C:\Server\"fsutil reparsepoint delete "C:\Server\" More info here: Fsutil reparsepoint | […]
If you get this error while setting up password-less SSH with ssh-copy-id: Warning: the ECDSA host key for ‘server’ differs from the key for the IP address ‘192.168.1.122’ Warning: the ECDSA host key for ‘server’ differs from the key for the IP address ‘192.168.1.122’ Try to remove the cached key for the server IP address: […]
Here is a list of email addresses associated with suspicious and potentially fraudulent online shopping websites that sell counterfeit products or that just get your money without sending you anything. Most of these shopping sites are operated by people located in China. firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org […]
Looks like the email email@example.com is associated to thousands of online shopping websites created with Shopify that sell mostly anything, from hair wigs, to drones and other tech goods. But are these websites safe? From my own personal point of view, I would say they are suspicious and I would not buy anything from them. […]
Do you need to quickly compress image, video, PDF and MP3 files online? You can do that with YouCompress.com! It is a free web application that lets you compress media files and PDF files online, quickly and easily. It supports most popular file extensions, including MP4, MOV, MP3, PDF, PNG, JPEG, JPG and GIF. Best […]
In some VPS or servers you may get errors when doing apt-get due to IPv6. To force apt-get to use IPv4 just type this command: echo ‘Acquire::ForceIPv4 "true";’ | tee /etc/apt/apt.conf.d/99force-ipv4echo ‘Acquire::ForceIPv4 "true";’ | tee /etc/apt/apt.conf.d/99force-ipv4 The setting will be permanent.