Quantcast
Channel: User Patkos Csaba - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 39 View Live

Comment by Patkos Csaba on Why FOSS 3d performs so badly, compared to...

I can speak only for what I have, an NVidia GeForce FX8600GT. The proprietary NVidia drivers have about the same performance both on Windows XP and Linux (Mandriva and Sabayon). The open-source drivers...

View Article



Comment by Patkos Csaba on Unable to use scp on Solaris

Also, can you copy the file with another user? Using root is not the best practice.

View Article

Comment by Patkos Csaba on Booting the already installed Windows from the...

Interesting, didn't know about that.

View Article

Comment by Patkos Csaba on `power/persist` file not found in USB device sysfs...

Can you give us the exact path you are trying to use for the file? Where do you echo "1"? Did you try to do that before/after the device was connected? Does this problem still exist?

View Article

Comment by Patkos Csaba on Some sort of X.org memory leak using nvidia...

Is this question still relevant? Does these problems still exist? Both NVidia and Nouveau came a long way since this was asked.

View Article


Comment by Patkos Csaba on Can't burn DVD -- incompatible format

+1 and if my memory serves me well, there was a bug in 'cdrecord' back at the beginning of '11. I remember I switched for a while to crdao (or something similar) to be able to write DVD-R disks.

View Article

Comment by Patkos Csaba on How are Flash Videos played?

+1 And I would like to add that any media player (mplayer, vlc, etc) can just play the encoded video as they play any other video (.avi for example). As for the web browsers. Each has it's own way and...

View Article

Comment by Patkos Csaba on How to get subshell's PID in Korn Shell...

I saw this suggestion already but it is not working. It gives me a third PID ... however I will test it again Monday when I'm back at work.

View Article


Comment by Patkos Csaba on Would installing linux ease my Mac OS problems?

I can't guarantee for Ubuntu, but it should be as easy as apt-get vtk, at least it is on Sabayon equo install vtk. Same goes for gsl. I also have octave-3.6.0, qtoctave-0.9.1 and g-octave-0.4.1 which...

View Article


Comment by Patkos Csaba on Run sudo as another non-root user and save in this...

What home directory is set for ircuser in /etc/passwd? That's the directory sudo -H will try to use. Also check in /etc/sudoers the values of env_reset, env_keep or always_set_home.

View Article

Comment by Patkos Csaba on how to avoid ssh asking permission?

+1, I also this for my servers. And just to be clear, the message in the question comes from the ssh client on the connecting client computer and not from the server.

View Article

Comment by Patkos Csaba on Is Linux kernel free to modify?

@Shawn J. Goff: I would appreciate if you edit my answer you do not add things I did not wrote. I understand and I agree with editors fixing issues with posts (like typos, wrong formatting, etc), but I...

View Article

Comment by Patkos Csaba on Is there a tool that pastes from clipboard one...

This is almost working ... except TAB and new-line characters. I also tried something like this xsel | pv -q -L 20 | xargs -n1 -I{} xte "str {}"

View Article


Answer by Patkos Csaba for How does Bash path completion work with sudo?

No it doesn't look in fstab. Bash completion looks for commands in path, aliases in bashrc and/or bash_profile and paths. So if you type something like sudo mount /mnt/some_folder it should...

View Article

Answer by Patkos Csaba for How can I be sure that my server is not virtualised?

In theory, I think it would be possible if someone would make a virtual machine which mimics all physical parts of a computer. And by 'mimic' I understand that it would have processor which reports...

View Article


Answer by Patkos Csaba for passing passwords to a script

Using 'expect' for what you ask is possible and some people still use it. An expect script can 'catch' the commands output and you can 'answer' based on their output. Your script will look like: spawn...

View Article

Answer by Patkos Csaba for Using word wrap with mc

mcedit's (or mc -e) word wrap is not like a regular word wrap in an editor. It is not just showing you a file with long lines wrapped so you can see the lines. Instead it actually and effectively...

View Article


Answer by Patkos Csaba for Booting the already installed Windows from the...

You can not directly run the Windows installed physically on a harddisk partition or on a different disk. However, you can migrate the Windows installed on your physical computer to a VirtualBox...

View Article

Answer by Patkos Csaba for How to download an entire directory from a webserver?

This should work: wget -r --no-parent --reject "index.html*" http://lxr.post-tech.com/source/?v=iphone-u-boot-2010-0512

View Article

Answer by Patkos Csaba for What is the difference between the various tiling...

Floating means 'untiled', spiral places windows in a spiral form and column tiles them vertically. PS: answer mostly taken from Kent's comment.

View Article

Answer by Patkos Csaba for Distribution recommendation for a multiseat setup...

