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

0
votes
0answers
937 views

How to resolve “grub loading error: no such partition” error?

I'm having Lenovo laptop that issued by the Tamil Nadu government. In that I cannot boot the operating system. It's showing grub loading error: no such partition grub rescue> How can I break ...
0
votes
0answers
390 views

Why isn't my printer listed?

Why is my printer not listed when using the lsusb command? I've got a HP Photosmart C4780 connected via USB on Ubuntu 12.04. I've installed hplip but I still but this does not appear to have solved ...
1
vote
2answers
471 views

LXC error in Ubuntu Precise 12.04, can't find apparmor, this worked fine in 11.10

I'm getting this error using 12.04. When I run sudo lxc-execute -n foo -f lxc.example.conf ls, I get /usr/lib/lxc/lxc-init: error while loading shared libraries: libapparmor.so.1: cannot open shared ...
-1
votes
2answers
467 views

Create a Shell Service in Ubuntu

I want to create a service, which receives input from a shell script and returns outputs. where should I start, and what to do ? Please give me step by step instruction or reference to one. Thanks.
3
votes
1answer
2k views

How can I modify the EXIF orientation tag of an image?

I want to change the EXIF orientation tag in my JPEG images but without actual rotating of them. I want to do this to use them as a test case for an application I made. How I can do that in Linux? ...
0
votes
1answer
64 views

Linux header files referenced by mac80211 missing

I am using Linux 3.2.0-24-generic. I need to modify the source files of ath9k and mac80211. One of the files in mac80211 refers to a few linux header files such as linux/slab.h, linux/skbuff.h, ...
5
votes
1answer
561 views

Ripping TV episodes from DVDs – how can I know which stream belongs to which episode?

I'm ripping DVDs using a series of calls like mplayer -dumpfile foo$i.vob -dumpstream dvd://$i and using lsdvd to list the available streams to rip. Here is an example command I wrote for this for ...
-2
votes
2answers
16k views

A PC application similar to Wifikill in Android [closed]

Is there any (preferably Linux) program similar to the WifiKill Android app?
1
vote
1answer
790 views

CentOS 5, cannot accept htaccess

I have problem with htaccess on my vps.I installed CentOS 5, uploaded site on /var/www/html and it works.But, htaccess isn't working.I tried to add AllowOverride All in httpd.conf, also uncomment ...
3
votes
0answers
4k views

Default permissions with setfacl

Just started using setfacl to assign permissions for a specific group to /var/www/html (CentOS 5). Files in this directory are 640, root:apache. However, I've noticed that after doing something ...
0
votes
1answer
890 views

File command Linux parent package name

I cant find out what the parent package of the file command is. Need it installed on a Centos 6 OS. Regards Paul
0
votes
1answer
473 views

FTP Server setup: VM issues

I have an Filezilla FTP server setup on my Windows 7 64-bit machine. I can access this server on the Windows 7 machine itself. I have Oracle Virtualbox installed, with a RHEL 5 Guest OS using ...
1
vote
1answer
182 views

Formatting pwd/ls for use with scp

I have two terminal windows with bash. One is local on the client computer, another one has an SSH-session on the server. On the server, I am in a directory and seeing a file I would like to copy to ...
4
votes
2answers
66 views

How to “port” a current Win7 host into a VMWare image?

I'm planning on replacing my current host OS with a linux distro and then load the replaced OS as a virtual machine for apps that require Windows. Does anybody have a clue if something like this is ...
0
votes
1answer
205 views

How do I find what computer modem I have in Linux Ubuntu 11.10?

I can not find my modem in Ubuntu Linux 11.10. It is not detected in my laptop, how do I find what my modem is?
0
votes
2answers
2k views

How to align Logical Volumes on contiguous Physical Extents?

I have originally created 2 Logical Volumes in a Volume Group. The 2 Logical Volumes occupy the whole Volume Group and are sat on contiguous Physical Extents. However, after I have shrunk the first ...
4
votes
1answer
2k views

How to get a gnu screen session to auto start with a specific command?

