Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

3
votes
1answer
691 views

Measuring firefox CPU usage on Linux

Lately, Firefox has been running up CPU usage, usually taking up at least 25% CPU usage. Not a problem since I'm on a quad-core, but that measurement is spread across all CPU's, so it is still using ...
0
votes
1answer
45 views

The exact workflow of PVM (Parallel virtual machine)

These days I am learning PVM technology for concurrent processing. I go through so many blogs, tutorials to understand . Yes, I got some points, but no one gives me clear workflow of how it perform ...
0
votes
1answer
545 views

Port 443 TCP HTTPS Connections very slow - Ubuntu

I have a server application in linux that connects to port 443 to send HTTPS messages using SSL. When I run this code on my home linux box these connections go through instantly, but when I run this ...
1
vote
1answer
1k views

Conky transparency isn't working in Mint 14

I've setup conky on my laptop installation of linux mint 14 (cinnamon), conky works except for the font transparency. I'm using: xftalpha 0.5 in .conkyrc. But whichever value I use, the ...
0
votes
0answers
31 views

Is there a way to find out how many instances of the root user is logged into a linux machine? [duplicate]

We have a handful of users that login to our Linux VM machine as root either through the vSphere client or through SSH and I want to see if there is a way to tell if multiple root users are logged in ...
1
vote
2answers
174 views

Are there any Linux distributions which have Perl 6 as the default/only Perl version?

The title pretty much says it all. In the same way that Arch Linux has Python 3 as the built-in/main version of Python, are there any Linux/Unixish distros that have done the same with Perl 6? I ...
0
votes
2answers
2k views

How to load a module in gentoo?

I am using gentoo 2.6.30 and I tried to load a module as follows: modprobe usbcore with the response modprobe: module 'usbcore' not found However, I can find a directory with that name in the ...
1
vote
0answers
39 views

What do files names like 'usbdeva.b_epX' mean on Linux after USB device got plugged in?

On gentoo Linux 2.6.30 I see the creation of the following character devices in /dev/usb, when I plug in a USB device: usbdev2.8 usbdev2.8_ep00 usbdev2.8_ep02 usbdev2.8_ep81 usbdev2.8_ep82 My ...
0
votes
2answers
892 views

How to disable CTRL-C during init process?

I have set up a kiosk system with Linux Debian Wheezy. After booting a user gets logged in automatically, executing startx through /etc/inittab. Problem is that people could shutdown the machine or ...
0
votes
2answers
183 views

What should I backup on my linux server?

I want to setup a backup with rsnapshot, but currently I don't know what particularly I should backup? I mean should I backup my data ONLY like: /var/www /home2/ftpdirs /etc/httpd/hosts/ ...
0
votes
1answer
109 views

OpenSuse 12.2 and drbd

I am trying to setup tow NFS servers mirrored by drbd using OpenSuse 12.2 x64. There is a yast2 package for the drbd which I installed. The module is found under yast2 - Mischellaneous. I get the ...
1
vote
1answer
1k views

Ubuntu 12.04 Unity: how to assign applications to specific workspaces?

I always use my last workspace (workspace 4) for email and instant messaging. In KDE I could use the window menu (right-click on title bar) to tell KDE to move new Thunderbird and Pidgin windows to ...
0
votes
2answers
269 views

crontab not working properly

When I run a script manually using root it is working fine. when I execute the same script inside cron it is not running. I checked the cron is actually calling the script but the script is not ...
0
votes
1answer
135 views

Making an alias for `tree -P '*name*'`

I'm creating an alias for the following command with the tree program: tree -P '*name*' This works exactly as I want. But when I create an alias for this command, the command behaves differently: ...
1
vote
0answers
281 views

Unable to access certain Samba shared folders from Windows 7

I installed Samba and shared some folders to allow access from my Windows 7. But currently I'm having some issues. In my smb.conf [MYFOLDER] path = /usr/bin/MYFOLDER read only = no browseable = yes ...
1
vote
3answers
59 views

Linux command: search all the commands I entered

I'm using Ubuntu. there is a way to get a list of all the commands I entered that starts with the word: "git"?
0
votes
1answer
248 views

How to properly change directory structure/mount points for directory?

After several attempts to formalize my problem, I think, I finally managed to do it. What I have: mount -l ... /dev/md123 on / type ext3 ...
0
votes
2answers
1k views

