Useful tips for everyday
Is there a command that screen cannot execute? Now start screen and you should be in the specified directory. screen doesn’t know about cd as…
How to redirect HTTP to HTTPS with iptables? You need to run a simple HTTP web server on port 80 http and perform Location header…
How do you change the content of a file using batch file? You can do it by using for loop to move through each line…
How do you make a text file executable in UNIX? Save the file as hello.sh (the . sh is just convention, it could be any…
How do I find a specific directory in Unix? You need to use find command. It is used to locate files on Linux or Unix-like…
How do you check whether a directory exists or not? The Test-Path Cmdlet $Folder = ‘C:\Windows’ “Test to see if folder [$Folder] exists” if (Test-Path…
How can I set Sudo password? How to Change sudo Password in Ubuntu Open the Ubuntu command line. We need to use the Ubuntu command…
How can I increase the size of my filesystem? Change the size of the file system using the btrfs filesystem resize command with one of…
Can a fsck repair a Btrfs filesystem? Do not use –repair unless you are advised to do so by a developer or an experienced user,…
How do I open Pycharm in Linux terminal? 21 Answers Open Application Pycharm. Find tools in menu bar. Click Create Command-line Launcher. Checking the launcher…