A family of Unix-like 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
726 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
286 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
188 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
143 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 ...
17
votes
3answers
11k 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?
45
votes
7answers
72k 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
111 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
239 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
312 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.
3
votes
3answers
396 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
5k 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
3k 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
452 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
83 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
866 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
4k 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 ...
8
votes
2answers
12k 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
1answer
15k 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
180 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
959 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
382 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
612 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
6k 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
1answer
5k 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 ...
4
votes
3answers
5k views

LANG=C is in a number of the /etc/init.d/* scripts. What does LANG=C do and why do you need to set LANG=C.

Its not clear what it does or what it contains. I tried greping the out put of set and env to see what C or LANG are set to in other places on the systems. Nothing was clear about how it is used or ...
4
votes
2answers
8k views

How to change the wallpaper in linux mint 11 log in screen

I am having a bit of a issue finding the way of how to change the wallpaper for Linux Mint 11 log in screen. Do you guys know how to do this?
8
votes
2answers
3k views

Can I name GNU screen sessions?

I use multiple sessions for different things. One for work, one for school work and one each project I'm working on. It gets really hard to keep track of the sessions when screen -ls returns ...
1
vote
2answers
224 views

How clone a hard drive using Linux live CD

I have Ubuntu running live from a USB stick on a laptop. I have an external hard drive plugged in which is 2TB. When I type fdisk -l in the terminal I see the internal hard drive of the laptop as ...
5
votes
1answer
2k views

How can I catch or stop a Linux shut down from the terminal?

Is there a way to catch or stop a Linux shut down after a reboot, halt or shutdown command has been entered? sudo shutdown -r +10 I should now have 10 minutes before the computer shuts down. If I ...
1
vote
1answer
1k views

Run ubuntu command sudo apt-get in linux Mandriva?

How i can run the following command (for Ubuntu) in Mandriva 2005 ? What is the similar command ? sudo apt-get install python-wxgtk2.8 pyro mercurial build-essential bison flex mercurial python-numpy ...
5
votes
4answers
2k views

Dotty shows all labels as dots (period) instead of text

I have the following graphviz graph: digraph finite_state_machine { a -> b [ label = "c" ]; } The output of this graph should be And this is indeed what I get if I try to use dot to ...
3
votes
2answers
2k views

Windows equivalent for “find . -name ”*.zip“ | xargs rm”

I can do the following in Linux: find . -name "*.zip" | xargs rm What is its equivalent in Windows (XP, if it matters)?
0
votes
1answer
482 views

How to make mongodb start when server boots on Linux?

I'm (still) a novice on Linux, and trying to figure out how to make mongodb start when server boots on Linux? I'm using Amazon EC2 "default" Linux instance (no Ubuntu).
1
vote
1answer
163 views

Pass wildcard array to cp

I need help with passing a wild card array to cp, I know it can be done but cant figure it out, ive got 3 files all start with the word somefile but have 3 different extensions somefile.conf ...
1
vote
1answer
739 views

Configure IP v6 on Linux machine

I use this command to assign a site-scope IP address: $ sudo ifconfig eth0 inet6 add fee3::216:cbff:fe94:1a86/64 $ Check it with ifconfig: $ ifconfig ... eth0 Link encap:Ethernet HWaddr ...
23
votes
2answers
2k views

What is /usr/bin/[ and how do I use it?

I was looking at coreutils and found this as one of the files included as part of coreutils: /usr/bin/[. What is [ and what does it do? It is an executable. I just don't know what it does or how to ...
1
vote
2answers
1k views

How to install mongodb on linux?

I'm a nuby on linux (never used it before), and I want to install mongodb on an EC2 linux instance. I still haven't found a good article which guide how to install mongodb on an EC2 linux instance, ...
3
votes
1answer
492 views

Copy a file X times renaming it with all alphabet letter

I have a database sqlite file called "a.db". I need to copy it 25 times (once for each letter of the alphabet) to have: b.db, c.db, d.db... ... ... z.db. How can I do this in the Bash shell?
0
votes
0answers
53 views

How to delete directories in Linux without y/n prompt? [duplicate]

Possible Duplicate: Linux rm non-interactive command When I try to delete non-empty directories using the following command: rm -r NAMEOFDIR it prompts to if I want to delete each and ...
0
votes
2answers
680 views

Cannot SSH my home PC

I am attemtping to SSH my home PC from another PC. Before I even get to the command line, I need to know my IP address. But I'm getting confused. If I use ifconfig, I get a a load of "inet" numbers ...
0
votes
1answer
93 views

email myself startup screen messages log

I currently have a NAS (Ubuntu 10.04) on my network without an access to a monitor due to a lack of a graphics card. I noticed that every time I restart the NAS, it's been taking longer to fully ...
1
vote
2answers
41 views

Visual annotator for large images

I have a few hundred images of 30000 x 10000 pixels in size. Each image has lots of text (rendered as pixels) on it. I'd like to translate all text to another language. I speak both languages, and ...
1
vote
1answer
644 views

Does the physical interface name in Linux ever change?

When I see the man page for interfaces I see the below. Has anyone seen similar behavior, I had been using Ubuntu for some time and my net-books interface name has not changed for ever. The ifup ...
0
votes
1answer
76 views

Should programs follow symlinks?

A program that recursively traverses a directory tree, needs to figure out what to do about symlinks (and/or junction points on Windows), to avoid going into an infinite loop when a symlink points to ...
5
votes
4answers
11k views

How to run a command after an already running, existing one finishes?

If I start a script that is going to take a long time, I inevitably realize it after I've started the script, and wish I had a way of doing some kind of alert once it finishes. So, for example, if I ...
4
votes
6answers
11k views

Linux: Copy DVD ISO to empty hard disk / partition and boot as if it is a DVD?

I have a broken DVD drive and no others available right now to burn a DVD iso to so I'd like to use a empty hard disk instead. I've tried Unetbootin but that only copies a few megabytes of files - ...
0
votes
1answer
989 views

Executable does not exist in /usr/local/bin, but it does in /usr/bin, yet it still fails

I had to compile wine by hand for a certain patch, but I no longer need it. So I did a make distclean (guess I should have done a make uninstall from the start, but oh well) and it was still there. ...
1
vote
1answer
213 views

Is it normal to overworking of just one CPU when using openMP

When I use OpenMP in FORTRAN to parallelize a program on linux, ' top' command show me just one processor working ~%800 instead of ~%100 x 8 processors. Is it a expected situation ?