I need a certain program to run inside a gnu screen session, automatically when an ubuntu machine boots. How can I set it up so that later on I can just screen -r and interact with the program?
1
vote
1answer
130 views

Why can’t I enter a directory when I have the right to?

My distribution is the latest Gentoo. I have a directory called music which belongs to qdii:commun and which octal access rights are "2070", that is: all permissions are granted to the group ...
1
vote
1answer
427 views

Can I replace my Linux installation with another one (without breaking my Windows dual boot)?

I have Linux Mint installed alongside Windows 7. I want to install Backtrack Linux instead of Mint. One of my friends said that if I installed it I would lose my Windows 7, and now I'm afraid to do ...
0
votes
1answer
492 views

Mouse right-click menu in RXVT

I moved from gnome-terminal to urxvt. I am used to having a right-click menu in gnome-terminal. Do such menus exist in urxvt?
1
vote
0answers
838 views

Configuring tmux to use Windows key for prefix

Is it possible to use the Windows key in tmux? I'd like to bind my commands to use it as the prefix.
9
votes
4answers
1k views

Does linux have any measures to protect against fork bombs?

#include <unistd.h> int main(int argc, char* argv[]) { while(1) { fork(); } } I run this program on my linux, nothing outputs on the terminal, the OS seems go dead. Does linux have ...
3
votes
0answers
230 views

Choose between multiple keyboard layouts for different users in GDM3

I am trying to set up a computer with multiple users each with different preferred keyboard layouts. The biggest sticking point right now is allowing each to log in comfortably. GDM used to offer a ...
5
votes
3answers
669 views

Email client for Linux which can store GPG messages decrypted

Is there any graphical email client for Linux which can store GPG messages decrypted? I have tried Thunderbird with Enigmail and Evolution but if I'm right none of them support this. (I know that ...
0
votes
0answers
24 views

Using rsync when files on one end are all lowercase [duplicate]

Possible Duplicate: Make rsync case insensitive I want to rsync a lot of files from a Windows box to a Linux server. The problem is, the files on Windows are all mixed case, and the files ...
0
votes
0answers
504 views

opening socket to google hangs on SYN_SENT

I have 2 computers now: downloader (asus at4nm10t-i) with debian and desktop (asus sabertooth 990fx) with gentoo in the same network under NAT even with the same ethernet card: RTL8111E. driver r8169 ...
0
votes
2answers
2k views

How to kill user processes from the same user?

I opened a VNC server and my VNC session is suddenly dead. I have lot of xterms open. When I ssh to the machine. and type users I see a bunch of users – my user accounts, like: userA UserA UserA ...
4
votes
1answer
13k views

Disable hardware acceleration for Flash player in Linux

The latest official version (and supposedly the last version for Linux) of Flash player has some interesting issues on Linux systems. The biggest issues which have summarily been confirmed on the ...
2
votes
1answer
64 views

Or(||) operation in `eval`

I found this if statement in /etc/init/rc-initsys.conf # Check for default runlevel in /etc/inittab if [ -r /etc/inittab ] then eval "$(sed -nre ...
2
votes
1answer
244 views

Porting GNOME keyboard shortcuts to URXVT

I recently switched from gnome terminal to urxvt (and installed tabbed extensions). I am also a heavy emacs user which uses a lot of key combinations similar to urxvt (tab related stuff) like ...
0
votes
1answer
50 views

Western Digital NAS User File Locations

I took the hard drive out of a Wetern Digital NAS and plugged it into my linux machine and mounted it, but I can't figure out where the user files are stored. Any idea?
2
votes
2answers
4k views

How to change user ID on a QNAP NAS?

I've got a QNAP TS-110 which I access via NFS from my Ubuntu system. I guess that NFS on a typical home network does not use any user authentication. I've read in various places and I found that it ...
2
votes
1answer
3k views

Unable to resolve hostname to ip

On my Debian server, the hostname is set to "debian." When I tried to ping debian from another Linux machine, it says "ping: cannot resolve debian: Unknown host." When trying to ping to any other ...
2
votes
8answers
11k views

