Search found 8 matches

by Hyena
Sun Apr 02, 2017 6:50 am
Forum: Software & Applications
Topic: Add prefix and suffix to curl's stdout
Replies: 3
Views: 154

Re: Add prefix and suffix to curl's stdout

Okey I am now using bash -c and it fails the same way { ; ; } subshell does. :( So below is the problematic pipeline: stdbuf -i0 -o0 -e0 bash -c "printf '%s\n%s\n%s' 'su' 'log start' 'log ' ; printf '%s' '2d2d75726c2068747470733a2f2f626c6f636b636861696e2e696e666f2f726177626c6f636b2f323737373737...
by Hyena
Sun Apr 02, 2017 6:33 am
Forum: Software & Applications
Topic: Add prefix and suffix to curl's stdout
Replies: 3
Views: 154

Re: Add prefix and suffix to curl's stdout

I don't quite follow; you want a prefix and postfix on each line of curl's output or just one prefix before curl's entire output and one postfix after? For the former perhaps something like: curl | sed -r 's/^(.*)$/prefix\1postfix/' | netcat For the latter perhaps something like: ba...
by Hyena
Sat Apr 01, 2017 9:09 am
Forum: Software & Applications
Topic: Add prefix and suffix to curl's stdout
Replies: 3
Views: 154

Add prefix and suffix to curl's stdout

I've been trying really hard to construct a reliable pipeline of Linux commands that would make a curl request and add a textual prefix and suffix to the whatever data it writes to its stdout. I cannot use printf / xargs combination because curl's output may exceed the maximum command line argument ...
by Hyena
Sun May 31, 2015 8:42 am
Forum: Software & Applications
Topic: [SOLVED] file disappears after moving to desktop as root
Replies: 6
Views: 268

Re: [SOLVED] file disappears after moving to desktop as root

Moving - here in contrast to copying - means always, that there gets something written, in this case the entry in the folder. If there is no write-permission set for your user, than you should either rectify this (in the file system and / or in the samba settings) or copy the object and delete it l...
by Hyena
Sat May 30, 2015 12:27 pm
Forum: Software & Applications
Topic: [SOLVED] file disappears after moving to desktop as root
Replies: 6
Views: 268

Re: [SOLVED] BUG: file disappears after moving to desktop as

However, the fact that a freshly copied folder cannot be moved by the user to whose shared folder it was moved over the smb is still somewhat unintuitive and could cause similar issues to other people too. You missed to answer one part of karlchen's question: Did you use the file-manager in root mo...
by Hyena
Sat May 30, 2015 8:51 am
Forum: Software & Applications
Topic: [SOLVED] file disappears after moving to desktop as root
Replies: 6
Views: 268

[SOLVED] BUG: file disappears after moving to desktop as roo

Hello, Hyena. Have you checked whether the file in question is actually in the folder /root/Desktop ? If not, then please do so. ... Do as explained above and report back, please. Cheers, Karl You were right! The file is indeed in /root/Desktop folder. And yes, I used the file manager to move the f...
by Hyena
Sat May 30, 2015 8:07 am
Forum: Software & Applications
Topic: [SOLVED] file disappears after moving to desktop as root
Replies: 6
Views: 268

[SOLVED] file disappears after moving to desktop as root

I opened a remote shared folder using "nautilus smb://192.168.1.72" from my latop running Linux mint 17.1. The opened folder was located in my PC that also is running Mint 17.1. I copied a 1 GiB file from laptop to PC, then removed sharing and tried to move the file to Desktop from the sha...
by Hyena
Sun Nov 09, 2014 11:06 am
Forum: Cinnamon
Topic: Black screen with cursor
Replies: 1
Views: 438

Black screen with cursor

My sister's Linux Mint 17 with NVIDIA video card just broke and I have to instruct her remotely in text. At one day sound was not working so she tried to fix it by uninstalling something and reinstalling it. After restart the screen was all (black?) and only a cursor could be seen. I asked her to ct...

Go to advanced search