In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Problem description:
Today, when I tried to build the working environment of dynamips in Linux, I encountered a small problem when executing the shell script. There is a script file named start.sh, which contains the following contents:
#! / bin/bash./dynamips.bin-H 7200 &
After the terminal executes the shell script, the problem is as follows:
[root] #. / start.shbash:. / start.sh: insufficient permissions
Solution:
Use the chmod command to grant permissions to the shell script before executing the command:
[root] # chmod 777. / start.sh [root] #. / start.sh
Shell is actually a command interpreter that interprets commands entered by the user and sends them to the kernel. Not only that, Shell has its own programming language for editing commands, which allows users to write programs made up of shell commands. Shell programming language has many characteristics of common programming language, for example, it also has loop structure and branch control structure. Shell programs written in this programming language have the same effect as other applications.
Linux provides a visual command input interface like MicrosoftWindows-the graphical user interface (GUI) of X Window. It provides a lot of desktop environment systems, which operate like Windows, with windows, icons and menus, all of which are controlled by the mouse. GNOME .
Users of each Linux system can have their own user interface or Shell to meet their own specialized Shell needs.
These are the details of insufficient permissions when linux terminals execute shell scripts. Please pay attention to other related articles for more information.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.