#unix
1 messages Β· Page 35 of 1
use python3 -m pip instead of pip3 btw. That's less ambiguous
I did
also full output please.
But there is no pip I think
wait
nevermind,there is
Full output?
I have sent you a photo..
So because of permissions..I came to think it would get fixed if I went root
it did
that's just half of the output
also text is better than pictures, especially downscaled and cropped
Fine,I will get the error again,give me a minute
What the f****
it says installed successfully
I am confused at this point!!!! I don't like Ubuntu so mean π
I am so confused with Ubuntu I want to cry
do regex work with find in osx?
i feel like i must be doing something daft, I'm just trying
find . -type f -regex '.*?\.csv'
@rustic sky hrm, yeah that worked here as well, so my .*? was stupid, but I thought that was necessary in order not to just greedy match there
so I've clearly missed something obvious
yeah not sure either
maybe it needs -E
apparently not
i try and not use basic regex as it confuses me, but maybe i just use BRE for this π€
yeah i thought -E did that
not for find, no. that's a grep option
there's a difference between mac and linux find versions here then?
i didn't get -E to work anyway :/
seems to be
oh, that looks like BSD find on Mac then. e.g. Ubuntu uses GNU find.
yeah, which is kinda annoying
BSD is usually more limited in functionality
hrm, i need to get the GNU version then
@main olive that seems to vague for anyone to possible answer
WELL I CAN NOT TYPE IT IS TOO SLOW
it is like about to crash or something
72% memory, memory around 20-30 on average
I've been poking at computers for a loong time, and still don't have a quick recipe to diagnose slowness
I'd look at "top" to see if some process is using all the CPU. Then I'd see if some process is using enough memory to cause it to page ... then I'd look to see if some process is keeping the disk busy
turn it off and turn it on again...
seriously π
it my non-flippant go to i think
it's depressing how often that helps
yeah - if it's a personal system
and how rarely I understand why it helps
I'm trying to stress that i'm not joking though - yeah i agree, i just accept it and move on
at work I have a snippet from "The IT Crowd" bookmarked
how can i download linux cmd line on my mac? I just want to use the cmd line to practice commands
is there a website i could go to? on my PC i was able to download a ubuntu app that was just the cmd line
linux and mac are the same cmd lines?
yes basically
for the most part
they use the same shell
for example, bash or zsh
you probably use bash when you downloaded ubuntu on your pc
I think mac uses zsh by default now
they're very similar
Hi
@spice relic Anonymous is right in the matter that the two shells use the same syntax, but there are some pretty important differences between the binaries the two systems have (ie the commands you can run). If you want to practice Linux commands, you should get a Linux VM or Docker image.
what xx said
also you can get a cloud virtual machine for not too much money -- amazon ec2, linode, &c
@spice relic probably the easiest and cheapest option is to 1) use the built-in terminal; 2) install "homebrew". Homebrew will bring you a bunch of command-line programs that are more similar to their Linux counterparts than the ones that are built-in to the mac.
Install Linux
yes, very useful advice for someone running a mac
i learnt almost all of my command line stuff on my mac, if you want to learn how to use your computer from there, that works out just fine
if i want to add a new user and add it to group so can sudo: sudo adduser johndoe sudo adduser johndoe sudo Does this look right?
on Ubuntu LTS
yes
as far as i'm aware the standard way to go is to add the sudo group
okay ill do that then
I have a server listening to a port, but I don't seem to be able to connect to it. I have an SSH server on the same machine and connecting to that works fine. I've opened both 22 and the other port in the firewall. Running netstat -tuplen gives the same output for both 22 and the other port. If I run nmap against the server machine, only ssh shows up as open. Any ideas what my problem could be?
Nevermind, I was on a VPN and using the wrong IP.
How can I pipe this:
tar -cvf /tmp/backup.tar /mnt/somefolder
scp /tmp/backup.tar root@10.14.66.110:/tmp/
rm backup.tar
I would assume it is something like this:
tar -cvf - /mnt/somefolder | scp - root@10.0.0.5:/tmp/
but how would it know what the .tar file is called? I don't want to create the .tar file on localhost even if it is temporary because lack of space. I have enough memory. Even if it is lacking it can still use swap memory.
trying to install tensorflow 1.15 on manjaro and i'm getting this error every time ```[zora@cottage AIDungeon]$ sudo pip install tensorflow==1.15
[sudo] password for zora:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (from versions: none)
ERROR: No matching distribution found for tensorflow==1.15
do pip -V and show output
pip 19.3.1 from /usr/lib/python3.8/site-packages/pip (python 3.8)
weird thing is it was working this morning
i had it installed and for some reason python just decided to either delete it or just not see it
ah
how can i downgrade to 3.7?
ik these are completely noob questions and i'd usually be able to figure them out myself i'm just tired out of my mind rn
you can keep python 3.8. What I usually do is:
apt-get install python3.7 python3.7-pip
python3.7 -m pip install ...
@placid hatch I'd do something like
ssh root@10.0.0.5 'tar zcf - /mnt/somefolder' | tar zxf -
used this to create a semi-full backup of a rootfs from a device I can ssh into but not a lot of space on it
z flag because i've found that the potential transfer rate gains outweigh the overhead of compressing
if that makes sense
alternatively, you can just pipe into dd
if you don't want to extract
so something like
ssh root@10.0.0.5 'tar zcf - /mnt/somefolder' | dd of=backup.tar.gz
Thank you!
hey i had a quick question. if i had a chromebook that could only connect to vpns through the openvpn settings built in, could i use a .ovpn file to connect
All the info (ips, certificates, keys etc) should be easily readable if you open the ovpn file iirc, should be able to copy paste
Oops that was a day ago, bit late
guys i am trying to install vimn
vim
but
i get this error
sudo: apt-get: command not found
i am using mac btw
And Hyper terminal
I searched this but i couldn't be able to find the solution
macOS doesn't doesn't use apt thus no apt-get command
You could probably install vim with homebrew
so can't i use any command to download vim from terminal?
Homebrew...
homebrew is "an app" the same way apt is "an app"
I got a recommendation to put one of my SSD volumes on f2fs. I'm using OpenSUSE and I'm reading it's no longer an option for this OS. Has anyone experienced this to be true?
Really basic question here. My exam preview asks the following question:
What is the output for:
$ ls | *.csv
I understand what each piece is doing independently, but I'm not sure what piping ls to all .csv files would achieve and attempting it on my computer gives me the following error:
'*.csv' is not recognized as an internal or external command, operable program or batch file.
Which makes sense to me, but obviously the professor expects this to work and it's driving me insane.
Sorry for my lack of proper code formatting. I'm not sure how to format code blocks on this server yet (this is my first actual post here), so if someone could point me in that direction as well I would be grateful. Thanks for any and all help!
Exactly. π
Have you asked your professor or classmates?
She just made these available after our last period and the exam is tomorrow, so probably no time for that.
I guess when she asks for the output, I'll just write down the error message.
Haha
maybe it was a trick question all along
or just a typo. another thing that would make sense is
ls *.csv
Maybe so, though she hasn't used trick questions for any of our other exams so we'll see.
I appreciate the second opinion, Mark. I thought I was missing something fundamental about piping output.
Maybe I am missing something too π€
seems to me that if you typed it accurately into your command line, then whatever you observed is authoritative
She's gaslighting us all
You're right, I should trust the command line more than any prof. I've had some doozies before where I've had to ask for a regrade because they marked me wrong for valid code.
my hunch is that she's got a typo
which boot option did you pick? I couldn't read it
anyway: boot from one of the other options, or a "rescue" thumb drive or something
its notme
my advice - stop trying to install Kali
only use it off live USBs or in a VM
there is no reason to install Kali
installing Kali is a bad idea
@main olive
sessions should be nested with care unset $tmux to force
why am I getting this message when trying to launch a session
that happens when you are already in an attached tmux session.
detach or kill current tmux session then start a new one.
Hello π Does anyone know where i can go to download the new python, or what command it is? (i have version 2.7.16 and need the updated version)
Which version do you want to get
^ they're on a Mac
I believe its the one above 3, one thatβs able to run async and that stuff π Forgot the exact number, i could look it up if needed
3.7
Yeah that
Well, the simplest way to do that is through python.org
is there like a specific place i need to go to download it? When i downloaded it, it just updates python3 and my other one stays at 2.7
hm, well for python i have 2.7 and python3 itβs updated to 3.8 but async still shows up as syntax errors
I actually assume you do have both Python 2 and 3, but your editor is using 2
How do you import async @cosmic pine
Well, i have a screenshot of the code i have in #async-and-concurrency . Iβm not sure 100% since i just started trying to code with tutorials
could you run a terminal and enter python --version and then python3 --version?
Python version: 2.7.16
Python3 version: 3.8.0
then yeah, you do have both (which is normal in MacOS and any Linux distro)
you should find a way to tell your editor (if you want to run your program from there) to launch it from python3 and not python
Yeah that makes a lot more sense lol. iβll try looking that up in a bit. Thank you again for your help, and saki! ^^
Is there a way to update my python3 command to run 3.8 instead of 3.6.9?
what OS are you on
Ubuntu
ubuntu's pakage manager lets you choose "cutting edge" software sources.
I don't remember the details, but you can do it somehow.
Also building your own from source is possible, although tricky if you're not used to doing that
I can't find any info about changing that online
don't try changing the distro's recommended python version
instead, use a pyenv to set up a 3.8 environment if you really need that over 3.6.9
anyone here ?
!ask
Asking good questions will yield a much higher chance of a quick response:
β’ Don't ask to ask your question, just go ahead and tell us your problem.
β’ Try to solve the problem on your own first, we're not going to write code for you.
β’ Show us the code you've tried and any errors or unexpected results it's giving.
β’ Keep your patience while we're helping you.
You can find a much more detailed explanation on our website.
it's been a while since i used tmux but what's going on
I'm trying to launch something with a new tmux session..
but it says I'm already in a tmux session and asks to unset
hmm it does seem to be the case..
tmux ls
383089679: 1 windows (created Wed Dec 18 11:28:17 2019) [244x35] (attached)
Hi can i jump in there ??
''''
#!/bin/bash
read -p "Enter your new project name: " project_name
read -p "Enter path for new project: " project_path
if [ -d "$project_path"/"$project_name" ];then
echo "project already exists"
else
mkdir -p "$project_path"/"$project_name"/{doc/{visuals,words},data,results,scripts,tmp} | echo "Creating folder structure for $project_name!"
fi
''''
!format
uhh how do i format here on the discord??
anyway the script is just to always have the same folder structure for my projects.. what i wanted to add was an alias in zshrc for every project so I call access main project folder from anywhere
there are tools for that kind of things, z for example is a shortcut to jump the most recent folder of a specific name you went to, https://github.com/rupa/z/ or fuzzy search in shell using fzf is quite nice too.
but if you really want what you asked for you could just use something like echo "alias $project_name='cd $project_path/project_name'" >> ~/.bashrc at the end of your script
to format code on discord you use triple backticks, like this
```
your code goes there
```
@south star thanks !! i also found a plug in for Oh my Zsh called pj which should allow me to jump to any project on PATH
Might be a dumb question, but why do you need to install Python 3.6+ via an external repository on Ubuntu 16?
Is it because it's no longer maintained?
probably
at some point they maintain only for security not new significant versions of packages
Right
there's also the goal of stability
ubuntu 16.04 is maintained until 2021 due to being the LTS version, but
16.04 is still maintained. But they normally freeze the "main" version of software an LTS release comes with and stay with that.
it's assumed that if you're using that it's specifically because you don't want to be updating to new versions of everything every few months and dealing with whatever's changed
so as 16.04 was released with 3.5.x, it stays with the latest 3.5
the theory is that if you wanted a new version of python why wouldn't you want a new version of ubuntu
@oak shell Ah that makes sense. Thanks for clearing that up
easiest way to get newer (also older) Python versions on Ubuntu LTS is the deadnsakes PPA.
keeping 16.04 around this long is something that only really makes sense if you have an app that works and you don't want to rock the boat
@oak shell That's what I did, but I only asked to see if there was a better method.
I guess there isn't.
the better method is to upgrade ubuntu π
@worn apex Wish I could, but the computer I needed to install python 3.6 on can't handle anything after 16.04.
Try a more light weight linux
Manjaro xfce is pretty lightweight but I'd recommend mx Linux. Comes with Python3.7
Hi All! Looking for someone to do a code review on a python utility I wrote for Arch Linux and Manjaro. Not sure where to post it since an understanding of linux package managers is a must.
It already has a number of users and I would like to get it in a clean stable state. Thanks for the help
I can't do a full code review, but send me the repo link and I'll check it out
I'm pretty familiar with pacman
I try and keep the master branch stable so that is my most recent feature fork^^^.
Hi! Does anyone know of a way to display braille in bash?
I have this, which works awesome in PS, but not bash.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Takes a number as an argument and returns braille
import sys
try:
number = int(sys.argv[1])
if number < 0:
raise ValueError()
except ValueError:
print(f'Please enter positive integers only.')
sys.exit(1)
braille = ['β ΄','β ','β ','β ','β ²','β ’','β ','β Ά','β ¦','β ']
def converter(number):
brailleComp = []
for i in range(0,len(str(number))):
brailleComp.append(braille[int(str(number)[i])])
brailleComp = ''.join(brailleComp)
return brailleComp
# print(converter(number))
# # Test
# for i in range(6,9):
# print(converter(i))
Hello all, updated my mx Linux with mx test repo packages and now after about an hour of idle, I get this screen, anyone know what it is? Seems to be connected with the firewall I guess...
Weird so I'm booted into xfce, and my screen goes to that. That's the weird part. And only way to get out is to shutdown and restart
Desktop environment is crashing?
@main olive ctrl-alt-f1 or ctrl-alt-f7 don't drop you back into X?
What would be the easiest way to make a currency system on linux?
I would need a program that allows users to do certain things to earn coins, which
they can then spend, but if they logout should still remember their exact amount
Sorry guys off to vacation guess I'll have to try to fix it after I'm back. Ty
@magic basin use a ledger system, there are a few around
when i upload files to my ubtunu 18.X server the encoding gets changed to the file is there any way to change that?
I'm really happy with what i did
XD
i really begginer
And i did a snake game in terminal
:D
I know this is nothing but i like it
XD
@simple phoenix how are you uploading these files?
if you use something like scp, it should be a 1:1 copy
what do you mean by "encoding gets changed"
well as example my file has a trashcan emoji in it
it will get changed to gibber text
hey guys im a newbie, I wanted to gain some core knowledge and get my hands dirty on this operating system
first off, what is the difference between unix and linux
and regarding running linux on my windows laptop im assuming i can just get a virtual machine and use that
also whats the significane of running python on linux operating syste
@south star what is that?
what is what?
@main olive https://youtu.be/jowCUo_UGts
Unix was started by Ken Thompson, Dennis Ritchie and some other engineers including Brian Kernighan back in the early 1970s. It has a long and illustrious history. But then Linux came along and things changed. How is Linux different to Unix? Are they the same thing? Please, l...
@main olive
and regarding running linux on my windows laptop im assuming i can just get a virtual machine and use that
Yes
Depends why people use Linux, some for customisation, some use it since it's open source
@main olive with the inbuilt editor
i also downloaded them off the server and they are gibberish
@magic basin oh, a ledger system, well, that's what accountant use to manage money, it's a sequence of entries saying how much money goes from where, and to where, sometime with multiple inputs and outputs, so A and B are sharing a payment to C and D, you can say A -> -10, B-> -5, C -> +7, D -> +8
and you can add metadata to this information, the transaction date, a description, etc
I have a quick question: Can network block devices be routed or only switched? The internet is very sparse with that information.
I know Fiber Channel can be routed if used with FCoE, but that isn't really NDB anymore, is it?
Can anyone help with gpg?
Asking good questions will yield a much higher chance of a quick response:
β’ Don't ask to ask your question, just go ahead and tell us your problem.
β’ Try to solve the problem on your own first, we're not going to write code for you.
β’ Show us the code you've tried and any errors or unexpected results it's giving.
β’ Keep your patience while we're helping you.
You can find a much more detailed explanation on our website.
Annoying thing that is making me go crazy: after doing an apt upgrade a few days ago something seems to have decided to mess with my iptables on every boot (input and output set to block). I installed iptables-persistent and it runs fine but whatever that rogue thing is it's running afterwards, so I have to manually set the rules in terminal. Anyone know a sane way to diagnose or fix this?
I've had something like this with another program... what I ended up doing was move the iptables binary somewhere else entirely and replace it with a wrapper script, which had something like this in it:
#!/bin/bash
< /proc/$PPID/cmdline tr '\0' ' ' >> /tmp/whocalled
/my/real/iptables $@
@warm wolf what this does is it logs every call to iptables before executing the real one
ty that's smart, I'll give it a try
oh, you should probably echo a newline into that file as well
otherwise it might get very messy very fast
I think I even redirected /proc/uptime into that file as well to make it a bit clearer when something was being called
@warm wolf let me know when you find out what it is, I'm curious
/usr/sbin/nordvpnd lmao. well at least it's blocking all network traffic so it can't be sending my private info π @main olive
thanks for the help though, wouldn't have thought of that
bad choice to make it opt-out instead of opt-in, though
oh I had kill switch enabled before, it's just it used to only block connections if you temporarily lost connection to the vpn for example, not for all the time you're not connected. still not a very user friendly way to do it though, should be an extra opt-in like you said
ah I see
how do i install git onto server?
Which distro
what does that mean?
Which OS?
Debian
Operating System
sudo apt-get install git
run that command in the terminal to install git
You're welcome
@native sluice for future reference, "how to install git on Debian" on Google will help
Hello guys, I'm currently going through the book "the linux command line"
but I'm on a mac
would you say it matters?
or should I install a linux distro
it does and it doesn't.
for example, sometimes the --long options doesn't work on mac
yeah, Mac is from a slightly different branch of the "unix family tree"; you'll find a lot of little discrepancies like that.
you can install homebrew, and get their versions of the various tools -- they're generally much closer to (often identical with) the linux versions
or you can install (say) VirtualBox, and then install a genuine Linux distro, and run it
that's a fairly large download, and requires a bit of effort; but it works well
you could use "vagrant" to make it easier
parallel iirc means you reboot your laptop, and then get to choose to boot Mac vs something else
I've never tried it, but I figure it's kind of inconvenient
I already have homebrew
with vagrant/virtualbox you don't have to reboot
ah, "where to learn it" is not going to be super-easy: homebrew has plenty of docs, but as you've probably noticed, they all assume you know a lot about linux
what is homebrew exactly?
I'd try virtualbox, and perhaps vagrant to make it a bit easier to use (although it's not that hard)
it it like a package manager
homebrew is a collection of free software that's really easy to install on a mac
yes: they call themselves "the missing package manager for mac"
so you could say, right now, brew install findutils, and you'd then gave "GNU find", which is more unix-y than the version you now have
so basically intsalls software for mac that matches that of linux
yes.
this is so complicated though
it's still not exactly the same, but it's much more similar than what you now have
I just started to learn programming
this stuff is only somewhat related to programming
you can do plenty of python without homebrew or unix
is unix the command line language?
another option, if you don't mind spending some money: get a cloud host, like from Amazon EC2, or linode, or something like that.
Unix is a family of operating systems, all of which traditionally come with a command line.
MacOS is arguably unix
oh
but there are "branches" of the family tree; Linux you could say is on the "GNU" branch, whereas MacOS is on the "BSD" branch. They are sort of cousins.
or they're like chimpanzee versus organg-utan
ok
Basically the history for MacOS goes
Unix -> BSD -> more BSD -> XNU (MacOS)
and linux
Unix -> Minix -> Linux
similar in many ways but also different in some ways
nothing wrong with that
don't really need linux for programming now
if you're programming, you won't run into many differences at all.
I regularly write little python toy programs, and they work exactly the same on MacOS as on Amazon Linux, for example
you open a command line and enter homebrew
ok
that's es
is says command not found
oh that means it's not installed
I just pasted the install command on my laptop
yeah, it's brew
you can install gnu coreutils via brew, which is (probably) what your book is based on
Id like to install Mac os on my little bros laptop... Tired of saying no you can't borrow your sisters expensive ass macbook
But I dont know where to start
Or if this is even possible
Does it have upgradable wifi card
How would I check
Sounds scary
Yeah it looks like you can pop the card out
Mind taking a pic?
@white solar Sorry for the late response, i spoke with my bro, he said he wants it on his Dell instead, so i had to open that one up. The bottom one right?
Says wlan so I assume so
What are the other slots for
Ye nice
Other slots are for more network cards
The Dell XPS 15 9570 is considered by many to be one of the best alternatives to the MacBook Pro 15 - what happens if we run macOS Mojave 10.14.5 on it? Hackintosh time!
In this video I talk about what works and doesn't work, performance under macOS, and tips and tricks for ...
@white solar Cool, how do I start? Looks like I need to make a bootable USB, need to use my own macbook for it?
no theres a few tools out there
you need a way to burn an iso onto an usb
and to burn an iso is to somehow acquire macbook
gibMacOS
this is why I keep my macOS VM around
might need to use hackintosh-related tools which only work on macOS
xcode, i guess, and an ios simulator, if you want to try iphone/ipad stuff without the hardware
Can anyone help me with a networking problem? My laptop can access Google, Facebook and YouTube but can't access websites like stackoverflow, reddit, udemy etc
Im using debian
curl -vv https://stackoverflow.com/ > /dev/null
Hello, I need to import a script/module as root user. That is all.
import rootscript
rootscript.testclass.examplefunction()
Yes i know that i can run the script with subprocess module and i tried to find a different solution but it would help me a lot if i could just do it like i asked above.
Thanks in advance !
feel free to ping me
a process runs as root or not, you can't have part of your app happen "as root" and not others
so either you run the whole script as root, or you use subprocess to run this part as root
ya but with subprocess y execute the script as in command line
π€
ok ok... i am using the cat command, to print a text file with the text: the cat jumped over the dog. how can i make the words cat and dog a different colour when it's outputted?
and the rest of the text plain white.
I actually don't know. I could write a python program to do it, but that's not really what you're asking.
well actually python would work but maybe it would be a little slower?
not enough to notice
@magic basin print it in parts then
"parse" your input to see if there are any words in it that need coloring
if not, just print the input as it
but if there are some need-to-be-colored words, print the input plus whatever mojo you need to color those words
^
so im trying to install chromium os on a spare surface 3 i have. i got it to boot the usb, i get the chromium splash but then it nothing ever happens. it just finally goes to a black screen ( i think turning off)
Is it faster to print in python or to use os.system(βecho ...β) @south star
print i'm sure
os.system needs to start a subshell, so a new process, with your user's shell inside, setup variables, create input/output streams, and then inside that a new echo process, unless it's a function in that shell, and again input/output, etc, print just write to an existing output stream
the difference in time would be negligible unless you print millions of them i'm sure, but why would you prefer to use os.system for that i can't imagine
starting python is slow, if you start it thousands of times just to print one thing each time, it's clearly wasteful, but once it's started, you can do a lot with it and that's fine
gabriel@gryphon:~> time echo "exit()"| python
________________________________________________________
Executed in 59,34 millis fish external
usr time 36,82 millis 3,02 millis 33,80 millis
sys time 15,02 millis 0,00 millis 15,02 millis
13:55:41 29/12/19 5,06/ 100% 59
gabriel@gryphon:~> time echo "exit()"
exit()
________________________________________________________
Executed in 104,00 micros fish external
usr time 99,00 micros 99,00 micros 0,00 micros
sys time 6,00 micros 6,00 micros 0,00 micros
13:55:46 29/12/19 5,53/ 100% 0
gabriel@gryphon:~> time echo "exit()"|cat
exit()
________________________________________________________
Executed in 1,75 millis fish external
usr time 447,00 micros 447,00 micros 0,00 micros
sys time 1204,00 micros 140,00 micros 1064,00 micros
@south star exactly, iOS simulator and a few jailbreak-related tools come to mind
among others
yikes, now I've got a Thin Lizzie song in my head
ββ© β―βͺ Tonight there's gonna be a jailbreak ... somewhere in this town β« β¬
how can i compile python code to binary ?
i am suing python3.8.1
i tried nutika but it doesnt support python3.8 yet..
and for some reason i can't install python3.7 which is supported
I have setup a linux user and tried to limit its access to one specific directory. However when trying to connect using FTPS using FileZilla I'm getting
Error: FATAL ERROR: Network error: Software caused connection abort
Error: Could not connect to server```
I'm not sure how to troubleshoot it
in /etc/ssh/sshd_config I have the correct settings afaik:
Match user gta
ForceCommand internal-sftp
ChrootDirectory /mer/
Oh and it worked before I changed the directory permissions of my /srv/fivem directory so basically because it caused this issue I'd removed the user, the directories and restarted with the information about, in directory /mer/ and with user gta
also for my main user wiht sudo power it does work which is ... strange.. because gta is a fresh user
is there a way to unset HISTFILE in vscode's launch.json for python debugger? its polluting my history, reverse search becomes impossible
@rain moth I set the following in my .zshrc, you can put it in your .bashrc or whatever
if [[ "$TERM_PROGRAM" = "vscode" ]]; then
unset HISTFILE
fi
or the shorthand
[[ "$TERM_PROGRAM" = "vscode" ]] && unset HISTFILE
if that's your thing
mind you this also disables history in the integrated terminal, but I personally never use it
@main olive thank you fam
i ended up writing a postDebugTask in python to delete the vscode debugger commands from my history, each command is like a page in length with an ungodly amount of arguements lol
with fileinput.FileInput(filename, inplace=True, backup=".bak") as file:
for line in file:
print(re.sub(r"source.+|.+runserver", "", line), end="")
yeah they're pretty long
i'm having a user run a python file in their .bashrc when they logon... this python file also opens other files.. but i am getting the error message:
python: can't open file 'setup.py': [Errno 13] Permission denied
well then check the permission flags for that file with a quick n dirty ls
it seemed to have stopped working when i edited it using root... is that a thing?
do files suddenly stop working after root has edited them?
files of course dont stop working
but if root owns the file of course other users dont have read or write permission to it unles you explicitly set the corect flags
@magic basin of course that's a thing. The file is probably now owned by root.
A good text editor will make sure that doesn't happen, but ...
@magic basin chown the file
Hello, I've launched a python program with the -m option, I'd like to know how to kill it. I tried pkill my_prog but it didn't work
idk if it's the proper way to do it, but I'd just find the process's pid using ps ux | grep python and then do kill <pid here>
no ps|grep please. You can use pgrep for that. pgrep -af for showing and matching the complete command-line.
and pkill -f for killing all that matched with the same pattern you checked with pgrep -af
Yep, I used prep -af to find the process id
@oak shell thanks, what's wrong exactly with ps|grep though?
it's mainly less convenient. e.g. you'll always get the grep process listed too, and it matches across all columns of the ps output, not only the command.
Another silly question. I launched a python program on the shell via ssh and I would like to close the shell (and/or the connexion), without closing the program.
for human eyes it's good enough because you can filter it further and pick the entry you want, but especially scripts should not use it, because working around those issues requires much more complexity than simply using the tool made for the job
You'd need to start the command with nohup/disown, or e.g. in a screen.
Or if it's something you want to have running permanently, like a bot or server, you should make a systemd service for it instead.
@oak shell ah right, sure
I'll into systemd, but for a quick fix, I think nohup is perfectly what I want
nohup worked perfectly, ty
for ip in 'seq 1 254' ; do
ping -c 1 $1.$ip | grep "64 bytes"
can somebody explain me what this sequence thing does en what $1.$ip exactly defines?
$1 is the first arg given to the script
$ip is the current number in the sequence of the for loop
seq just creates numbers from 1 to 254
and the for loop does a ping and grep for each number
thank you : )
Hi All, looking for someone to do a code review on a project I have been working on for a while. Experience with Arch Linux or Manjaro is a must since it is a project designed specifically around the pacman package manager.
Many Thanks
well, enter, login, and type journalctl -xb as suggested
While vagrant was installing it was altering boot files
I've been trying on it for a while, I'm on page 7 of Google
I guess I'll have to do a fresh install :/
The main problem seems to be the last red error, about the dev-mapper-isw_whatever.device
that looks like it's trying to initialize some RAID array but failing for whatever reason.
could you systemctl status dev-mapper-isw.... (use TAB to autocomplete)
I did wipe root just now :/
Problem is I need vagrant to test my deployment scripts
Idk what else to use
That's all I needed it for
not sure if vagrant can be to blame for that. Might also be a hardware problem that just occured now as a coincidence π€
you said dual boot, does the other OS on this array still work?
I have a install bash script that intun whenever I chance distros
I rebooted after each install until vagrant was installed
Tested it 3 times with fresh Ubuntu installs
Vagrant always sent me to emergency mode
Yeah windows loads fine it's not affected
It's on its own set of partitions
hmm. I only used vagrant once, not much experience with it or knowledge about what it does that could have an effect here
I would tar my root if you ever thought about installing it lol
Burned a whole day recovering settings
vagrant might be installing, or messing with, some virtualization stuff
Yeah I saw it in the terminal it was messing with /boot
How do you guys test deploying a Django app for example, do you just test it on the cloud instance?
You could use a regular VM, or just localhost?
It's my main development machine I didn't want to bloat it
Virtualbox works fine, can I ssh into that?
sure
Thanks will try that
just gotta install an ssh server in your vm
testing deployment is hard
sure you can deploy it to a test box ... but that box is probably different from the real box in some important ways
You're right fam, vagrant worked before I rebooted and it didn't even ask for sudo lol
you can try systemd-nspawn & debootstrap
from the cmd line i did printenv | less and the next screen ends with (END). how do i go back or exit out of this?
press Q to exit less
or, more precisely: q
ahhh thanks
is it best practice to use underscores for spaces when naming files?
yes
spaces in file names break all sorts of stupid tools
they're stupid, but sometimes you need them
underscores or just dashes
I personally think dashes look better for lower-case-things and underscores for UPPER_CASE_THINGS
i'm in this predicament, i installed minimal iso of debian buster, but in order to get access to the internet i usually have to go thru this procedure of logging into the intranet of my dormitory. But I can't do that with no browser, can't have no browser with no gui, can't have no gui without installing it, can't install it cause got no internet. Anyone got any clue whatsoever how to deal with this?
underscores and dashes are both safe in file names
although I wouldn't start a file name with a -, that might confuse some unix-y command-line tools
@main olive headless browsers do exist
yeah sure, but probably not preinstalled...
Surely you can install a package offline
and whether the dorm capture portal is supported is another question
By transferring it via portable storage
Ive never worked with headless browsers, and never actually tried to look for/install packages offline. Could you provice any more specifics?
I can load some packages onto a flash drive and presumably install it that way, but I can't imagine logging into anything with no gui. how's that work?
@main olive links doesn't work?
@main olive what is links?
console based browser
I haven't tried anything yet, @school now. I read on some headless browsers, still dont fully understand how the interaction works
ill try it
commonly included with distros, IIRC Arch comes with it
not sure what you're running
i got debian buster minimal, nearly nothing
will need to hand install it
ah yeah probably need to use usb or something to install it
alternatively, use Burp or something to see what request is made to the web gateway and repeat that on the Debian machine with curl
its basically an extremely basic login screen that runs on a mikrotik
even more alternatively, share a connection from an already connected machine
if nothing else helps ill just do manual post
and pray it works
idk which chat to use, but i'm getting this error trying to ssh into my ec2 using Secure Shell App
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
NaCl plugin exited with status code 255
i tried chmod 400
So I heard that it is better to use Linux for Python app development, can someone explain the reasons of that?
- That's totally subjective
- Even so, I agree with it because Linux is much centralized in terms of software packages and whatnot
I'd say it's only 50% subjective
How so?
Python is open-source; most open-source was designed, explicitly or implicitly, to run on "open" platforms. Linux is the only open platform. MacOS isn't too different, but Windows is very different.
Uh
So if you use Windows, some stuff will work fine, but I lot of stuff either won't work at all, or will require you to do relatively obscure stuff
e.g., on Windows, some python packages are hard to install because they assume you have a C compiler available; I don't think that's the case on the average windows system
sure but the world includes more than "pure python code".
Well yea
and we don't know what @clever skiff intends to do; perhaps image manipulation, or buidling a GUI
Which are fine on windows without a C compiler
shrug
wrong examples, perhaps.
let me rephrase: I have explained why I prefer Linux for python development. Others may have other opinions.
how do i rename a VM using VirtualBox? When I go to the VMs settings the name is grayed out
do you have any VMs running? (I didn't realize this question was asked an hour ago)
@spice relic you need to fully stop it, not just suspend
? You just create them
I'm not sure I understand the question
you can make any number of snapshots
where are the saved states?
i only know that if i exit the vm it asked if i want to save the state
oh do i just slick Take whiel the VM is running?
yes
oh i didnt know saved state isnt the same as powered off π
that's what I said earlier
oh i missed your comment mb
I think this is the right channel to ask this
if I want to dual boot Ubuntu, can I just shrink a volume on Windows to create empty space, and then install from a boot drive?
i.e. I don't have to explicitly create a partition on Windows
shrink from the boot drive, it comes with a tool for it (gparted)
shrinking a mounted and in-use partition is a bad ideaβ’οΈ even if windows let you do it
how come when a snapshot is created, it appears as if its a child folder? It makes me think that if I delete snapshot 1 it will delete everything under it
I think it will
That is how it works in vmware at least
They are incremental snapshots rather than full ones each time
Deleting snapshots won't revert the current state though
hey all, I'm trying out systemd after it was recommended by someone here for my discord bot stuff. I was wondering, if I have a service set up to start on system boot and restart after a crash, but want it to be able to shut itself down without being restarted, how would I do that? could it be done with just the systemctl stop command and os.system, or is there a better way?
I've currently got an async program that can start a bot and establish a socket connection with it but someone in this server suggested systemd instead for monitoring multiple processes
So I am trying to run a jar file but it is throwing errors, I saw online someone said switching to java jdk8 fixed the problem. Now when I try to install the jdk is keeps throwing errors saying its decepted now, when I run java -versions I can see I do have java jdk-8. Now how can I run my jar file with jdk8 instead of 11?
Without uninstalling 11
not really UNix, not really python
this is also kinda the python server
Yes it is, but this is the unix channel
I would agree if I posted in the standard help channels
it's unlikely that Unix has anything to do with your problem, just as it's unlikely that the air in your house has anything to do with your problem
it's unlikely that Unix has anything to do with your problem, just as it's unlikely that the air in your house has anything to do with your problem
@fickle granite why are you so salty?
"decepted"? You mean "deprecated"?
Also you didn't state any details about what OS you use, what kind of Java you installed and how, etc. That would be required.
And the full and exact output with these error messages would be good too.
I figured it out. Running java jdk8 throws the same error though. It is: Exception in thread "main" java.lang.NoClassDefFoundError: javafx/fxml/Initializable
lmao
I am running ubuntu 18.04
@red raven Actually you should have used update-java-alternatives, because there's about a dozen commands related to java that all need to be updated together - which this tool does for you. Also for JavaFX you need to sudo apt install openjfx, as that library is packaged separately from openjdk.
i have a very weird question - how can i set specific computers/devices to connect to my server via ssh? i am talking about restricting users to connect from only one device
(i am trying to implement some form of anti-account sharing system. sure, i could just block other IPs under the same username, but what if their IP changes, or they use a dedicated VPN... anyway, how would one do this?
can i filter mac addresses in /etc/hosts.allow and if so, how would i do it?
can someone please help me to install shell in a box, i set it up and i am getting refused to connect error
Hey guys I am currently working in a WSL with Ubuntu and have been trying to use the rsync command but it is not transferring over the files
@toxic patio
https://serverfault.com/questions/878887/rsync-server-using-windows-subsystem-for-linux
Look here
cut -d ' ' -f "some code here" $@
input data eg.
1 2 3 4 5
first number should be as a field's number and rest as a argument list for cut command
I though about using 2nd cut right there, but I don't know how to place it
like so (it's a concept - does NOT work)
cut -d ' ' -f (cut -d ' ' -f 1 $@) $@
but I think inner $@ will steal all arguments, so outer cut won't have anything to work on
so for 1 2 3 4 5 you want 2 as output, 4 12 34 56 78 90 would be 78 etc?
@main olive I think you can do that with a single variable expansion directly in Bash.
echo "${@:$1+1:1}"
this syntax does slicing of the positional argument array, returning 1 element starting from the index $1+1 (+1 because we want to skip the first item that works as index parameter)
myfunction() { echo "${@:$1+1:1}" ;}
myfunction 4 12 34 56 78 90
# output: 78
friends don't let friends write Bash
better than PS or cmd scripts
certainly better than cmd. Dunno about powershell; I've never used it. (It sounds like it has some good ideas, though)
I've only heard good things about powershell
My understanding is it can be quite powerful as it has access to a (subset?) of .NET APIs
It's not like shell scripting where one relies on subprocesses
Well, maybe that's the wrong word. I mean it doesn't need to delegate work to external binaries like awk, grep, etc
it is powerful, but its awkward
what I like and simultaneously dislike about Powershell is that everything is an object
it makes some things beautifully elegant and other things fugly as hell
mind you, most of my experience with it is due to Yara or similar
yeah, that was one of the big ideas about it, didn't use it much, but it does seem kind of weird, for a shell language, and definitely different from the simplicity of piping (even if this simplicity makes it very limited in some situations)
worth getting linux as a applied physics major?
@weak estuary what does "getting linux" mean?
change windows for a linux distro @digital haven
@weak estuary depends what you're using it for
if your course uses sw that's all windows then there might not be much point
ehm general engineering programs and questions, school related work only
and private projects
school pcs use ubuntu linux
if you want to use linux and there are no dependencies on windows from uni then it can't hurt really
is it advantagous in the long run?
i mean it seem to get pretty good because of the cmd
it's a massive "how long's a piece of string" question though. If the question is "is knowing how to use the terminal useful" then my answer would be yes, it's useful
and then some distros makes you able to customize all which seems fun
linux won't make you good at bash scripting, or shell scripting, i think plenty of people use it without
but ppl been telling me windows command line is bad
use linux
i personally find windows cmd to work decent
cmd is crap afaik yeah ha, I've never had to use it though π
ah ok , well if it's working all good i guess... like i say - i've never needed to use cmd
because i don't use windows, mac / linux, yes
i see, which distro do you recommend?
don't think it matters, lubuntu is fine
i wouldnt mind changing to ubuntu, but somehow i in someway crash the installation
i get my usb bootable
then when i click install in the preview env, it freeze
i thought asking someone at uni next week
can't hurt... whenever i've installed i've just wiped windows and replaced
i see, is it hard to setup the environment to work
like eclipse and stuff
in path variables
idk i don't use eclipse, but i expect it's pretty straight forward
okay ill keep it in mind thanks
π imo thinking about which distro is a waste of time
lubuntu is light and you'll find solutions easily bc it's ubuntu based.
you'll have terminal/browser/editor open... they all look pretty much the same at that point
personally i don't care as i have browser/editor/terminal... it's easy to dl yes
idk, not been an issue for me
You can also install Linux and Windows giving you the option to use whatever you prefer at the moment. You could also install a virtual machine with Linux on it.
At home I am using Windows because most programs only support Windows. At work I have Windows but I have a virtual machine which is where I'm spending the majority of my time. And in my spare time when I'm programming I SSH into a headless VPS (no Desktop installed). I still develop on Windows but I deploy on linux machines.
Getting linux is worth it and if you aren't familiar with it you should get familiar with it. But you shouldn't feel limited. Linux is arguably better than Windows but Windows is a lot of times more convenient. I do all my documents, presentations, drawing graphs, checking mails on Windows.
@weak estuary
could someone take a look at #help-grapes that is familiar with linux
less python problem more linux problem but unsure where to ask this problem
i don't think that's common now, but it's true that there are always some computers on which installing requires more fiddling than others, the alternate installation (console based, not graphical) can work better in such situation, but sometime just passing a few parameters to the kernel at boot can help as well. it's always good to just google the model of your computer and "ubuntu installation" and see if people reported problems and solutions.
i've been using linux for a long time now, and very happy with it, i do think it's useful to learn shell scripting and a bit how your system works, usually you do that more when using linux than using windows.
@placid hatch okay thanks for the information, but how about memory in a virtualbox? when you download eclipse to it lets say? in dualboot, you split then memory or disks, how about here? i just download more stuff in my disk? can i remove things from my windows pc from the virtual box? or do i even need to download programs which i already have on windows? just checking where the constraints are, you know?
anyone kept up with Mint? is it still a viable new-user distro?
i just haven't heard much about it after whatever scandal went down
@uneven silo I wouldn't use Mint. Ubuntu Mate seems like the more reasonable choice
For a retrospective future.
A community developed, Ubuntu based operating system that beautifully integrates the MATE desktop.
Learn more
Which linux OS is better for programming? Like, in general, which one would you guys recommend for someone who never ran linux before? People keep talking about how linux is better for programming so I decided to give it a try on vbox. Currently using w10 pro on host
It's mostly personal preference
My suggestion would be Debian but I've heard Mint is also a good start
Yes. I've programmed for years on Windows and never really had an issue with it. I do like my current OS (Ubuntu 19.10), but I'm not sure if I would say it's always "better for programming"
I don't know, it's just what I heard on basically every youtube video. Since I just started learning the area I was confused a bit on why
So, Mint and Ubuntu
Since it's on VM I can test both I guess
Well usually installation tutorials are made for UNIX system
For certain areas of programming it may be better cause it gives you more control over the system. So it's for power users, and that can be useful when programming.
In general programming is perfectly viable on any OS
For beginners errors can be more harmful too
You mean one of my errors can be more harmful?
That's surely something to keep in mind lol
Well like Mark said, you have more power on your system, which means a wrong command could do more damage
Yea makes sense
Mint looks very good, I will probably start with this one. Thanks guys
R.I.P Mark Greaves
They worked for the Peppermint OS team.
In honor of Mark Greaves, we will look at PeppermintOS 10 respin. This update to Peppermint brought us one of the best versions of the OS, demonstrating the team's commitment to listening to their community.
#Peppermint #MarkGreaves #Ubuntu
Support Switched to L...
@cold pagoda again, it's mostly personal preference, but I've found that setting a dev environment up in Linux is far easier than in Windows, and everything just integrates better
not saying that's not possible in Windows, but it just seems a lot more... finnicky
Hello
I am trying to use regex to find words like this
LHJUAOQQJ
Random all caps word
In a text document, what regex expression can I use for this?
I'm not sure if this really fits unix, but you can use word boundaries combined with a capture group that looks for caps
hi
how do I grep but not capture the variable name
PROJECT_ID=$(gcloud config list project|grep project)
when I grep project.. i get project = projectID.. but I just want to grep the projectID, how should I go about this
nevermind.. I just had to run that question through my head once.. lol
awk works
I used cut and a class selection
I need to like.. pick one and stick with it long term.. what do you suggest..
I use cut a lot, and awk almost never, probably because I can remember how to use cut but can never remember how to use awk
and what I want is rarely more complicated than "extract the sixth through eighth fields"
sure, but ... so much syntax
yea
something like this works as well: gcloud config list project | grep -Po "(?<=project = ).*"
google cloud is expensive
Compared to what π€
Host sailor
digital ocean
You canβt call it βindustry leadingβ if another hosting also calls themselves βindustry leadingβ
hey
does anyone here run linux that can help me change from windows
i was planning to do so this evening
ugh
I use linux, sort of, but ... you're going to find it's a whole different world.
Almost nothing will work the way you expect π
I prefer Linux myself, but ...
(I haven't used Linux on a laptop in years, though)
ah
so if your questions have anything to do with the user interface, you should ask someone else
i was gonna ask if you could help make the switch from windows
ok
if all you do with windows is a web browser, and a bunch of electron apps, then it should be pretty easy
those work fine on linux
but if you have any apps that cost money, like Photoshop, or Microsoft Office ... prepare for pain
no
i code obviously, game a lot
have a bunch of text files
and image files
not my porn collection i swear
but then not only don't I use linux on a laptop but I don't game either; so maybe I'm being too pessimistic
in my experience, linux is great for hard-core programming stuff, and terrible for everything else
^
though you don't game often, you're far from wrong
gaming on linux is a terrible experience still
as in your FPS will be trash and 90% of games won't start
because it's an entirely different OS?
it was never built for gaming
and not boot shit
OpenGL vs DirectX, missing DLLs, the list goes on
is it a significant drop?
one of my games i used to run on high with 110 stable FPS dropped to 40 FPS on lowest game settings
you'll probably want to keep your windows box for gaming
i was hoping to dual boot
~300GB partitioned for windows (i play large games) and the rest of my TB is xubuntu
id happily run dual boot, windows for gaming and linux for coding
set boot order to GRUB, choose which OS whenever you boot in
i give myself 10 seconds but you can set it to whatever you want
I imagine I'd hate the constraint of only being able to run one at a time. I mean, what if I'm gaming, and suddenly need to examine /etc/passwd ??
I'm 85% joking, but only 85%
your fps will be trash
any sources for this? I've experienced the exact opposite
I bet it depends greatly on the game
I boot into Linux to play source games because they just play a lot bettet
again, depends on the game
also if you choose to use wine it's a different story, but i hate the fact it's required
sources are me playing the game
so you're not stating facts, just anecdotal evidence that we're going to have to take your word for
man xx you really must love linux
anyways, minus arma those should do fine
though arma should play nice with wine
well i dont play arma much
why yes, I do. Don't see how this is relevant, though
i'm sorry for you then xx
if u can help me through the switch, i would be very grateful
life saver
I made a simple folder organizer
It is on portuguese
But
The first option is 'organize folder', the seccond in 'Folder teleport'
The Organize Folder option works like that
The folder teleport
Is a while True and move all the files from the first folder to the seccond
@eager snow any reason you can't accomplish this with symbolic links?
nice job regardless
find -E . -regex 'pdf'
i dont understand what's wrong with this, using on OSX
what are you trying to do?
if you're on OSX, and you want to find all the files whose names include .pdf, use mdfind -name .pdf
it's a zillion times faster than find
oh, i've not heard of mdfind
it's a Mac-only thing
hrm ok cool...i was just doing stuff like
find -E . -regex '^.*\.xlsx|^.*\.xls' -exec mv {} ./EXCEL_FILES \;
though there's probably a nicer way to do that π€
mdfind -0 -name .pdf | gxargs -0 -i mv -v {} ./EXCEL_FILES
although in that case, speed probably isn't very important
i only want them in the current dir, and find is ( in this small case ) a bit nicer i guess because it's portable ( i think? )
should i be using xargs rather than -exec tho?
find . -type f -name '*.pdf' -exec echo mv -v {} ./EXCEL_FILES ';'
why are we moving pdf files to excel dir here
find is only sort of portable; the version that comes with MacOS is annoyingly different from "gnu find"
yeah i've hit a couple of bumps >:I
macOS coreutils are all pretty different from gnu coreutils
yep
which sucks
an ancient historical split that has never been, and probably never will be, reconciled
you can install gnu coreutils via brew though
yep, that's what I always do, and recommend
you need to update your PATH
ok fair - the find command i posted for xls etc seems reasonable? I'm wondering if xargs is usually recommended now
xargs works fine, but for simple cases you don't need it
just try your thing; either it'll work, or it won't
I doubt it'll blow anything up
π
it worked with warnings
I have two separate inputs, newline delimited. I want to merge them together, strip them of duplicates, then read them into a bash array.
How can I do this?
I had readarray -t names <<< "${stuff}" before
doing "${stuff}\n${more_stuff}" didn't work
Well I need to pass "${stuff}\n${more_stuff}" to sort | uniq first and then put the result into the array, but I can worry about that later.
I can't figure out how to join them first
Managed to solve it using printf
locate (slocate) is an indexed search available on linux, i suspect it's pretty similar to mdfind
waaay slower in my experience
I might not be making a fair comparison, but I use slocate on a cloud Linux system at work, and it's painfully slow.
Granted the disk is fairly large, but ...
laptop disk is 250G, and mdfind is pretty snappy ...
don't think the disk at work is all that much larger
I've wished there were some system that shoved all my local data up into elasticsearch, and let me search that way -- it'd really be faster
not sure if this is the right channel...does anyone know a simple way to increase Firefox's UI font size globally (as in throughout the app) on Ubuntu?
every time I install I forget how to do it
I'd assume it's something in the preferences
that's what I thought, too
There is a related post in #cybersecurity right now that linux experts can help me on maybe
hi
i recently got ubuntu
i have a couple questions
firstly, id like to figure out how to uninstall preinstalled applications such as firefox
secondly, im trying to install geforce experience but it uses a .exe file. whats the work around to this?
thirdly, can someone explain how to turn off the permission thing where you enter your password once you try to install something?
forth, how do i turn off blocking "potentially dangerous" applications from not running? im trying to get optifine on mc lol
to remove a package use the command sudo apt-get remove package_name
I know for a fact Shadowplay is not supported on Linux for most graphics cards (due to a something like a proprietary API or codecs), in case that was the reason you wanted to get GeForce Experience.
There's no work around for that
But in general, it is possible to run exes with wine.
You shouldn't remove the root password prompt because that would make your system insecure.
Hello! I want to learn Unix-based development and i want to install a distro in dual-boot. What are pros and cons of Ubuntu vs Mint for statistics and python development?
Ubuntu and Mint will be pretty much the same in that regard imo. Most distros where you can install a recent python version and pip or something like anaconda will be very similar
I would say to try them both out and use whichever you like better. There's a few tools out there that will make a bootable USB drive that will allow you to run the OS without committing to installing it like Rufus and Etcher
yeah, they are mostly the same thing, i'm not sure how relevant mint is these days, ubuntu is still my go to, you can always setup any linux distro to do whatever another linux distro can, anyway
I wanted to run multiple commands one after another.. because it was tedious doing this command by command
but this doesn't work
eval ssh-agent $SHELL && ssh-add ~/.ssh/gcp_jump && ssh-add ~/.ssh/gcp_sourceinstance
what am I doing wrong
it works.. when I have related commands like ssh add together.. but not when I have the eval command and ssh add together
