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
1answer
246 views

How can I detect long-lived connections and mark them for shaping

I would like to detect TCP connections which have been open for more than one minute (or for greater than N bytes, or M packets), so I can classify them as bulk traffic ("downloads") and de-prioritise ...
0
votes
1answer
496 views

How to open an application in running X session [duplicate]

Is there any way to do that? Provided I have ssh access to a machine and I have root on the machine. Can I run xclock for instance in the currently running X (xfce or gnome) session?
0
votes
4answers
17k views

Can't Boot from USB - even with Bios set correctly

I can't boot from USB even though the BIOS is set to boot from USB first. Windows Boot manager somehow seems to be taking precedence. I have Windows 7, Linux Mint and Ubuntu installed on my ...
0
votes
1answer
229 views

How do I switch to Dvorak across multiple Operating Systems

EDIT: I am answering my own question, after not finding a combined guide anywhere. Others, feel free to post an answer. Additionally there doesn't appear an answer illustrating the pitfalls and ...
0
votes
1answer
2k views

What is the best filesystem for an external USB drive - 2 - 3 TB shared between OSX/Windows/Linux? [duplicate]

I have been using NTFS, but I recently took a drive which is normally attached to a Mac mini running Lion (using Paragon NTFS) and attached it to Windows 7 because the drive was disconnecting ...
0
votes
0answers
17 views

Booting Linux from USB 3.0 External Hard Drive [duplicate]

