Repository ‘http://security.debian.org/debian-security buster/updates InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’

I know you tried it with apt-get –allow-releaseinfo-change update but it worked for me. This is my command in the dockerfile: wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add – \ && sh -c ‘echo “deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main” >> /etc/apt/sources.list.d/google.list’ \ && apt-get –allow-releaseinfo-change update \ && apt-get install -y google-chrome-unstable \ –no-install-recommends … Read more

how do I use the grep –include option for multiple file types?

You can use multiple –include flags. This works for me: grep -r –include=*.html –include=*.php –include=*.htm “pattern” /some/path/ However, you can do as Deruijter suggested. This works for me: grep -r –include=*.{html,php,htm} “pattern” /some/path/ Don’t forget that you can use find and xargs for this sort of thing too: find /some/path/ -name “*.htm*” -or -name “*.php” … Read more

shell-script headers (#!/bin/sh vs #!/bin/csh)

This is known as a Shebang: http://en.wikipedia.org/wiki/Shebang_(Unix) #!interpreter [optional-arg] A shebang is only relevant when a script has the execute permission (e.g. chmod u+x script.sh). When a shell executes the script it will use the specified interpreter. Example: #!/bin/bash # file: foo.sh echo 1 $ chmod u+x foo.sh $ ./foo.sh 1

How to set environment variables in fish shell

Use Universal Variables. If the variable has to be shared between all the current user Fish instances on the current computer and preserved across restarts of the shell you can set them using -U or –universal. For example: set -Ux FOO bar Using set with -g or –global doesn’t set the variable persistently between shell … Read more

Passing argument to alias in bash [duplicate]

An alias will expand to the string it represents. Anything after the alias will appear after its expansion without needing to be or able to be passed as explicit arguments (e.g. $1). $ alias foo=’/path/to/bar’ $ foo some args will get expanded to $ /path/to/bar some args If you want to use explicit arguments, you’ll … Read more

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