Go to advanced search

by QuietZone
Wed Jan 06, 2016 7:34 pm
Forum: Beginners
Topic: new try: pause function for bash script (Solved)
Replies: 14
Views: 2830

Re: new try: pause function for bash script

Davenull,
when you are replying to a specific person in a thread (as I am doing here), it is a good idea to include some indication, in the text of your post, as to whom it is that you are responding to.

Thank you.
by QuietZone
Wed Jan 06, 2016 7:14 pm
Forum: Beginners
Topic: new try: pause function for bash script (Solved)
Replies: 14
Views: 2830

Re: new try: pause function for bash script

It is quite likely that what the OP is really looking for is: xmessage Or, maybe: whiptail whiptail (or its predecessor, dialog) is nice - except for the fact that it covers the screen, so it kinda defeats the purpose, which is to be able to see the final output of the script before the window is cl...
by QuietZone
Wed Jan 06, 2016 4:53 pm
Forum: Beginners
Topic: how to copy 1 complete folder (recursively) int another one?
Replies: 39
Views: 13160

Re: how to copy 1 complete folder (recursively) int another

How much do you learn if someone simply gives you the exact line of bash you want? Not a lot, and you'll need to ask again the next time and the next time. But read up on it, and you learn. I think we have to accept that OP is not interested in learning. And there's nothing wrong with that. I am al...
by QuietZone
Wed Jan 06, 2016 3:47 pm
Forum: General discussion
Topic: Watered Down Pi?
Replies: 12
Views: 1541

Re: Watered Down Pi?

Wouldn't it be great if the Pi Foundation was like a restaurant?

You could just walk in, grab a menu, mark which features you want, and walk out with a meal prepared to order...

All for just a few bucks.
by QuietZone
Wed Jan 06, 2016 1:55 pm
Forum: Beginners
Topic: how to copy 1 complete folder (recursively) int another one?
Replies: 39
Views: 13160

Re: how to copy 1 complete folder (recursively) int another

man read Heh heh - that doesn't do much that is useful: READ(2) Linux Programmer's Manual READ(2) NAME read - read from a file descriptor SYNOPSIS #include <unistd.h> ssize_t read(int fd, void *buf, size_t count); And therein actually is the problem with man pages when you are actually trying to le...
by QuietZone
Wed Jan 06, 2016 12:36 pm
Forum: Raspberry Pi OS
Topic: First boot
Replies: 5
Views: 1075

Re: First boot

Or, following the Windows tradition, a message box should pop up at this point saying that your system needs to be rebooted (right now!). And, in keeping with modern Windows trends, there should be two clickable options here: Yes (or OK) Yes (or OK) I rue the day when Windows just goes ahead and reb...
by QuietZone
Tue Jan 05, 2016 11:50 am
Forum: Beginners
Topic: How to make an exact image of my raspberry pi system?
Replies: 26
Views: 5867

Re: How to make an exact image of my raspberry pi system?

DougieLawson wrote:dd if=/dev/mmcblk0 | gzip /media/somewhere/sdcard.copy.img.gz
(UUODd and OUOGz)

bzip2 < /dev/mmcblk0 > /media/somewhere/sdcard.copy.img.bz2

Or, even use 'xz', which is even better than bzip2...
by QuietZone
Mon Jan 04, 2016 11:31 pm
Forum: Beginners
Topic: how to copy 1 complete folder (recursively) int another one?
Replies: 39
Views: 13160

Re: how to copy 1 complete folder (recursively) int another

jbudd wrote:Did you check that any file already in raspi-sav/programs actually gets overwritten? On my Pi cp -av neither overwrites nor issues a warning.
It works correctly for me. There must be some kind of measurement or translation error in your testing.
by QuietZone
Mon Jan 04, 2016 10:30 pm
Forum: Beginners
Topic: how to copy 1 complete folder (recursively) int another one?
Replies: 39
Views: 13160

Re: how to copy 1 complete folder (recursively) int another

cp -av ...

is the normal way to do this.

rsync is overkill. Yes, it is more powerful (since it handles the later, incremental case), but it is overwhelming for the new user. Better that the new user get comfortable with "cp -av".
by QuietZone
Mon Jan 04, 2016 9:11 pm
Forum: Off topic discussion
Topic: Debian Linux founder Ian Murdock dead at 42
Replies: 12
Views: 3339

Re: Debian Linux founder Ian Murdock dead at 42

It is reasonable to be curious - especially so in this current age of celebrity gazing. That neither the cause or circumstances of the death have been made public will, naturally, get tongues wagging. It seems pretty clear at this point that he didn't die of old age/natural causes or any "normal" di...
by QuietZone
Mon Jan 04, 2016 5:59 pm
Forum: Troubleshooting
Topic: Missing inittab file
Replies: 17
Views: 6290

Re: Missing inittab file

Note that it is supposed to be possible to uninstall systemd and (re-) install sysvinit. I need to try that one of these days on my Jessie system. It sounds like a good move. Should be the default.

systemd (despite what the cheerleaders on these forums say) is horrid.
by QuietZone
Sun Jan 03, 2016 5:48 pm
Forum: General discussion
Topic: wayland/weston and maynard ???
Replies: 14
Views: 3535

Re: wayland/weston and maynard ???

Despite spending an hour watching a presentation from a Wayland developer who explained very nicely about the tens of thousands of lines of code in X that we don't need any more and he had removed. Did anyone ask him how many lines of code it took for him to replace the functionality of what he too...
by QuietZone
Sun Jan 03, 2016 4:27 pm
Forum: Troubleshooting
Topic: Travelling with pi
Replies: 13
Views: 2094

