Linked Questions
29 questions linked to/from How to make a file (e.g. a .sh script) executable, so it can be run from a terminal
42
votes
1
answer
401k
views
How to make a file executable? [duplicate]
How can I make my file so that I can double click on it, and it runs. It is a .sh script, but I also have files that say:
executable (application/x-executable)
in the description of what they are.
...
0
votes
0
answers
2k
views
How to "run" Blender 2.8 in 18.04 [duplicate]
In the install instructions, they say "run" the Blender executable for v 2.8. While I have the executable in the extracted folder, I don't know which command will "run" it. I tried run blender within ...
0
votes
1
answer
687
views
Permission denied when using the terminal to install a program located in the download folder [duplicate]
roberto@roberto-870-224:~$ cd ~/Downloads
roberto@roberto-870-224:~/Downloads$ ./daedalus-2.2.0-mainnet-14276.bin
bash: ./daedalus-2.2.0-mainnet-14276.bin: Permission denied
roberto@roberto-870-224:~/...
1
vote
0
answers
198
views
How do I run .sh? [duplicate]
I checked Allow executing file as program., but is still open in editor. Ubuntu is installed on USB.
0
votes
0
answers
123
views
Cron doesn't send email (while script does) [duplicate]
I have a simple script to send a back-up of my db to email:
#!/bin/sh
timestamp=$(date '+%d-%m-%Y@%H:%M')
mysqldump -u root -pPASSWORD DBNAME | gzip > /tmp/database_$timestamp.sql.gz
mutt -s "...
501
votes
16
answers
4.3m
views
How do I run .sh scripts?
Whenever I open a .sh file, it opens it in gedit instead of the terminal. I can't find any option similar to Right Click → Open With → Other Application... → Terminal.
How do I open this file in the ...
26
votes
9
answers
7k
views
How do I make my screenshot ask me what to do next every time?
I take screenshots a lot. I usually take screenshot of an area, I then recheck if I have the desired area and then copy it to clipboard.
I want to change this behaviour so that immediately upon ...
10
votes
3
answers
5k
views
How can I start my application in a more convenient way?
I am new in Ubuntu. I have an application which I open in the following way. I type in the console:
cd ~/MyDirectory
./myapp +some arguments
How can I find a solution, so I could launch my ...
6
votes
5
answers
3k
views
Adjust brightness with xrandr and cron job
EDIT Thanks to pa4080 I added one line to the script below and now it works great. I don't exactly understand how, oh well.
I would like to make a cron job to adjust my brightness at different hours ...
5
votes
3
answers
4k
views
Is it possible to control the recording if Audacity is running in the background?
I would like to record audio while Audacity is running in the background, e.g. because I am focused on another window. Is it possible to control the start and stop of a recording using global keyboard ...
2
votes
2
answers
16k
views
How do I run a command at start up on Ubuntu 18.04 LTS?
I need to start a command on startup. I want to run this command:
xgamma -gamma 0.70
I have used Startup Applications but it doesn't work. I have put the command in the Startup Applications:
3
votes
1
answer
13k
views
Shortcut to open Terminal and run some commands
Is it possible to create desktop shortcut, that would do as follows:
open Terminal
change directory
make a command inside that directory
type password (sudo)
I tried with Terminal profiles, but I ...
1
vote
1
answer
4k
views
Hiding terminal when executing zenity bash script by double click
Is there a way to hide terminal when a bash script for zenity is executed
eg:
szAnswer=$(zenity --entry --text "where are you?" --entry-text "at home"); echo $szAnswer
I want to hide the terminal ...
0
votes
3
answers
6k
views
Apache virtual hosts not working (error 403)
I have installed apache2, php and mysql server to my ubuntu 14.04 and was tested and everything is working as expected.
I have application created using codeigniter & was past developed on mac ...
3
votes
1
answer
3k
views
How do I open an app in a certain workspace from terminal?
I use Ubuntu 18.04 Bionic Beaver with the GNOME Desktop environment. I would like to use keyboard shortcuts to open a webpage in a certain Chrome person in another workspace. Opening the webpage is no ...