I've save it in my desktop as "getinfo.sh".right-click and do "Save Link As ..." to save it to a local directory.
This is what I get in my terminal:Change the permissions to make it executable and run it:
Code: Select all
chmod +x getinfo.sh ./getinfo.sh
Code: Select all
[root@localhost ~]# chmod +x getinfo.sh
[root@localhost ~]# ./getinfo.sh
chmod: cannot access ‘getinfo.sh\r./getinfo.sh’: No such file or directory
Thanks in advance.