$ sh setup.sh
- To initiate the server setup with all the essential config
$ view target_file.txt
- To view the file directly as normal file[without cli print]
$ sed 's/<search>/<replace>/g' target_file.txt
- To find and replace the content and display [without affecting file]
- 'g' --> Global search on entire file
- 's/' --> replace command
$ sed -i 's/<search>/<replace>/g' target_file.txt
- '-i' is to update the changes to the target_file
$ unlink <symlink_file_path>
- To remove the sym link safly, without affecting the target file