Linux - Reddit – Telegram
Linux - Reddit
752 subscribers
4.17K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Linuxfest Northwest 2021 Cancelled

I was notified a little less than two weeks ago, last year was an online thing which did not feel the same.

I got to admit, it feels like it has been in decline over the past few years, but I do respect the work put in to it. I am hoping there will be a rebound next year.

https://redd.it/lds3wo
@r_linux
How to look for Linux admin Freelance projects/one time jobs?

I have a friend who is also has a job as Linux admin, but he also wants to do some freelance work in the Linux field. Like:-Monitoring/Migrating/troubleshooting/Security for Wordpress/CentOS/Ubuntu servers/ LEMP/LAMP etc.

and have experience about 5 years.

The thing is, he tried Upwork already but didn't receive a single job even applied regularly and profile is verified and more over they now charge you for every proposal.

Any underground community or site where he can get these one time jobs/projects ?

https://redd.it/lds2q0
@r_linux
I'm teaching Linux Command line fundamentals for free

I teach about command line and linux in general on discord anyone interested can pm me to get the discord link.
Apart from this on the discord I post resources, and you can ask anything related and meet people also interested in computer science in general.

https://redd.it/ldtpw2
@r_linux
Application for dynamically map network nodes

As i was wondering, is there any free application to dynamically map or visually monitor live nodes on the network like Spiceworks’ Network Mapping tool or Intermapper?

My requirement is that i want to create a live diagram(map) of all the nodes on my network and their live status.

https://redd.it/lds3qi
@r_linux
SFTPGo 2.0.0 Released

SFTPGo is a fully featured and highly configurable SFTP server with optional FTP/S and WebDAV support, written in Go. It can serve local filesystem, S3 (compatible) Object Storage, Google Cloud Storage, Azure Blob Storage, other SFTP servers.


Notable changes:

- Data At Rest Encryption.
- KMS support: cloud account credentials and other sensitive data can be stored within external Key Management Services (Vault, GCP KMS, AWS KMS).
- SFTP can also be used as storage backend, so you can proxy other SFTP servers.
- Two-Way TLS authentication, aka TLS with client certificate authentication, for FTP, WebDAV, REST API, web admin.
- Built-in defender: you can configure an auto-blocking policy for offending hosts.

You can find more details here:

https://github.com/drakkan/sftpgo/releases/tag/v2.0.0

https://redd.it/ldw7v4
@r_linux
Used saved chrome shortcuts as default applications for filetype

Hello,


For quite some time now, most popular browsers allowed their users to save shortcuts to websites as standalone applications - resulting in opening a new window independent to main browser.


I was thinking if it was possible to associate such shortcuts with certain file types and assign it as default application? I tried to tinker with /usr/bin but to no avail.


Any ideas, suggestions? Would anyone like to share their experiences?


I'm running Ubuntu 20.10, said filetype was .xlsx - MS Excel files. I was trying to associate it with Google Docs saved as Chrome application.

https://redd.it/ldwvox
@r_linux
Anyone running a Samsung Slate 7 700T?

I see the Samsung Slate 7 700T on Ebay a lot, usually with no charger, pen dock or keyboard.

Anyone running one of these?

There's an install guide on the Arch wiki and it seems everything works.

For the ebay prices this looks to be a fun little linux project, the older i5 4gb ram and wacom display strike me as making this quite a usable little thing.

I assume a MS surface device would be the more mainstream option, but I'm interested to hear anyone's thoughts on this device

https://redd.it/ldsbhf
@r_linux
Windows loader from Linux

I love Linux and its been my operating system of choice for years however the one thing I miss from Windows is seamless gaming. I dual boot Windows however it is a pain to have to end my Linux environment to switch over for gaming every time as gaming is the only reason I need windows. does some type of application/os exist that will save the state of both operating systems and allow you to switch back and forth without having to manually power down and select your os via grub, while recovering the state of the other os? I have thought about dumping the ram to the hard disk and loading it next boot, however from what I have read it comes with a lot of challenges.

https://redd.it/ldzzf7
@r_linux
Respond to desktop notifications (from Slack) directly from dmenu/rofi