How to find the index of a word in a string in bash?

In bash script, I have a string which contains several words separated by one or more than one spaces. ie: Name Age Sex ID Address If I want to find any of the word, for instance I want ...
0
votes
0answers
92 views

windows xp focus mouse

I'm using windows xp and I'm looking for a feature that is available in almost all linux window managers, which is to be able to give focus to a window when the mouse hovers over it (without selecting ...
0
votes
1answer
2k views

Trying to install ADB on Ubuntu, permission denied

When I tried to install ADB through the terminal on Ubuntu, it told me "permission denied": ~/android-sdks/tools/ $ ./android bash: ./android: Permission denied ~/android-sdks/platform-tools/ $ ./adb ...
0
votes
1answer
723 views

Configuring tmux to use Alt key for prefix

My current config for tmux is to use ` for prefix key set-option -g prefix ` How can I change this to use the ALT key. Nothing else in combination.
6
votes
1answer
13k views

How to update the system using the terminal?

I normally update my Linux Debian using the Update manager, but how can I do that using the terminal?
1
vote
0answers
687 views

Privoxy https/socks5 proxy + Authentication

I have bought a paid https proxy to be able to surf the web securely... the proxy needs authentication and I can use it on windows 7 using Proxifier ( www.proxifier.com ) but in Linux there is no ...
3
votes
1answer
681 views

VLC, realtime priority and rtkit

How can I increase the priority of VLC to some realtime level? The realtime setting inside of VLC does not seem to have any effect. I figure it nowerdays (on a modern Linux system, not a from scratch ...
0
votes
1answer
391 views

Gtk-WARNING with display when using sudo in nx

I am using nxclient on my Windows machine to connect to a Linux server which is running RHE. I am able to run all programs with GUI correctly. However, when I run the same programs with sudo, I get ...
1
vote
3answers
9k views

How to download all images from a website (not webpage) using the terminal?

I want a command that I type a URL, for example photos.tumblr.com, and it download all photos on this site in a folder, but not only images of the site's homepage. This command need to download the ...
1
vote
2answers
2k views

script calling script as other user

Using CentOs, I want to run a script as user 'training' as a system service. I use daemontools to monitor the process, which needs a launcher script that is run as root: : #!/bin/bash exec >> ...
1
vote
3answers
2k views

How to copy files between two open SSH shells?

If I am logged in via SSH on 2 servers and want to copy some files from one to the other (e.g. configuration from an old to a new server), what's the easiest way to do that?
0
votes
2answers
249 views

urxvt - tab expand environment variables

I am new to urxvt (moved from gnome-terminal -> Ubuntu 12.04 refugee). I am used to having environment variables expand in gnome-terminal by default Suppose that I have an environment variable ...
0
votes
2answers
939 views

Running Google Chrome over Multiple X Servers

I run on Debian Linux across 3 monitors and using 3 separate X Servers. I.e. the is an application menu on each screen and although I can not drag and drop between the monitors I am so used to where ...
2
votes
1answer
236 views

Why do different unit parameters for `du` give conflicting results?

I get this output when checking the total amount of space I'm using on my Walkman. david@Milton:/media$ du -b --max-depth=0 WALKMAN/ 14823290693 WALKMAN/ david@Milton:/media$ du -k --max-depth=0 ...
0
votes
2answers
661 views

cp --update still copies unchanged files

I'm trying to copy only changed files using 'cp -pu' under Linux (Red Hat 6.1, source/destination FS are GlusterFS mounted partitions) but I found that it still tries to copy file seemingly old and ...
0
votes
1answer
90 views

I'm trying to limit rsyslog outgoing to Emerg, crit , alert and error but having difficulty

This is the line i have: *.=emerg,crit,alert,error @@syslogserver:1468 What i'm receiving is all messages. Is there anything wrong with this syntax?
7
votes
2answers
4k views

Multithreaded support in 7za

(I posted this first on serverfault, but then I realized it probably belongs here.) I'm trying compress a very large text file using 7za (p7zip) 9.20. The -mmt option doesn't seem to have any effect. ...