Suping Chen's Notes

All about Technical issues

Thursday, February 26, 2015

Linux script not run

I have a script to run on linux.
This is the first time I try.

I upload the script from windows to linux. (ftp)

run the script ./test

got the error :   Permission Denied.

then I just think run as root.

so I do  :  sudo ./test

got the error:  command not found.

to fix it. only need to do is:

chmod +x test
./test  is running !!

Posted by SC at 9:30 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2019 (8)
    • ►  June (2)
    • ►  May (1)
    • ►  April (5)
  • ►  2018 (6)
    • ►  December (2)
    • ►  November (1)
    • ►  September (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2017 (11)
    • ►  October (1)
    • ►  August (1)
    • ►  July (3)
    • ►  June (2)
    • ►  February (3)
    • ►  January (1)
  • ►  2016 (9)
    • ►  October (4)
    • ►  August (1)
    • ►  April (1)
    • ►  March (1)
    • ►  January (2)
  • ▼  2015 (12)
    • ►  November (1)
    • ►  September (1)
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ▼  February (1)
      • Linux script not run
    • ►  January (3)
  • ►  2014 (8)
    • ►  December (2)
    • ►  June (2)
    • ►  February (3)
    • ►  January (1)
  • ►  2013 (26)
    • ►  November (1)
    • ►  October (2)
    • ►  September (2)
    • ►  August (1)
    • ►  July (5)
    • ►  June (6)
    • ►  May (8)
    • ►  April (1)
Simple theme. Theme images by gaffera. Powered by Blogger.