When I boot my computer, in the boot manager, I have the option to click "Windows 7" (my default OS). When my External Hard Drive is plugged in to USB 2.0, it boots Linux (when I click on "Windows ...
0
votes
2answers
168 views

If there are 2 NICs on the same machine, can a TCP client on one NIC connect to a TCP server on the other NIC?

I use TUN/TAP to create a tun NIC tun0 with IP 10.10.10.2, and I have a real NIC eth0 with IP 202.112.34.49 Then I run a TCP client which binds its socket to 202.112.34.49 and a TCP server binding ...
0
votes
1answer
423 views

In Linux, remap keys from second keyboard to unicode characters and shortcuts

I would like to get a second keyboard for just frequently used unicode characters and keyboard shortcuts. Ie, I would like to bind the "a" key on my second keyboard to opening firefox, for example. ...
0
votes
3answers
387 views

accidentally typed sudo shutdown now

I needed to shutdown the server running Linux but accidentally run the command sudo shutdown now. It says it went to single user mode. How can I return it back to its original state?
0
votes
0answers
324 views

Aptana Studio and xampp on Fedora

I'm using Fedora and Aptana Studio 3. I can launch Aptana Studio and it works without problems. I can also type in localhost in the URL of my browser and it gives me the xampp-splash screen. Now I'm ...
0
votes
3answers
69 views

Cant download 15,000 files via ssh linux [duplicate]

I have used wget, ncftp ftp etc, They all list around 5000 files at some sort of limit. I tryed using wget to get an exclusive file that didnt show up in the regular wget download and it worked. I ...
0
votes
0answers
74 views

Cinnamon installation

I installed the Linux Mint 14 32-bit MATE version on my desktop yesterday. Now I want Cinnamon. Though I thought of installing the CINNAMON version instead of the MATE version the USB of CINNAMON ...
0
votes
2answers
582 views

is it possible to install software without asking for a password?

Okay, so i am not sure if it is possible, but i am creating a menu and the user can select an option that will install two bits of software, however, once this is pressed there can be no other ...
0
votes
1answer
63 views

How to add a Windows 7 to grub2

I installed Ubuntu and Windows 7(windows first). After that I can't boot into Windows. sudo update-grub2 Not see Windows.(but file explorer see this partition). I add to /etc/grub.d/40_custom ...
0
votes
1answer
164 views

How to run GCC compiled output on NTFS drive?

Basically, I have three major partitions on my machine as I'm dual booting: Partition1: Windows-7 Partition2: Linux-Mint Partition3: SHARED_NTFS_DRIVE Well, I've reserved only a minimal chunk of ...
0
votes
2answers
778 views

Ubuntu 12.04 setting /etc/environment variables

If I set a variable in /etc/environment, it only seems to apply to administrators while in sudo su. How can I get the variables to apply to everyone? Especially when they are in terminal?
0
votes
3answers
2k views

Dual boot linux mint 14 partitioning

I have 2 primary partitions installed: 100MB system reserved (NTFS) and 230GB Windows (NTFS). Can I make a linux /home partition so that different distros can point at it and use it's files? And will ...
0
votes
1answer
125 views

Scheduler for sequential jobs on Linux

I am running some programs over a cluster and I would like to run them in a sequence, i.e when the first program terminates the second one starts and so on. This is so that my cluster does not exceed ...
0
votes
1answer
2k views

Randomly getting “NO CARRIER” from Huawei 3G modem under linux

I'm using a huawei 3G modem under linux. After using NetworkManager for some time, I now use wvdial to talk to the modem and start pppd: i added a udev rule so wvdial starts automatically when the usb ...
0
votes
1answer
27 views

Looking for sysconf_addword explanation

What is sysconf_addword? Couldn't find a documentation about this. Is it apache specific?
0
votes
2answers
1k views

find: missing argument to `-exec' when executing the find command in Linux [closed]

I get the error find: missing argument to-exec'` when I attempt to run the command find . -maxdepth 1 \( -iname \*.png -o -iname \*.jpg \) -exec echo {} \; The reason I am using echo is because I ...
0
votes
1answer
132 views

in which kernel version CONFIG_IP_NF_MATCH_OWNER appears?

In which kernel version CONFIG_IP_NF_MATCH_OWNER key appears? I dont see it while make mennuconfig on 3.2.28 that I am trying to compile for my ubuntu 12.04 (3.2.0 - default kernel version).
0
votes
1answer
230 views

Convert Setup Script (BASH) To Ask Password Only Once?

I have a script that I use to set up my laptop automatically with all of my settings. I experiment with different Linux distributions constantly on this laptop, so it is very useful to have a script ...
0
votes
1answer
211 views

Saving passwords for pages that redirect on login ( Chrome and FF )

There are pages which redirect after successful login. It makes impossible to click on "save password" prompt. How to save passwords for such websites in convenient way ? ( Chrome , Firefox )
0
votes
6answers
465 views

Why do Linux systems have multiple virtual consoles?

We can switch to a text console by pressing Ctrl+Alt+F<1-7> on the keyboard. What are the uses of these consoles, and why are there multiple consoles?
0
votes
1answer
552 views

Disable my nVidia video card driver in Linux

I'm trying to passthrough my nv video card to my domU, but I could not bind my video card to the pciback driver I only have one video card with the pci number 0000:03:00.0, so I used the following ...
0
votes
1answer
110 views

Show starting with a special line until a special line regex for Linux tail command

I use that notation at my log files: [something-something] somethings are necessary and variable length characters and numbers. My special log file includes line that has characters explained above. ...
0
votes
1answer
2k views

How can I install python-dev without sudo?

I am trying to install python package (scikits.learn) on my user directory (on a ubuntu server for which I don't have sudo permission) but I am getting error: Python.h: No such file or directory It ...
0
votes
1answer
938 views

How to search recursively for a string in linux?

I want to search recursively for files containing a string. I want to search: Files in and under the directory I'm standing in currently A specific directory. I want to see only results. I don't ...
0
votes
1answer
2k views

iTerm2 loses “ls” colors if I ssh to a server

Why do I lose ls' colors when I ssh to a server? I would like those colors to be preserved. Is this possible? Should one do something on the server side?
0
votes
1answer
995 views

Bind multimedia keys

I've got an old keyboard (Compaq 9009) with multimedia keys. How can I use these keys as shortcuts?
0
votes
1answer
179 views

What do Inst and Conf refer to when using the command apt-get in Linux?

When I run the command apt-get install flashplugin-installer I am displayed the following lines of details Inst flashplugin-installer [11.2.202.233ubuntu0.11.04.3] (11.2.202.235ubuntu0.11.04.1 ...
0
votes
3answers
1k views

Convert video into format which is most likely playable on a windows system

I have some flv and mp4 videos, which I need to convert to a format which is playable on an a Windows Vista system (for a presentation). The problem is, that I cannot test the videos on the system on ...
0
votes
1answer
597 views

Redirect a url to another url

I need to redirect a url to another url. THe PC where this should be done has Linux but no server program such as Apache. When the user type www.mycomerp.com, it should redirect it to ...
0
votes
3answers
2k views

How to recover deleted file in mac? [duplicate]

I wanted to copy a file using cp, however, I happened to type rm and the file was deleted. How can I recover it? The file is stored in a mobile hard disk drive with FAT32 file system I'm using Mac ...
0
votes
2answers
509 views

How to install TermKit on Linux?

The following guide seems severely out of date now, and the author does not reply to user questions, so I ask you is there any other step-by-step guide for this?
0
votes
1answer
126 views

How to find files, print some standard info about those files, plus print the alpha char count of each filename?

I want something like this: find "$dir" -type f -printf '%i:<alpha_char_count_of_base_filename>:%d:%p\n' Then I want to sort first on inode number, then on alpha_char_count_of_base_filename. ...
0
votes
4answers
1k views

ssh freezes when trying to connect to some hosts

When I try to ssh to particular machine/s in a list, The SSH command happens to be freezing. I tried out setting ssh timeout. But then also it's freezes even after the timeout. In verbose mode : ...
0
votes
1answer
1k views

Can't seem to install 64bit GCC with YUM

I type the following... $ yum install gcc.x86_64 (by the way, is "gcc.x86_64" the right package for 64bit gcc?) [...] I get the following errors... [...] Total size: 16 M Downloading ...
0
votes
1answer
717 views

Install & update package on Debian without internet

There is computer with Debian, but no internet connection at one place and computer with Windows 7/Arch Linux at other place (my home) with internet connection. Is there a way to update and install ...
0
votes
1answer
1k views

Downloading multiple files with wget and handling parameters

How can I download multiple files using wget? I also want to rename the files. Here are the commands I'm running one by one (copy/paste on terminal): wget -c --load-cookies cookies.txt ...
0
votes
1answer
1k views

Unable to create filesystem on new partition - Amazon EC2 instance

I created a new partition /dev/xvda1p1 on linux amazon ami. After that i am unable to create a filesystem. What is the issue? # fdisk -l Disk /dev/xvda1: 8589 MB, 8589934592 bytes 255 heads, 63 ...
0
votes
1answer
3k views

The correct way to move /home to another partition on linux

I've moved /home to a separate partition, this involved creating and mounting the new partition, copying the old home directory over to the newly mounted one, editing fstab to mount the new partition ...
0
votes
2answers
1k views

Can't boot in to arch linux - '/sbin/init: Bad Exec Format' followed by kernel panic

I dual boot Windows 7 & Arch Linux. Arch was stable for a while, but then it stopped booting into Arch, saying '/sbin/init: bad exec format'. This is followed by a kernel panic. I'm not really ...
0
votes
1answer
611 views

what programs can fxp a single file from the command line?

I want to directly transfer one file from remote server A to remote server B from my local server. What programs can FXP a file using ftp other than lftp?
0
votes
2answers
1k views

How to install CentOS 5 or Redhat 5 on USB Key or external HD

How to install CentOS 5 or Redhat 5 on USB key/HD external? I don't want to create multi-boot (with Windows 7)which mean just when I need a Linux machine by connecting usb I have downloaded LinuxLive ...
0
votes
1answer
233 views

Mint map number keys to higlight text

I have a standard PS2 keyboard hooked up to my Mint linux box. When I try shift + the arrow keys on the number pad, I just get the numbers typed in. However I want it to work the same as on my ...
0
votes
2answers
352 views

modal dialog popup alarm

In Linux, specifically Ubuntu, is there a way to set a simple command to alert me at a specific time? preferably w/ a pop-up so I won't miss it. Perhaps pair some command w/ "at" ?
0
votes
1answer
517 views

Windows XP freezes on welcome screen after resizing partitions

I am using Windows XP and Linux on a dual boot system and after resizing the partitions, Windows hangs just before login. I shrank the Linux partition and enlarged the Windows partition using GParted. ...
0
votes
1answer
454 views

How to Set up External yum repositories?

I am new to linux, I am trying to download package using yum, but looks like external repositories are not configured. how to setup yum to download packages from external repositories. I am using ...