I don't have the hardware for test something like this, but I would recommend Gentoo if you like to compile your stuff and be a little late with the latest software. However, I am using Sabayon right...

View Article


Answer by Patkos Csaba for Problems with vuze plugins

Deluge torrent client can be run as a daemon, can be controlled with it's own GUI or over HTTP. It has a nice feature 'Execute command when torrent is finished' where you can put a simple sendmail or...

View Article


Answer by Patkos Csaba for --remote-schema option for rdiff-backup

You can specify the source and destination with user@host:/folder style. From the man page of rdiff-backup: rdiff-backup [options] [[[user@]host1.foo]::source_directory]...

View Article

Answer by Patkos Csaba for Making the transition to multiple hard drives with...

Here are my tips, I did a similar move but without having Windows. 1 - maybe you should put your important files on a DVD/CD, partitions are easy to mess up 2 - yes, you can do that if you want all...

View Article

Answer by Patkos Csaba for Show established samba mounts

mount will show you all the mounts on your system, including smb mounts. You can easily find them just by looking at the list, but if you want to see only smb mounts, you can try something like: mount...

View Article


Answer by Patkos Csaba for How to add mimetype bindings?

I am not 100% sure, but I think xdg-open relies on what you set in 'file types' in your DE's configuration. I guess you are on KDE, so open KDE system settings and specify that file type.

View Article

Answer by Patkos Csaba for How to change user with authentication inside...

Using passwords in plain text files is not recommended. However, if no security risk is involved, create an expect script. Expect is a scripting language designed to interact with interactive shells...

View Article

Answer by Patkos Csaba for Load module from the boot menu

As far as I know, there is no way to load any module at boot. The kernel first needs to be loaded ... which will not happen if I understand correctly your problem. All you can do from a boot menu is...

View Article

Answer by Patkos Csaba for What does etc stand for?

At the beginning of UNIX it was both necessary and practical to give short names to stuff. So, all system directories were kept to 3 letters and they are abbreviations. These names are still present on...

View Article



Answer by Patkos Csaba for How to copy only matching files, preserving...

You can try something like this: ls | grep 2 | xargs -n1 -t -i cp -R {} ../testdirTwo/{} I tried this on my Linux and it works. Note the -R parameter in cp, it's for recursive if you wish. Also note...

View Article

Answer by Patkos Csaba for Is the process of backing-up a database and...

Automation of backup: the easiness of the solution depends on which system do you know better. Basically it is not that much of a difference between writing a batch file and putting in windows task...

View Article

Answer by Patkos Csaba for Does Linux kernel 3.x use the CFS process scheduler?

Yes, it does. It is the default scheduler in 3.x series but the kernel now has a realtime scheduler also built-in but disabled by default. More on wikipedia: http://en.wikipedia.org/wiki/Linux_kernel

View Article

Answer by Patkos Csaba for nVidia drivers in Xorg / KDE - performance and...

I had no problems with the proprietary drivers on my previous FX 8600GT nor on my recently acquired GT430. Sometimes there are small problems, but nothing serious for me. I do some gaming on Linux,...

View Article


Is there a tool that pastes from clipboard one character at a time?

Is there a tool that pastes from clipboard one character at a time? Something that would simulate a real person typing, like in the movies ;) Of course I am referring to X applications, preferably...

View Article

Answer by Patkos Csaba for Finding the sector size of a partition

fdisk -l (that's lower L in the parameter) will show you, among other information, the sector size too. $ sudo fdisk -l Disk /dev/sda: 150.3 GB, 150323855360 bytes 255 heads, 63 sectors/track, 18275...

View Article

Answer by Patkos Csaba for What's the difference between pasting with middle...

On my Linux computer, Shift+Ins pastes the same as Ctrl+V. Mouse select and than middle click is a different clipboard.

View Article


How to get subshell's PID in Korn Shell (equivalent of $BASHPID)

In bash you have this handy variable: $BASHPID wich always returns the currently running subshell's PID. How can I get a subshell's PID in ksh? For example see the code below: #!/usr/bin/ksh93 echo...

View Article


Answer by Patkos Csaba for Tomcat8's "Silence" process using 100% CPU. What...

It turns out there was a file in /tmp/ called "Silence", plus another one called "BoomBoom". Further investigation revealed that it was a crypto currency miner malware, probably injected through a...

View Article

Tomcat8's "Silence" process using 100% CPU. What is this process?

After hitting some performance issues with one of our servers, I observed a Tomcat8 process called "Silence" using 100% continuously. I tried to find information about it on Google, but searching for...

View Article
Browsing latest articles
Browse All 39 View Live




Latest Images