Tuesday, May 29, 2018

Read the data from server using Backbone js collection fetch data







Linux-Shell Script to Move to specific folder using "cd" command




Shell scripts are run inside a subshell, and each subshell has its own concept of what the current directory is. The cd succeeds, but as soon as the subshell exits, you're back in the interactive shell and nothing ever changed there.

To Resolve that we use bash command. 




#!/bin/sh
#!/bin/bash

cd "/opt/azw/webapp/src/";
bash