Re: Travelling with pi

It'd be interesting to know more about OP's setup - what viewer/browser/OS combo is being used on what TV show - but on the surface of it, and this was my first reaction on seeing the post, it seems almost certain that it is a region problem. I've never heard of this before in the context of Canada ...
by QuietZone
Sun Jan 03, 2016 12:59 pm
Forum: General discussion
Topic: How to ping?
Replies: 16
Views: 54918

Re: How to ping?

ping now works without the setuid bit being set. I am a bit more informed but I need to read up about setcap.
Not really true, since it looks to me like this "setcap" thingie is just another way of setting the setuid bit (not literally true, of course, but effectively the same thing).
by QuietZone
Sun Jan 03, 2016 12:55 pm
Forum: General discussion
Topic: Pi Zero Availability
Replies: 83
Views: 18626

Re: Pi Zero Availability

one last point, is there no ignore/block facility on these forums? Maybe on the silver theme? It would be handy so I didn't need to see all the jingoism and specious history rubbish that occasionally appears. Great if people want that stuff under General, but greater if I could avoid it. If I wante...
by QuietZone
Sun Jan 03, 2016 12:51 pm
Forum: Troubleshooting
Topic: No way to ask for permission with admin password for stuff
Replies: 4
Views: 779

Re: No way to ask for permission with admin password for stu

drgeoff wrote:Try preceding your command with 'sudo' (without the quotes') . If that works use a search engine to learn what sudo does.
It sounds to me like he is trying to copy the file via the GUI/file manager, so there's really no way to precede any command with anything...
by QuietZone
Sun Jan 03, 2016 2:27 am
Forum: Raspberry Pi OS
Topic: sudo extends ~ to /root
Replies: 5
Views: 886

Re: sudo extends ~ to /root

The real answer to this question is that it is, as you've observed, kind of a dark corner.

Like you, I've seen it behave differently on different versions of Unix/different distros of Linux, etc. You just have to accept it.

The exact semantics of "su" have never really been nailed down.
by QuietZone
Sat Jan 02, 2016 10:34 pm
Forum: General discussion
Topic: How to ping?
Replies: 16
Views: 54918

Re: How to ping?

And thus: 1) You don't need the "sudo" anymore, so you should drop it. Putting sudo in front of very single command is not a good habit to get into. 2) If you include the "-c" option to ping, it won't run forever. I.e., do: ping -c 3 google.com Note that this is one area that Windows gets right vs. ...
by QuietZone
Sat Jan 02, 2016 10:31 pm
Forum: Troubleshooting
Topic: How to diagnose No space left on device error
Replies: 7
Views: 4469

Re: How to diagnose No space left on device error

This is usually caused by the combination of two erroneous actions:

1) Installing Raspbian from a "raw image" instead of from NOOBS.

2) Failing to "expand the rootfs" (using "raspi-config")
by QuietZone
Sat Jan 02, 2016 10:28 pm
Forum: Mathematica
Topic: Mathematica start-up crashing RDP session
Replies: 36
Views: 35403

Re: Mathematica start-up crashing RDP session

But... now I'm getting an annoying "GDBus" error message... There's a fix for that - you go into one of the "preferences" menus in LXDE (or pcmanfm, whatever) and unclick something (something that says something like "Try to do GDBus polling"). I did it long ago one one of the machines that I VNC i...
by QuietZone
Sat Jan 02, 2016 10:14 pm
Forum: General discussion
Topic: What is default dns-nameservers number in raspberry?
Replies: 2
Views: 684

Re: What is default dns-nameservers number in raspberry?

While Jim's answer (which is basically "Don't worry about it!") is "classically correct", it should be noted that we are moving into a world where there actually could be an answer to this question - and that answer is "8.8.8.8". In fact, many people (presumably, in the USA) have reported better per...
by QuietZone
Sat Jan 02, 2016 9:37 pm
Forum: General discussion
Topic: How to ping?
Replies: 16
Views: 54918

Re: How to ping?

The real answer is to fix the permissions on the ping program. ping should be setuid root, but for some reason, in recent/current releases of Jessie, it isn't. Note that on my relatively old (from September) Jessie system, it is setuid, so I can't test/verify this fix directly. Anyway, you want do s...
by QuietZone
Sat Jan 02, 2016 9:27 pm
Forum: Beginners
Topic: Creating and using a script at startup
Replies: 15
Views: 2663

Re: Creating and using a script at startup

OK, thanks for the explanation. If I want it to behave like when I start the session manually, what do I have to do?...RDK Do "man screen" and read up on the "stuff" command. This allows you to, from you .screenrc file, create several interactive shell windows and run a specific program in each win...
by QuietZone
Sat Jan 02, 2016 1:56 pm
Forum: Beginners
Topic: Using a powerbank - updated with some results
Replies: 18
Views: 11939

Re: Using a powerbank - updated with some results

A warning: I got the Xiaomi power bank a week ago, and tried it on a Pi. I was happy at first because it charges when powering the Pi, the problem is when you stop powering the powerbank - the pi loses power and starts up again - it is not uninterrupted. So the Xiaomi power bank is not suitable UPS...
by QuietZone
Fri Jan 01, 2016 1:41 pm
Forum: General discussion
Topic: Total Refresh
Replies: 33
Views: 4878

Re: Total Refresh

half of you are just troling me if you not informed dosent mean you are right here an exaple of USB firmwere compromised http://www.extremetech.com/extreme/1914 ... sb-devices so guessing if somone writed custom USB microcontroler firmwere i am guessing that can be done for alot of other microcontr...

Go to advanced search