Hi. I use dunst as my notification daemon, and it's built in with this action list that launches dmenu, so you can choose between opening up the tab that launched the notification or whatever.

I get a lot of slack message notifications this way, and I realized it might make a lot of sense to be able to actually reply to a message received on slack by typing in dmenu/rofi.

I can't find any prior work on this really, I'm curious if anyones tried to noscript this together. If not I guess I'll give it a shot.

https://redd.it/le0l9d
@r_linux
Any free certification exams like Plesk certs exams

Just like Plesk has its certification exams for free.

Plesk Obsidian Professional
Plesk Obsidian for Linux Expert


Do you know any else IT exams which we can give without any fee (please don't say LinkedIn Skill Assessments)

https://redd.it/ldrxkg
@r_linux
How Linux made me BEST Intern in just 30 min. I LOVE LINUX <3

While my other friends are busy with learning javanoscript I spend my summer learning about bash and old school unix programs like awk, sed, cut, paste, grep, regex, etc. and during my internship I realized how awesome these programs are I automated all my internship work with bash using these tools, I earn lot of money by doing nothing. I even made a youtube channel where I show people how these small programs can make you a computer wizard.

Enough talk now let me show you an example of this -

BTW I also have a detailed Video explaination on this too.

So one day my boss gave me a very urgent task.

Task \- Find 300 short stories.

Conditions -

Stories should be Non Copyrighted. Means - I cannot pick stories from random website.
Remove all expletive words from Story's text.
Create google doc files for all 300 stories
Doc file noscript must be same as story noscript.
Do all of this in just 30 min (WTF?)

Note : Even my boss was aware this is almost impossible to do this in just 30 min. So he was just asking politely - Can you do this?

AND since he had lot of deadline stress. I said YES. Because I got an idea.

>Then I played mr robot [main theme music](
https://www.youtube.com/watch?v=XMEXPkPmmq0) and open Terminal \HACKERMAN* (sorry)

&#x200B;

First I need to get Non Copyrighted stories.

I can use reddit for this ( r/ShortyStories , r/shortstories, r/sadstories ). I can get stories from here.

So If you add `.json` in the end of any reddit url and you will get json output instead of webpage.

curl -s -H "User-agent: 'your bot 0.1'" \
https://www.reddit.com/r/ShortyStories/top.json\?t\=all\&limit\=300 > story.json

With this simple curl magic I got a `story.json` file which contain 300 posts.

Now with a simple python noscript -

$ cat
magic.py
import json
with open('story.json') as f:
lol = json.load(f)
for x in lol['data']['children']:
print("# " + x['data']['noscript'])
print(x['data']['selftext'])

$ python
magic.py > stories.txt

I fetched all noscripts & stories text from my json file. Notice I used `#` Before printing noscript.

Now with these 3 simple commands I remove all useless text written between brackets [\], useless urls and expletive words (I downloaded a badwords.txt from github which contain huge list of expletive words.

&#8203;

sed 's/[.]//g' story.txt
sed -i -e 's!http[s]\?://\S
!!g' story.txt
while read word ; do sed -i "s/\s$word\s//gi" ; done < badwords.txt

Then I use simple awk magic to split all stories into different markdown files -

&#8203;

awk -v n=100 '/^#/{n++}{print > n ".md"}' story.txt

Imagine doing this without awk! So this way I created 300 markdown files and each file contain -

# Title of story
And then some text of story

and My file names were like ->
101.md 102.md 103.md 104.md .... 400.md

Then I used pandoc to convert my markdown files into docx files

&#8203;

for f in .md ; do pandoc -s -o $f.docx $f ; done

Now I created a list of noscripts and then sanitize my noscripts to remove spaces and some special characters -

&#8203;

grep -E "^#" story.txt > noscripts.txt
sed -i -e 's/^A-Za-z0-9 //g' noscripts.txt
sed -i 's/ /-/g' noscripts.txt

Then I wrote this simple bash noscript to rename my files -

&#8203;

#!/bin/bash

i=101 # first file name is
101.md
while read noscript;
do
mv $i.md.docx $noscript.docx
((i=i+1))
done<noscript.txt

At last I move these .docx files into a stories directory and upload this directory on my google drive. Make a shareable link of the folder and send it to my boss.

OMG I Love Linux. Can you do this one Windows? My boss was very happy and he declared me best intern which means BONUS .. MONEY MONEY MONEY!

So Go on learn to use terminal and try to apply it in your daily life problems. because -

>Knowing is not enough, you must apply
>
>willing is not
Overview Linux Distros,Desktops (Everybody can help)

Hi I want to create a clear overview of the most relevant distributions + desktops especially for beginners to make their change to the right operating system as easy as possible. But of course i need your help to create a brilliant overview for anyone.
After finishing i will upload it in r/linux

In the following i will show you my thoughts how i would structure it. There is NO specific order just an overview of my thoughts (any advices,additions are welcome)
‼️Reminder only the most relevant (no gentoo,...)‼️


💽Distributions💽

1. Experience with Linux:
Beginner | Advanced | Pro

2. Base (head) Distros:
Debian | SLS | Arch

3. Main Distros:
Ubuntu | Red Hat Linux | Debian | Arch

4. Derivatives:
-Ubuntu
Elementary os | Linux Mint | Zorin os
-Red Hat Linux
Fedora | Cent os
-Arch
Manjaro


🖥️Desktop Environments🖥️

1. Resource consumption:
Low | Medium | High

2.Desktops:
KDE Plasma | Gnome | XFCE | Deepin | Cinnamon

https://redd.it/ldsoeq
@r_linux
Adobe Lightroom alternatives

Hello, I've been trying to move away from Windows into Linux and I now find myself in a pickle, are there any good lightroom like software available? mostly something with similar editing dynamic/ core features.

Ideally something that runs on both Debian and Arch-based distros, but just Debian is ok since I'm probably gonna move to Pop_OS due to its really good graphics support...and because I use Davinci Resolve.

https://redd.it/le6xho
@r_linux
What is happening when I press the number keypad with numlock on and random characters show up in my terminal as input?

It's happened before with Cisco IOS terminal access as well. Is it random characters from memory then? No need to ELI5, I'm learning assembly on ARM currently and the thought occured to me that it might have something to do with what's currently stored in the register that would've been used to input a number if the numlock was off.

Googling it only came up with people asking for help due to malfunctioning keyboards.

https://redd.it/le8tqc
@r_linux
What sort of things should a Linux beginner start learning?

I'm a noob to Linux. Okay not a complete noob like I know how to install stuff how to use terminal, root, SSH that kinda stuff but I feel like I can do so much more with Linux.


What kinda stuff should I start learning?

https://redd.it/le9sdr
@r_linux
Is there a self-hosted File Server program that's accessible via iOS?

I want to set up a simple dropbox type file server for my girlfriend to store her photos. She just got an iPhone for the nice camera, and now I'm stuck figuring out how to host a file server that can be intuitively accessed via her iPhone. Whether it's by the share function or an iPhone app, doesn't really matter much. As long as it's free and she can easily save, browse, and download files on our home PC over the internet.

https://redd.it/leddjc
@r_linux
Made a noscript to auto unzip files in your downloads folder

My job requires me to download a TON of zip files. Its a very simple noscript, but I recently lost it on a machine and really felt the difference. So I recreated it and figured I'd share with yall.

&#x200B;

Some notes, I have it run 6 times on a 10 delay, this is because cron doesnt get anymore precise than a minute, so this allows the functionality to happen every 10 seconds. If there are multiple files in the zip, it creates a directory, otherwise if only 1 file if will just directly unzip. It also deletes the zip, which you can remove if its too intrusive.

&#x200B;

cd home/falcon/Downloads

i=0
while $i -lt 6 ; do
echo "On pass $i of 6"
for file in ./.zip; do
[ -f "$file" ] || continue
lines=$(zipinfo -1 "$file" | grep -v "/." | wc -l)
if [ $lines -gt 1 ]
then
echo "Found multiple files, creating directory"
formattedName="${file%.
}"
mkdir "$formattedName"
unzip -fo "$file" -d "$formattedName/"
else
echo "Found only 1 file"
unzip -fo "$file"
fi
rm "$file"
done
sleep 10
i=$(( i + 1 ))
done

&#x200B;

https://redd.it/legm9g
@r_linux