LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Simple script-command to mount partitions by label

Posted 08-15-2021 at 02:43 PM by the dsc (linux-related notes)

Largely based on this answer on askubuntu. I hope nothing atrocious results from some situation where it ends up trying to mount something a given user should not, or something. May require tweaking either the script or one's sudo permissions for the commands doing the hard work, I don't know how "default" my settings are.

Code:
#!/bin/bash

echo ${@} | while read input ; do 

for label in /dev/disk/by-label/${input} ; do 

label=$(basename
...
Member
Posted in Uncategorized
Views 626 Comments 0 the dsc is offline
Old

So, you want to be a Slacker!? - Part one: The Slacker culture

Posted 08-09-2021 at 06:42 PM by carriunix
Updated 08-17-2021 at 10:25 AM by carriunix

My favorite thread title in Slackware LQ forum is "So you want to be a Slacker! What do I do next?", by onebuck. The good mood of the title (remembering Quest for Glory game) is enjoyable, but also the intent of the thread: To help the Slackware newbies. There, the discussion evolved through almost 14 years, so I decided to do a blog post instead of just reply. Let's say that I got late to the party. But, that's fine! Inspired by this thread, I will drop here some personal thoughts about...
Member
Posted in Uncategorized
Views 896 Comments 0 carriunix is offline
Old

Setting Static IP on Raspberry Pi

Posted 08-08-2021 at 06:43 PM by des_a

I fought and fought with the Raspberry Pi, trying to set a static IP. I really wanted it to have a static reservation on the DHCP server, like everything else. But, there is [a bug???] in the software that won't get any DHCP address, if you set a static reservation for it.

So the answer to set a static IP? It turned out to be simpler than I thought, but it took me awhile to figure out. Assuming it is a IPv4 address, here is what you do.

Modify rc.local to add a line...
Senior Member
Posted in Uncategorized
Views 691 Comments 2 des_a is offline
Old

Craigevil's Giant Sources.list

Posted 08-07-2021 at 12:27 PM by craigevil (craigevil's random words of wisdom)
Updated 10-31-2023 at 05:07 PM by craigevil (Added Mozilla Firefox repo)

Code:
# Craigevil's Giant Sources.list last updated  October 31, 2023

# Official Debian Repos

# Current Debian Stable Bookworm Repositories

# Debian 12 Bookworm https://www.debian.org/releases/bookworm/
# deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ bookworm main contrib non-free

# Bookworm Security https://www.debian.org/releases/bookworm/
# deb https://deb.debian.org/debian-security
...
Senior Member
Posted in Uncategorized
Views 1285 Comments 0 craigevil is offline
Old

Helpful Debian Links

Posted 08-07-2021 at 12:15 PM by craigevil (craigevil's random words of wisdom)
Updated 09-14-2021 at 05:33 PM by craigevil (duplicate)

duplicate post Sorry.
Senior Member
Posted in Uncategorized
Views 600 Comments 1 craigevil is offline

  



All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration