Below you will find pages that utilize the taxonomy term “bash”
Posts
Using taskwarrior to stay disciplined with side projects
Taskwarrior Taskwarrior is an OSS CLI (to make it fancier, let’s call it TUI - terminal UI) based task manager. I have been using it for sometime and it works great for my use case.
My Earlier Post on setting GUI notifications
I wanted some discipline in progressing with my side projects most of which are on github and here’s what I did:
set up a script which overrides task warrior’s data directory to current directory if it’s a git repository, this is so that I can segregate my todo tasks
read morePosts
Linux aliases
Read Sudip Bhandari's answer to How can I create aliases in Linux command? on Quora
read morePosts
Shebang (what does "#!/bin/bash" do at the start of bash scripts?)
Demonstration by Example This was originally answered by me at Quora
#!/bin/sh sleep 50 let’s save it as a.sh and make it executable
sudo chmod +x a.sh Let’s run it in the background and stat the process.
./a.sh& [1] 11660 On looking at the process details:
ps -fp 11660 UID PID PPID C STIME TTY TIME CMD sudipbh+ 11660 11330 0 15:30 pts/7 00:00:00 /bin/sh ./a.sh We can see that the content of the file is passed as an argument to the program /bin/sh.
read more