4,963 reputation
31339
bio website wirespeed.xs4all.nl/mediawiki
location Eindhoven, Netherlands
age 44
visits member for 2 years, 7 months
seen 13 hours ago

Do you love your Pets as much as I do? Check the Q&A proposal!

I'm into:

  • Linux;
  • Networking;
  • IT Security;
  • Perl;
  • System integration;
  • Arduino;
  • ATtiny & ATmega Microcontrollers;
  • Analog electronics;

Dec
15
comment How to view the output of a running process in another bash session?
Is your process running in a virtual console or in a GUI/xterm like environment?
Dec
15
comment How to clear memory cache in Linux
What problem are you trying to solve?
Dec
15
comment print a file in hex using awk
Not sure what you are trying to accomplish, but it'll probably work if you change the file contents to contain a single character per line. If that gives the output you are looking for, then we can help you change the awk script. Also what's wrong with hexdump -C?
Dec
11
comment Machine data not displaying every 15 Seconds
When on Linux, you might want to check pgrep and pkill.
Dec
11
comment Machine data not displaying every 15 Seconds
You can change grep -v grep | grep "vmstat 15" to grep "[v]mstat 15", it is slightly safer in matching.
Dec
9
comment How can I remotely access linux servers
And of course you will turn off password authentication (in favour of key authentication) if you directly connect to Internet.
Dec
9
comment How can I remotely access linux servers
Duplicate?: unix.stackexchange.com/questions/57977/…
Dec
8
comment Screenshot of X from tty
I see what you mean, thnx for the explanation. Don't know the answer in this case though.
Dec
8
comment Screenshot of X from tty
unsure what you mean by 'unmapped'
Dec
8
comment Screenshot of X from tty
Is xwd -root | convert - /tmp/image.jpg what you are looking for?
Dec
8
comment Fatal error: No compiled in support for x86_64
Can you post a minimal a.cpp so we can try to reproduce this issue?
Dec
8
comment Fatal error: No compiled in support for x86_64
What does gcc --help=target output? and gcc --version
Dec
8
comment directions about customized Layer 2 implementation in linux
Check if MPLS help you: en.wikipedia.org/wiki/Multiprotocol_Label_Switching
Dec
2
comment Error mounting drive with fstab
Does it mount when you type mount -a?
Dec
2
comment Why can an unpriviliged user execute the `sync` command?
What is that useful for? BTW there is no password on the sync account on the box I am currently working on, so that won't work.
Dec
2
comment Why can an unpriviliged user execute the `sync` command?
@killermist If you can't trust umount to flush the buffers to disk, why would you trust sync? Or should we start typing sync; sync like we are used on AIX?
Dec
2
comment Why can an unpriviliged user execute the `sync` command?
@MichaelMrozek Not sure, maybe I'm asking why there is a /bin/sync binary. At least I think it doesn't have to be this easy to execute a sync. Either include it into eg. your database engine (like sqlite3 does) or if it is really important make it available to root only (or a group).
Dec
2
comment Why can an unpriviliged user execute the `sync` command?
Also I am talking about the /bin/sync command that can be interactively typed from the shell, not a sync() in eg. an sqlight3 executable.
Dec
2
comment Why can an unpriviliged user execute the `sync` command?
If they happen automatically, what is the use for manually triggering it? If committing disk writes at user request is so important, why doesn't Windows have a button for it? (Yes I know I'm on a Unix stack here, but we are talking low level committing disk writes and Windows would have a similar issue).
Dec
1
comment Why can an unpriviliged user execute the `sync` command?
@BonsiScott Sure, you can remove the permission bits from the executable. But I don't know if something will get broken when you do that.