CARVIEW |
Select Language
HTTP/2 200
date: Sun, 10 Aug 2025 08:19:59 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
cf-ray: 96ce1246b8e420c5-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=d0c8d1bb-45a4-4a12-8564-679cb935ab09; expires=Mon, 10 Aug 2026 08:19:59 GMT; domain=.stackexchange.com; path=/; secure; httponly
set-cookie: prov=d0c8d1bb-45a4-4a12-8564-679cb935ab09; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=94q.Q11XUzamCawVm2fvnluAAraphmSx.qVQ2yaKB3g-1754813999-1.0.1.1-mvkPbeHo32aS.LStU44Y5P_hrEIhrVV6QLprtE5vGExENsv51TjJ6l5QFeCtBwgZD4jBEv8swQct9wU45rnW_bKnBnYl3c9L5MW16ahwSMs; path=/; expires=Sun, 10-Aug-25 08:49:59 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=iMC9Qa1wMQSOtjfQYrbH7kTrCarRp7V6r4_H4jZfpGQ-1754813999683-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 7f580637-1a8d-42f6-b6b3-c95c73654bb7
x-worker-origin-response-time: 504000000
x-dns-prefetch-control: off
server: cloudflare
Newest 'script' Questions - Raspberry Pi Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more.
View results.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [script]
non-compiled programs written in scripting languages (e.g. perl, python or tcl) or command line interpreters such as Unix shell.
248 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
26
views
USB 4G Dongle disconnect with code
Using the command lsusb i am getting the following output:
pi@raspberrypi:~ $ lsusb
Bus 001 Device 005: ID 19d2:1405 ZTE WCDMA Technologies MSM ZTE Mobile Broadband
Bus 001 Device 002: ID 1a40:0101 ...
0
votes
2
answers
64
views
what is preventing a cron job from running a python script?
I have a bash .sh script that sets up the python virtual environment and then runs some python code. This all works from the command line but nothing happens when I set it up in a cron job.
The ...
1
vote
0
answers
36
views
Transmission script when done
I have osmc over a raspberry pi 3 and i use transmission for some downloads. When the download is completed it is automatically moved to a different folder. I use a script to change the owner of the ...
0
votes
1
answer
331
views
How to control the speed of fan in Argon ONE (v2) Pi 4 case on Debian 64-bit?
On Raspberry Pi OS, the original Argon ONE (v2) Pi 4 script just works, link to GitHub:
curl https://download.argon40.com/argon1.sh | bash
On Debian 12 Bookworm 64-bit, however, it does not, by ...
-1
votes
1
answer
239
views
Help with "-bash: syntax error near unexpected token `do' "
Background: Yes, I'm a noob. I've been learning Debian Linux the last several months.
Here's the situation: I have 10 Raspberry Pi's (3B+) with hostname rpi-100 to rpi-109. I am trying to automate ...
1
vote
1
answer
2k
views
How to turn monitor on/off? vcgencmd doesn't know about display_power
In times past, I used tvservice to turn the monitor on/off in a script. Now I understand vcgencmd is the current method. I'm running RPi OS 12.4 on a 4GB RPi 5.
I installed lib-rasbperrypibin. ...
1
vote
2
answers
103
views
GPIO input pins high at 3V, and detect when ground is connected when I want it to detect when 3V is connected
This is on a Raspberry Pi Zero 2 W
The physical pin 3 and 5 (gpio2 and gpio3) are the input pins I am using and for whatever reason, they are at default 3V and detect a change when they are connected ...
-1
votes
2
answers
295
views
Run a shell script on first boot
I want to make a script that runs on boot, as I'm making a PowerShell script to install the Raspberry Pi OS. It needs to install some things on boot. How do I make a script to run on first boot and ...
1
vote
1
answer
85
views
run script after some device from dhcp ip pool connect to hotspot raspberry pi 4
I was searching answer from over a week and still don't find it. I'm fresh user of raspi and linux and network config so be patient for my stupid questions :)
I describe my problem.
I used raspi to ...
0
votes
0
answers
24
views
Monitor lightbox project – does this exist yet?
I have a second monitor next to my iMac. What I’d like to do is set up a Pi that simply outputs solid colour to the monitor over HDMI or composite (it has both), thus allowing me to use it as a video ...
0
votes
1
answer
69
views
How can I have the raspberry pi run scripts portably?
I am a noobie and just got a raspberry pi yesterday and I want to create a wifi strength device with my raspberry pi. I have a wireless adapter and alreaady made a script for my linux machine. It ...
-1
votes
1
answer
145
views
New to PI-Automatically move files from sd card to Syncology NAS
My goal: To have video copied from an SD card that is inserted into a Pi 4B using a USB SD Card reader copied to a network share and put in folders based on dates.
My scenario.
I come home from ...
0
votes
2
answers
278
views
Can't get Cron to run python script
I'm trying to set up porkbun dynamic dns python script to run at reboot via Cron (later I'd like to run it hourly, but baby steps...) following porkbun's tutorial https://www.youtube.com/watch?v=...
1
vote
0
answers
136
views
Script only works after opening browser and closing it
I have a script to open 2 webpages one on each monitor. The end of the script selects one of the pages and enters in login credentials. The script works great and I have it working with systemctl to ...
-1
votes
2
answers
322
views
Script running from terminal after setting pythonpath and running "thonny&" command, but not when thonny ide is opened directly
I am using a Raspberry Pi OS 64-bit to run a script that will capture an image. I have gone through installing the right packages for libcamera for this OS and can run libcamera apps using my terminal....
- The Overflow Blog
-
-
- Featured on Meta
-
-
Hot Network Questions
- What mass does my space vehicle need to be, to leave a city in ruins by dropping it from orbit?
- What applications does a vacuum-generating substance have other than making near-vacuum airships?
- LTspice Common Source MOSFET Amplifier Shows Flat lines for Vin and Vout
- How can I split a vector of numbers into its digits when vector values differ in length?
- Why do definitions of yield to maturity differ between financial institutions and academia?
- How to copy the first words of a multiline selection?
- Aza analog of aminoxide
- Centre and alternating axis of symmetry in optical isomerism
- Question on the origin of an Einstein quote
- How to estimate the real value of a used bike (especially when it's partially upgraded)?
- How much disk space is occupied by a filesystem's metadata?
- In Excel how do I lookup an array from an array
- Suggesting separate submission of part of a paper to a different journal
- What was the first video game where cold slowed enemies down?
- God's appointment of Samuel versus David
- Missing \endcsname inside of \edef
- Any custom keyboard that isn't on the Google Play store that's safe to download?
- Mathematical path or approximation for a curly brace usable in 3D projective diagrams
- Who is this muscular individual with sword and armor on the side of ULA's rocket? And what mission is it?
- Captions and alt-texts for figures
- Does presence of a license in source code strictly apply to that source code?
- What is the definition of information in physics?
- Book or story about a virus that converts carbon-based life to silicon-based
- Making two theorem numbers match up