Posts

Showing posts with the label SSH

Linux tips and tricks for web-dev

Image
Linux tips and tricks for web-dev's show file/folders rights in drxr & 777 formats :     stat -c '%A %a %n' /<your_folder>/ monitor changing file :   tail -f -n 10 var/log/dev.log download big file with cURL :   curl --location 'https://<your_url>' \ --header 'Authorization: Token <token>' -o file.name curl response with the following redirects : curl -iL --max-redirs 1 http://example.com monitor folder recursively for changes : inotifywait -m -e create,delete -r /<your_folder>       6. removing all files in the folder except some needed                        in zsh :         setopt extended_glob         rm -rv -- ^(.git|.idea)(D) -r:   Recursively delete directories and their contents. -v : Display what is being deleted. -- :  Denotes the end of options to prevent issues with filenames starting with hyphens. ^(pattern) : Exclude files and directories that match the given pattern. (.git|.idea) : List of patterns to exclude (in th

Создание SSH ключа и его проверка на наличие пароля (link)

Image
  Создание SSH ключа и его проверка на наличие пароля (stackoverflow) additional helper manage-ssh-keys-with-the-ssh-agent

Setup remote debugging using SSH tunnels using Cygwin & PhpEd

Technical FAQ: Setup remote debugging