Linked Questions

119 votes
18 answers
80k views

I am making an NW.js app on macOS, and want to run the app in dev mode by double-clicking on an icon. In the first step, I'm trying to make my shell script work. Using VS Code on Windows (I wanted to ...
thomasb's user avatar
  • 6,067
66 votes
10 answers
128k views

Cannot figure out, where to change EOF in PyCharm. My scripts start with : #!/usr/bin/python # -*- coding: utf-8 -*- It outputs something like this when I try to run it like an executable (chmode +x) ...
woozly's user avatar
  • 1,369
2 votes
1 answer
14k views

I create start.sh file and wont to start,but retruned me ./start.sh: /bin/bash^M: bad interpreter: No such file or directory this is my start.sh file content #!/bin/bash cd /home/test/Desktop node ...
Vahagn Aleksanyan's user avatar
0 votes
1 answer
1k views

so I format "colors.sh", which is located on my desktop in a file called notepad. try to run it using: ./colors.sh and then it says this.... shell@shell:~$ cd Desktop/notepad/ ...
Shell's user avatar
  • 17
0 votes
1 answer
2k views

I have a deluxe Linux hosting account on Godaddy and from the past 3 days I've been trying to host a Django website. I followed these tutorials: http://www.lichun.cc/blog/2012/06/setup-django-1-4-on-...
Hammad's user avatar
  • 73
1 vote
0 answers
55 views

I'm trying to learn to build and poke around open source software. However, I've always had trouble trying to get anything to build. So, I figure now's as good a time as any to ask. I downloaded the ...
newbie's user avatar
  • 617
1196 votes
18 answers
1.7m views

I have two shell scripts, a.sh and b.sh. How can I call b.sh from within the shell script a.sh?
Praveen's user avatar
  • 12.3k
867 votes
11 answers
1.4m views

I'm using this tutorial to learn bash scripts to automate a few tasks for me. I'm connecting to a server using putty. The script, located in .../Documents/LOG, is: #!/bin/bash # My first script echo &...
cartonn's user avatar
  • 8,904
42 votes
13 answers
47k views

I've been using NPM on my machine (Windows 10), but recently ran into an issue. I currently have Node.js installed and get the following error while running any npm command. Question: What is ...
ChaseHardin's user avatar
  • 2,269
21 votes
3 answers
48k views

When I enter brew doctor (or any brew command) in my terminal, I get this as a response: -bash: /usr/local/bin/brew: /bin/sh^M: bad interpreter: No such file or directory I have seen the ^M response ...
user avatar
4 votes
5 answers
8k views

I have been using the cake command on my linux server for 2 years. but now im trying to move to a new server and some how the cake command gives back the error: No such file or directory even if i ...
jurrieb's user avatar
  • 248
-1 votes
4 answers
16k views

Restore_DB.sh :- #!/bin/bash mysql -u user -ppassword DB_name < /home/A/B/SQL_File.sql I used the above code to restore a MySQL database from a cron job but I'm getting the bellow error /usr/...
chalitha geekiyanage's user avatar
1 vote
3 answers
12k views

I need to have my Java program run on a linux box once a day. So I created a simple file with just one line: java -jar /opt/location/my_jar.jar and put it in etc/cron.daily, assuming it would run ...
Eddy's user avatar
  • 3,753
1 vote
3 answers
24k views

I have a python script that takes in a .txt file and outputs a .txt file. I want to create a bash file that I can click on from my desktop to execute the python script. So far I have: #!/bin/bash ...
Kay Carosfeild's user avatar
6 votes
5 answers
5k views

I already built an android project of react native which is working fine. I then started with iOS part. I am using react-native-cli: 2.0.1 react-native: 0.60.4 and Xcode 10 and Mac OS Mojave The ...
Nilkamal Gotarne's user avatar

15 30 50 per page