running script containing sudo in cron

#!/bin/bash value=$(<man.txt) echo "$value" if [ "$value" == "true" ]; then echo "startedif_manthan" ps -ef|grep sym |awk '{ print $2 }'|sudo xargs kill -9; sleep 30; sudo sh ...
0
votes
1answer
27 views

Cannot start a script

#!/bin/bash value=$(<man.txt) echo "$value" if [ "$value" == "true" ]; then echo "startedif_manthan" ps -ef|grep sym |awk '{ print $2 }'|sudo xargs kill -9; sleep 30; sudo sh ...
1
vote
3answers
287 views

lazy prompt for ssh public key passphrase

I have ssh public keys set up on my computers. They have passphrases. Whenever I need to, e.g. push to github, I have to type in the passphrase. Each time. And I'd rather ssh remembered on subsequent ...
0
votes
1answer
394 views

How to dual boot Mac OS X and Ubuntu without rEFIt

I want to install Ubuntu on my Mac but I don't want have to use rEFIt. Can I do that? Can I just hold the control key on startup and use that to pick what I startup with? And if so would I install ...
0
votes
1answer
657 views

linux laptop - bind key and click to emulate right click

I have replaced my old iBook with a Asus laptop with Linux Mint. On that apple, to right click, you would press AppleKey (keyboard key) and click the mouse. Is there a way to enable similar behavior ...
52
votes
5answers
2k views

How to “unextract” a zip file?

I extracted a zip file into a non-empty folder. The zip file has lots of files and a deep hierarchy, that merged with the existing tree of the target directory. How can I remove the files and ...
0
votes
2answers
357 views

Linux - Find recently accessed files on webserver by web visitors

Is it possible to find files which were recently accessed by web server? Using the Unix "FIND" command? I am getting a lot of SPAM emails because someone's accessing a PHP script in one of my ...
0
votes
1answer
91 views

3rd party tool for log rotation in Linux?

I want an auto archive all of my log files for an application on my Linux distro. Also after the log files have been archived, the actual log files should be deleted (not the archived ones). I know ...
3
votes
2answers
564 views

SSH from Linux computer into GUI of windows computer?

Basically I want to store my Windows system somewhere remote and use SSH (or any other protocol that would work) on Linux (specifically a raspberry pi) to access the entire desktop GUI on the Windows ...
0
votes
1answer
1k views

Linux - Network Traffic Priority by IP

I'm using Ubuntu 12.10 and looking for a way to shape network traffic based on the IP address. I have a LAN, lets say from 192.168.1.2 - 192.168.1.254. The server is at 192.168.1.1. All IPs should ...
1
vote
0answers
277 views

need of loopback route in every host's routing table

it is always said that every host's routing table must have a entry for loop back route as shown below: Destination Gateway Flags Ref Use Interface ----------- ----------- ...
0
votes
0answers
25 views

Different behavior from ubuntu server and ubuntu client on windows

#!/bin/bash # Reading cat /home/radiare/Desktop/first.txt | while read LINE do echo $LINE if [ "$LINE" == "false" ]; then echo "Inside first loop" break fi done echo "second file read started" cat ...
0
votes
2answers
2k views

howto copy all text in a gnome-terminal in RHEL linux 5.3

I work on the gnome-terminal in RHEL 5.3. Since the terminal does not have features like searching for text, etc, I usually want to copy the entire text in the terminal and paste into an editor. In ...
0
votes
2answers
291 views

Regenerating resolv.conf

I'm running Ubuntu 12.04 and I managed to stomp on my /etc/resolv.conf file. I believe this is the cause of me getting ping: unknown host www.google.com It says resolv.conf is auto generated but I ...
1
vote
0answers
539 views

File manager that uses tags/labels instead of folders for GNU/Linux

I love the way emails are organized in GMail. I have long wanted something similar for my local files. The ability to have one file located under multiple hierarchies is a great advantage, and links ...
2
votes
0answers
605 views

Linux Mint switching off GPU

Like many users with hybryd video (I have ATI and Intel on my laptop), i've tried to solve the problem by making proprietary drivers actually work, but failed at that (changing between GPUs causes ...
3
votes
1answer
249 views

Cygwin fstab configuration issue

