Nice one, didn’t know about moreutils
. I indeed used p10k on top of zsh. New zsh
instance without sourcing anything zsh --no-rcs
managed to write to file without issues. Thanks
Agility0971
- 3 Posts
- 38 Comments
yep. that did it. I had to wrap the entire thing in quotes though
sh -c "echo 'test' | sudo tee newfile"
no way. I’m in /tmp for this one
echo 'test' | tee newfile tee: newfile: Permission denied test echo 'test' | sudo tee newfile #the prompt never returns when running this in zsh
sudo
does not prompt for password in my container. It just elevates the privileges straight away. Yeah, it’s hard to tell. Or test for that matter.
what I was saying was that
echo "text" | sudo tee newfile
would hang and never return and needs to be interrupted. I just noticed this does not happen in bash but I was testing in zsh.Guessing that file doesn’t exist already is the problem, and you don’t even need to use tee in this example.
you’ve missed the point here I’m afraid. But I’ll blame it on my for not explaining properly what I was intending to do.
I just switched over to bash and it worked lol. It just didn’t return for me in zsh…
yeah indeed. I’m setting up a container with these instructions for ROS2. There you’ll have to add a repository to the apt sources list.
Agility0971@lemmy.worldto Linux@lemmy.ml•How to set up laptop for corporate usage, so contents can be erased.8·7 months agoVM behind a VPN with a firewall that blocks everything except the rdp protocol and no sudo access?
Agility0971@lemmy.worldto Linux@lemmy.ml•Phoronix: Several Linux Kernel Driver Maintainers Removed Due To Their Association To Russia1·8 months agoWhat I see is that someone is arguing the point that all Russians are criminals. If someone is sending bad code, they usually just get banned, this time it’s preventive measures based on ethnicity.
Agility0971@lemmy.worldto Linux@lemmy.ml•Phoronix: Several Linux Kernel Driver Maintainers Removed Due To Their Association To Russia235·8 months agoThis is such an odd thing to do… I really cannot see the benefits for the project doing this. Maybe those maintainers were payed for their work and sanctions prohibit paying them or something?
Agility0971@lemmy.worldto Linux@lemmy.ml•Phoronix: Several Linux Kernel Driver Maintainers Removed Due To Their Association To Russia5·8 months agoNo one knows yet. Given the scale of the operation it’s most likely a large organization.
Agility0971@lemmy.worldto Linux@lemmy.ml•Successful move over after years of trial and error1·10 months agoTrue if they are somewhat technical to search for solutions on their own. If they just use web browser then there is bothing to worry about
Installs arch with install script, cannot fix grub, reinstalls arch. Good comedy, would recommend. Martincitopants style editing is lovely
I didnt leave because I was tired of windows, i stayed because it was better for development. I learned about other benefits later once I started using it
deleted by creator
Agility0971@lemmy.worldto Linux@lemmy.ml•Successful move over after years of trial and error42·11 months agoTo be fair, the best standard would be to send off new users to immutable distros
Agility0971@lemmy.worldto Linux@lemmy.ml•Buying a new computer to run Linux on - suggestions?1·11 months agoSo there are safe countries and non safe countries now? Whats the difference?
Agility0971@lemmy.worldto Linux@lemmy.ml•Buying a new computer to run Linux on - suggestions?23·11 months agoI can reccomend huawei laptops with metal chassis. I’ve had my matebook x pro for around 6 years. My past laptops made of plastic disentegrted over time
Agility0971@lemmy.worldto Linux@lemmy.ml•What is happening in Norway, and how do we spread it?1·11 months agoI would rather say that help questions can be posted there. That way its not forving anyone to do anything
Is it such a hassle learning verilog if you know vhdl or vice versa?