Reputation
2,705
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
2 12 22
Newest
 Yearling
Impact
~156k people reached

Feb
7
reviewed Approve Process scheduling data on linux
Feb
5
comment error while compiling my first program in C language?
What directory are you in (use the command pwd to check) when you compile this?
Feb
5
reviewed Approve error while compiling my first program in C language?
Feb
5
reviewed Approve Script file that lists contents of current folder
Feb
4
comment legality of creating a variable for a file location
You can if you get rid of that space after the =....
Feb
4
reviewed Reject Kill a running shell script, and kill all process running within it
Feb
4
reviewed Approve Which users are allowed to log in via SSH by default?
Feb
4
comment USB flash drive formatted as “Linux Live CD” keeps the CD-ROM name after re-partitioning
Oh good, it's not just me! ;) My Debian USB sticks always do this, too.
Feb
4
comment Why is scp so slow and how to make it faster?
@this.lau_ I think it's correct as-is. It measures the time it takes to actually transfer the file, which is useful information (lets you know about / test the connection speed, for example) that can't be measured with an external tool. But there are a lot of irrelevant variables in connection setup (like reverse host lookup, or the user slowly entering their password and getting it wrong the first time) and you can use external tools to measure them (like I showed!).
Feb
4
comment Catching the last returned value in Unix
Are you doing like foo | grep bar | grep baz and you need to know if an arbitrary grep failed/succeeded (set -o pipefail), or you want to save the $? return value you got from grep and return it after echoing your success/fail message (foo=$?; if [ "$foo" -eq 0 ]; then ...)?
Feb
4
reviewed Approve Sharing memory between two virtual machines?
Feb
3
reviewed Approve Polling for a Bluetooth Button Push
Feb
3
comment as small as possible linux for virtual machine with firefox 37 and up
Why a VM? Are you running inside another Linux distro (in which case, use a chroot so you don't have to boot anything up or dedicate RAM or a processor to the VM)? Does it have to be Firefox or is something like Chrome OS acceptable?
Feb
3
awarded  Yearling
Feb
3
comment Piped commands performance in embedded Linux
I did another with 100k lines (too late to edit my original comment) and a.sh took 2.41s and b.sh took 8.38s!
Feb
3
comment Piped commands performance in embedded Linux
file size will make a big difference in grep | awk vs awk. I did 2 input files, one starting with 10k not-matching lines and the other same as yours. a.sh was 1.67 (long) vs 1.61 (yours) seconds; b.sh was 1.42 (long) vs 0.73 (yours) seconds. i.e. grep is much more efficient (and grep -m 1 even more so) at finding matches than awk.
Feb
2
reviewed Approve BASH: how to pass a default argument if no arguments after the first were passed
Feb
1
comment Directory does not exist inside the chroot
I get that error when I use schroot from a directory on the Host that isn't inside the chroot. What directory are you in when you run cmake?
Feb
1
reviewed Approve How to give this permission (-r--rwx-rw-) using CHMOD?
Jan
29
comment Setup GUI via ssh
Just to clarify: do you explicitly need a desktop (background picture, panels and menus), or do you just need to be able to run GUI applications? And, what are you coming from (another Linux box, Windows, Android...)?