Can't quite see where I'm going wrong. Trying to replicate the command "mount c: /c" in my fstab file, similar to this question: Cygwin fstab - what am I doing wrong? Michael@Michael-PC ~ $ cat ...
2
votes
1answer
55 views

ZSH: Is it possible to get file completion to display results in a case-sensitive order?

Here's an example of what I mean: In my home dir, I have three directories starting with "work": $ ls | grep ork WorkProjects workspace workspacepython Notice that "WorkProjects" starts with a ...
0
votes
1answer
653 views

Multi-line find and replace across multiple files on linux

I have: Old Google analytics tracking code oldcode.txt New Google analytics tracking code newcode.txt 100+ html files *.html in one directory Is it possible to replace former with latter in all ...
2
votes
2answers
165 views

Is it possible to decrypt remote files with key stored in pageant(local)

I connect from my windows desktop to linux(centos) vps using pytty, authenticating with key stored in pageant. Now I would like to store passwords in encrypted file and use them in scripts, but ...
0
votes
1answer
726 views

Boot a Linux Kernel on USB drive

I am trying to boot Linux kernel version 3.2.0 from USB drive. I formatted the USB drive with ext4 partition. I installed GRUB on it, and I copied two files, vmlinuz-3.2.0-29-generic and ...
2
votes
1answer
18k views

How? Mount, Find & Recover DATA in HDD outside of Synology Box

How? Mount, Find & Recover DATA in HDD outside of Synology Box I had originally posted this question here on Synology Forums and no real solution was suggested except a Linux / RAID based ...
2
votes
2answers
3k views

How to start a linux gui program from the command line without starting a desktop enviroment?

I have set my linux Mint to start up with command line only. Now I would like to run programs, such as VLC and Firefox, from the command line. I would like to do this without starting the desktop ...
0
votes
1answer
858 views

Search & Replace Using Grep and Sed Command

I want to remove the weird / special characters from the bunch of text files. Here i used the following command to remove the weird characters but it gives me the error. Command : 1) grep -lri -e ...
1
vote
3answers
963 views

Linux, How to delete a folder with more than 1 million files?

I'm working on a website for a client, and I just see a folder containing more than 1 million cache files. I need to delete him, but i can't, i have this message : Argument list too long I started ...
0
votes
1answer
866 views

Why can't I read a file when I have group permissions

I have created a new admin group which I am a member of. I have changed permissions of the file test_admin.txt so that it can only be read and written by members of this group: ls -a returns ...
0
votes
1answer
365 views

How do I get my Ubuntu laptop's display on the ubuntu desktop connected to the network?

My network consists of an ubuntu laptop and an ubuntu desktop connected via a router. Now, I want to work on my laptop and see the output on the desktop screen, through the network. How do I achieve ...
1
vote
3answers
1k views

Why doesn't piping grep output into xargs work with color?

I have a strange issue. My grep has colored output, and if I do something like this: grep -lr '80' /etc/apache2/sites-available/|xargs ls I got: ls: cannot access ...
0
votes
2answers
197 views

Any way to share a once-off ssh session like TeamViewer/VNC without creating a user?

Hi, I would like to trial some dev ops/sysads/db admins but I don't want to give them the keys to the kingdom until they've proven their skillz. I'd like something analgous to TeamViewer in the ...
0
votes
2answers
567 views

Why am I getting “No such file or directory” after install?

If I command convert --version it shows this. bash: /usr/bin/convert: No such file or directory All what I did was this 1. $ wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz 2. $ ...
3
votes
1answer
6k views

How can I remove “ImageMagick” completely?

I think I accidently did install 2 ImageMagicks to my CentOS 5.8 before. Version 6.2.8 was removed by yum erase ImageMagick However, it still shows this when I typed $convert -version Version: ...
1
vote
3answers
2k views

Batch rename files in linux using folder name

I have a load of directories (2005 - 2012), each with files (01.jpg - 100.jpg). If I wanted to rename all the files into the base directory, renamed to, for example, Folder 2005 - 01.jpg, what would ...
1
vote
0answers
464 views

iproute nexthop not working - defining multiple default gateways

I have several point to point connections and I’d like to use all of them as default gateways. I saw this link which explains how to do this using load balancing by calling ip route with a next hop ...