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

1
vote
1answer
780 views

Playing music from iTunes on a Linux computer on LAN

I am not sure if there is a practical way to do this; I tried some googling, but the signal-to-noise ratio was pretty bad, so I thought I'd try here. At home, I have an old Linux laptop that serves ...
2
votes
1answer
89 views

Copy everything in a subdirectory across to the relevant subdirectory elsewhere

At the moment I'm doing: for i in mdx/[0-9][0-9].png; do cp $i ../../d_s_c/images/mdx ; done But as well as the directory mdx, I also have other directories called ntt, etc. How can I say 'For ...
0
votes
1answer
108 views

Enable MySQL at system startup

I'm running a ubuntu 10.04 box. I want to enable Mysql on startup. Typically, I used the following command: #update-rc.d mysql defaults Mysql still doesn't start when system boots. Suggestions?
1
vote
2answers
2k views

Connect Linux server via Windows CMD

As we know, we can connect to a Linux server on a Linux or Unix system by typing "SSH username@domain.name.whatever". But it seems like we cannot do things like this by Windows Command Prompt. I ...
2
votes
0answers
1k views

Linux driver for Bigfoot Killer E2100…?

I have looked around online a bit, but have not been able to find any drivers to make a Bigfoot Killer E2100 work under Linux (CentOS 6, for what it's worth). The one candidate I found required a few ...
1
vote
1answer
771 views

Mounting Fedora ISO DVD and then copy the full DVD structure locally

I need to recreate in a local folder called /distro/fedora/ the full directory tree (including eventually hidden files, symlinks, etc.) contained in the .iso file just downloaded ...
0
votes
1answer
576 views

How to install skype in an ALT Linux distro (Simply Linux 6)

I've installed Simply Linux 6 (a distro by ALT Linux Team which based on the "p6" branch of their package repository; ftp, torrent). Now I want to use Skype, but there is no skype package in the list ...
5
votes
4answers
4k views

How can I download a whole playlist from YouTube to MP3? [closed]

I would be happy if I had a cross-platform (Linux and Windows) tool for automatically downloading and converting a whole playlist from YouTube to MP3. An add-on for Firefox would be very desirable, ...
2
votes
4answers
4k views

How do I keep folders synced and backed up between two macs using a Linux NAS (rsync?)

I've got two primary computers, one Mac Pro and one MacBook Pro for when I'm on the go. I've also got a Linux sever which also acts as NAS. Currently I backup the entire computers to an external ...
8
votes
1answer
3k views

Is there a way to set the default buffer for VLC?

I'm often playing videos from my external hard disk, and, well, it has issues. It'll often spin down and it often takes 5-10 seconds to spin back up in order to keep reading files. This is really ...
3
votes
3answers
886 views

X Session from Mac

How can I log into an X server from Mac OS X? I know that ssh -X username@host will log me in and I will have the capability to run X applications. On Cygwin/X you can log in and have a whole X ...
3
votes
0answers
919 views

Multiple GPUs in Linux - how to specify which GPU runs X windows

I have been running Red Hat Enterprise Linux 6.1 on a system with a GTX 480. Recently I added a 3GB GTX 580, as my CUDA application requires more memory than I have on the 480. Due to space issues in ...
5
votes
3answers
1k views

Linux: How can I edit all the files returned by find in vi?

Something I find myself doing a lot is running a find command and then editing all of them in vi, which looks something like this: > find . "*.txt" ./file1.txt ./file2.txt ./path/to/file3.txt ...
2
votes
2answers
76 views

How to restrict a program's r/w rights to nothing?

Under Linux, I would like to be able to launch anything from command line in a "safe" environment, i.e. be assured that it can't read or write any file on my computer, and even better if it couldn't ...
5
votes
3answers
967 views

Why is the dreadful 'rm -rf /' even allowed? [closed]

We all know the destructive power of the following command executed as root: rm -rf / Related questions: How far will you get with a 'rm -rf /' deleting everything: # rm -rf / I fail to ...
1
vote
1answer
5k views

Installing Ubuntu on a dynamic disk

I have a Dell Inspiron N5010 laptop that came with Windows 7 installed and a dynamic disk. I want to install Ubuntu but I have the following constraints: I don't want to lose any data. I don't want ...
2
votes
1answer
1k views

How to stop Bash appending history

I am having a lot of trouble setting up the terminal history of Bash the way I want. I would like to have no duplicate entries and if I enter a command I want it saved and the duplicates above ...
0
votes
3answers
376 views

Scripts shell recording playback

I hope this makes sense. I use 'scripts' to make copies of my ssh sessions for various reasons. When I access the logs via less, etc, I see this: Script started on Mon 12 Sep 2011 08:59:14 AM CDT ...
1
vote
1answer
2k views

Disabling an (/dev/inputX) input device on Ubuntu(/Linux)

My story: I have a laptop with a touchscreen, which is a bit faulty. It jumps the cursor occasionally to one point of the screen. It's annoying, but I managed to find the correct input. ...
3
votes
2answers
3k views

How to detect DoS attacks / manually block IP on Ubuntu?

I have a VPS with Ubuntu. I host a small website (~10 visitors at the same time). Sometimes the website starts lagging. It lags so bad that my SSH connection starts lagging too. Running top says that ...
2
votes
4answers
1k views

Linux Command Line Tools for Analyzing OS + NIC TCP Latency

I'm hoping to find an existing Linux tool for measuring latency: I'm trying to diagnose how much latency my OS and NIC card are adding to TCP latency in Linux. I looked at the following tools but ...
2
votes
2answers
623 views

Set ls to return colored results by default

In my .bashrc I have the following lines to turn on colors for grep and ls alias ls='ls --color=auto' export GREP_OPTIONS='--color=auto' I've tried changing the alias to export ...
3
votes
3answers
281 views

What shell allows recalling commands with certain beginning?

Programs like matlab/octave and I'm sure many other ones allow you to start typing a command, and then hit Up to recall the last command that starts with the typed characters. Common linux shell bash ...
0
votes
1answer
524 views

How to revert base ftp dir to my user home dir?

When I connect to my linux server via FTP, my base folder upon login is not my user home directory, but instead '/www'. '/www' belongs to user root and one of the secondary groups for my user ...
1
vote
1answer
208 views

Auto mounting of “identical” external USB drives in Ubuntu swaps the mount points

I have 2 identical Western Digial Elements 1,5 TB external harddrives, but they are causing some problems when they mount. The problem is that the OS sees them as identical drives with the same ...
0
votes
2answers
161 views

How to create a symbolic link in an other directory?

There are two directories A and B and a file F which is located in B. The working directory is B. How can you create a symbolic link in A pointing to F in B without changing the directory?
0
votes
1answer
61 views

How can I know the privileges against a file in Linux? [closed]

Cross-posted: How can I know the privileges against a file in Linux? I have logged into a Linux server as a normal user (not as an admin) to see some shell scripts in a directory. Assume that a ...
0
votes
0answers
142 views

How to list files ending with .sh only? [duplicate]

Possible Duplicate: How to use grep to see only Listed Files in a directory I have many files in a folder, for example: Kiran.txt Kiran1.txt Kiran221.txt Kiran144.txt Time.csv Timer.csv ...
10
votes
3answers
3k views

What is the difference between &> and >& in bash?

What is the difference between &> and >& in bash? tldp did not mention the latter one. Is it really a redirection operator? Or does someone know a more complete tutorial?
39
votes
6answers
43k views

How to list folders using bash commands?

Is there any way to list just the folders in a directory using bash commands? ( as the ls command lists all the files and folders )
0
votes
2answers
105 views

Seeking shortcut to execute a Program with a supplied Local Path

A program requires local path property to perform correctly. I'm seeking shortcut command to execute a program with a supplied localPath For example, cd /usr/local/blogrmis ...
0
votes
2answers
194 views

Debugging browser crash via CLI

I'm preparing for an interview and came across this question in a forum: If your browser crashes, how would you debug it only using the command line? For simplicity, let's assume it's a Firefox ...
-3
votes
2answers
148 views

which version of linux should I use? [closed]

I have an old computer that I want to install Linux on it and use it as file server (for backup). My old computer has 512MB ran and an old Pentium. Which Linux should I use?
3
votes
3answers
274 views

How to always start gvim maximized in Linux?

set lines=999 columns=999 doesn't work, and au GUIEnter * simalt ~x only works for Windows.
2
votes
3answers
299 views

VIm copy & paste between apps as a non-superuser

I'm using a work computer so i don't have a root access. I've tried "+y, "*y, set clipboard=unnamed. It looks like my vim doesn't support +clipboard (version 7.0). I'm using Linux Centos 5 so ...
0
votes
4answers
2k views

How to list files based on matching only part of their filename?

I have many files in a folder for example Kiran.txt Kiran1.txt Kiran221.txt Kiran144.txt Time.csv Timer.csv Timer2.csv Timer444.csv Timer266.csv Account.sh Account3.sh Account3333.sh Account3333.sh ...
2
votes
5answers
1k views

Can I resume an existing vim process?

When I left work yesterday I left vim open with the files I was working on. I'm working from home today, so I VPN'ed in, and when I go to edit those same files, I get the warning that there's another ...
1
vote
1answer
422 views

“poor” video encoding performance of the i5 2500k under Linux

I'm running Ubuntu 11.04 (Natty), with an i5 2500k (not overclocked) and a z68 board. I'm trying to encode DVD quality VOB files to the iPhone preset in Handbrake, but in mkv format. I'm currently ...
0
votes
2answers
81 views

Linux terms a newbie should know about [closed]

I'm new to Linux, particularly the distributions I'm using - Ubuntu and openSUSE. I've looked on the Internet for how to install software on these operating systems, but I can't seem to understand ...
0
votes
1answer
712 views

Using Linux LVM snapshots for system backups - “semop failed for cookie” error

I'm running Ubuntu 11.04, with the / partition in an encrypted LVM volume. /home is in the same logical volume. I'm trying to use the LVM snapshot functionality to enable time-consistent backups of ...
1
vote
2answers
3k views

Windows or Linux equivalent to Final Cut Pro?

I can't believe someone hasn't asked this already... What are the Windows or Linux equivalents of Final Cut Pro? Via Google I found some sites discussing this, and several mentioned Adobe Premiere ...
6
votes
2answers
9k views

Why does editing javascript in Chrome Developer Tools not work?

I have Google Chrome 13.0.782.220 on my Ubuntu 10.04 LTS (64-bit). I try to edit a JavaScript code from an external JS file in the Chrome Developer Tools Scripts pane by double-clicking on the ...
0
votes
2answers
9k views

How to add a new entry to fstab?

I mount a device mount /dev/xvdf /mnt/mongo and verify the mount using df-h: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G 955M 6.9G 12% / tmpfs ...
1
vote
1answer
158 views

lock down vino icon remotely

On (rhel5/centos5) Is there an easy way to either turn off the vino icon that appears at the bottom of the screen when someone connects, or leave it displayed but disable the ability to enter the vino ...
0
votes
4answers
683 views

FTP Put a zip file that contains text files in Linux

I am transferring a file from a linux pc going to a windows ftp server using "ftp put". My file is a zip file that includes .txt files inside it. Here is what's happening when I transfered this file ...
0
votes
1answer
278 views

Why do Process ID's come in the tens of thousands? [closed]

Whenever you write a program that prints its own process ID, I've always (without any exception) received numbers ranging in the tens of thousands. Never less, never higher. I was just wondering, ...
2
votes
2answers
405 views

Software KVM For Dual-Displays

Does a KVM software solution exist that will allow you to utilize two monitors on multiple systems? I'd like to hook up my MBP to my displays, but have the flexibility to switch back to Windows/Linux ...
0
votes
1answer
3k views

How to change the default database for one user in MySQL

Though this might seem like a http://serverfault.com question at first glance I don't think it is. I have a mysql database on a server at work. Every time I log in to execute a query, I have to ...
0
votes
2answers
3k views

linux keeps disconnecting from wireless network

I'm running Arch Linux on an Acer laptop and my wirless connection doesn't stay up. After a while it disconnects, and when I try to reconnect I get stuck with a "Waiting for authorization" message. I ...
-2
votes
1answer
337 views

Wi-Fi file transfer similar to bluetooth [closed]

It's a pity that Wi-Fi is used only for network and internet connection. There's no information on a thing that can seem so simple – file transfer via Wi-Fi. I can imagine it similarly to how ...