Programing shuffled

Tuesday, November 7, 2017

Writting a shell script file from linux command shell

$ echo '#!/bin/sh' > shell_from_cmd.sh
$ echo 'echo my firt script' >> shell_from_cmd.sh
$ chmod 755 my-script.sh
$ ./my-script.sh
my firt script
$
Posted by Aman at 6:52 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Shell
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Live Traffic

Blog Archive

  • ►  2025 (1)
    • ►  January (1)
  • ▼  2017 (1)
    • ▼  November (1)
      • Writting a shell script file from linux command shell
  • ►  2015 (1)
    • ►  March (1)
  • ►  2014 (6)
    • ►  December (2)
    • ►  August (1)
    • ►  July (1)
    • ►  June (2)
  • ►  2013 (9)
    • ►  October (2)
    • ►  September (7)

About Me

Aman
View my complete profile
Simple theme. Powered by Blogger.