Why does my shell command to push commits to multiple repos not push?

I created Git remote to push commits to a Github repository (github) and to a bare repository (droplet) that automatically deploy code to /var/www/myapp thanks to Git hooks. The idea is to enter git push droplet and git push github to push commits in the server (droplet) and to the central repo (github). Now, when… Read More Why does my shell command to push commits to multiple repos not push?

How to run .sh file from console

I would like to know why I can not run the .sh file via ./launch.sh please have a look at the below posted screen-shot image >Solution : You need to mark it as an executable program with chmod +x launch.sh, or alternatively execute it with bash: bash launch.sh

I need to grep only /

I need to grep on a output line, but only keeping the line with / tmpfs 401848 1200 400648 1% /run /dev/mapper/ubuntu–vg-ubuntu–lv 19430032 9664212 8753496 53% / tmpfs 2009224 8 2009216 1% /dev/shm tmpfs 5120 0 5120 0% /run/lock /dev/sda2 1992552 253624 1617688 14% /boot Shared 498179396 371979712 126199684 75% /mnt/share tmpfs 401844 4 401840… Read More I need to grep only /

Is it possible to use find along with stderr

I am facing an issue with STDERR,I hope I am missing something. Please look at the below syntax and output. find /etc/sudoers.d -type f -exec cat {} + | grep kali 2> /dev/null Output: cat: /etc/sudoers.d/README: Permission denied cat: /etc/sudoers.d/kali-grant-root: Permission denied cat: /etc/sudoers.d/ospd-openvas: Permission denied cat: /etc/sudoers.d/live: Permission denied So as per my understanding,… Read More Is it possible to use find along with stderr