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
75 views

Why am I not able to add directory in linux $PATH

I am trying to add ~/.bin into my path and for that I edited the .bash_profile and added the below line PATH=$PATH:$HOME/.bin/ and than I logged out/in. Now when I do echo $PATH I get ...
2
votes
3answers
1k views

Create new empty directory tree from existing tree with files

I have a large directory tree with lots of files. I would like to re-create the directory structure in a new location, but only the directories, not the files. I've checked cp's man page, but don't ...
1
vote
0answers
82 views

XTerm is killing last line's characters

I'm using cssh (aka clusterssh) to manage an experimental, peer-to-peer system, and I've observed a curious behaviour: the terminals seem to kill the last character that should appear on each line, ...
0
votes
2answers
899 views

What should I do in order to build curl without an error?

This failed when I run ./buildconf The error information is as follows: [mirror@home curl]$ ls acinclude.m4 CMakeLists.txt GIT-INFO MacOSX-Framework packages TODO-RELEASE ...
6
votes
2answers
4k views

Why 100MB ext2 boot partition recommended for linux?

A lot of people recommend a separate ext2 boot partition with around 100MB space for Linux installations. What is the significance of this separate boot partition.
15
votes
3answers
29k views

how to download dropbox files using wget command?

Seems I can only download dropbox files using explorer such as chrome and firefox. If I use wget to download, then I would get a file which is in html format. Why? For example you can open this link ...
2
votes
1answer
737 views

Make flash drive bootable with MULTIPLE Windows Installers

I have seen many ways to make a USB an installer for about any Windows OS. But how can I (using grub or something like that) make it bootable to all editions on Windows XP and 7? I have tried ...
1
vote
1answer
939 views

How to save your Linux state (suspend to disk) periodically to recover from crashes?

One in a while my laptop crashes/dies because of a bad/empty battery, crappy wifi driver or whatever other reason. For a while I've wondered if it's possible to force Linux to periodically save the ...
0
votes
3answers
1k views

How to make bash aliases available as linux commands?

I have many bash aliases on a remote location. But when I try to run those from my local linux box, I get the 'command not found' error. e.g. $ ssh root@remote 'status' bash: status: command not ...
0
votes
1answer
25 views

starting application with custom initial folder

I am working on linux. Do you know which command to start an application setting an "initial folder" for it. If I start my app from a directory that is not the one containing the app itself, some ...
1
vote
1answer
1k views

Clonezilla can't restore disk

Recently I moved all of the clonezilla backup file from one serve to another. I am now trying to restore an image to a flash drive and it's giving me an error. The error message was "target_parts is ...
0
votes
1answer
766 views

Best Linux Graphics Card drivers for a Dell M1210 / Nvidia GeForce Go 7400?

I've tried both Nouveau and the NVIDIA Binary Blob, and both are terrible in terms of performance, lag and graphics corruption. The binary also doesn't support the native resolution in console mode ...
0
votes
2answers
89 views

How to use user input with an existing variable

I'm trying to write a script where the list choice is configurable with the for loop: list1="name1 name2" list2="name3 name4" echo "which list do you want to use? (list1 or list2)" read userInput ...
1
vote
1answer
760 views

linux: mount old ATA disk to USB adapter

I am trying to recover data from an old Linux that was installed in a computer on an ATA hard drive. I found a ScanLogic Corp. SL11R-IDE IDE Bridge (04ce:0002), an ATA adapter to USB 1.0 like the one ...
2
votes
2answers
580 views

Grep, find line with minimum x words

Is there a way to find all lines with grep, that contains at least x words?
1
vote
0answers
226 views

How to convert a huge ASF audio file to OGG (or MP3) under Linux?

I have a huge ASF audio file, about 10 hours long. I want to convert it to MP3 or OGG. I use Linux. I tried to convert it to WAV first (using mplayer -ao pcm), but I got a message that this file is ...
3
votes
1answer
1k views

Trouble compiling OpenCV for Linux on an Optimus laptop using bumblebee

OK, I have a pretty specific Optimus/CUDA/drivers question: I'm running Ubuntu 12.04 on an Acer Aspire 5750G. This laptop has a CUDA-capable GT540M GPU, but it also has Optimus, so in order to make ...
3
votes
1answer
660 views

ignore ipv6 router advertisements for static addresses with bonded interfaces

I need to attribute static IPv6 addresses (not use autoconfigured addresses, and ignore router advertisements). This can be done as follows for a standard interface like eth0 iface eth0 inet6 static ...
1
vote
1answer
76 views

Delete permission for deleting for all users/groups

I would like to grant deletion rights for a file I created to all users and groups on a machine. At the moment I have a specific user user_A that creates a file with permission 0666, but if another ...
1
vote
0answers
792 views

Mac Keyboard Command key remapping doesn't work in Terminal

I'm using a Mac keyboard on Linux Mint 13 - Mate. I want to be able to copy/paste/cut as I done on the Mac, but on Linux with this Mac keyboard. I tried the settings I've found mentioned in several ...
0
votes
1answer
265 views

Why is iftop using so much memory? Are there any tools that are powerful, but do not use so much memory?

pmap iftop_id b7fce000 4K rw--- /lib/ld-2.5.so bf9aa000 84K rw--- [ stack ] total 204940K The memory of the server is only 1GB, but iftop takes 204MB. It is crazy that iftop uses ...
0
votes
1answer
3k views

How can I find the processes which use the most memory? [duplicate]

Possible Duplicate: How can I display the memory usage of each process if i do a 'ps -ef' For example, how can I find the top 20 processes that occupy the most memory? My Linux ...
3
votes
1answer
990 views

Nothing happens when trying to upgrade from Linux Mint 12 to 13

I am trying to upgrade from Linux Mint 12 to 13 using apt-get. After running the following commands, nothing seems to happen. I am fairly new to linux, what am I doing wrong? user@olympus ...
0
votes
1answer
650 views

Why mutt terminates with segmentation error?

I pressed $, in order to sync mailbox, but mutt just quit... In fact mutt dose not quit every time I press $, it only quits sometimes. So how do I figure out the reason why mutt quits? Is this a bug ...
1
vote
2answers
177 views

What do these numbers in mutt stands for?

I am in the o t mode now, which mails mails are sorted according to thread. Why don't the numbers start from 2, then 3?
3
votes
1answer
673 views

A command to get the sync status of a Dropbox file

I'm using Dropbox on Ubuntu. I'd like to detect the sync status of a file in my public directory (specifically: is it uploaded?) with a command / script. Is this possible?
5
votes
2answers
437 views

man page only found after ran with root

When I try to run man page on my Red Hat as a normal user I get "No manual entry for zip" If I change to root run: "man zip" and then I get the man page and afterwards I see the same man page as I did ...
0
votes
1answer
447 views

Linux: install GRUB on an external drive destined for another machine

I have a hard disk that's failing, so before it dies completely and I have to resort to backups I want to copy everything (OS and all) onto a new disk, and put that back in the machine the failing ...
0
votes
1answer
74 views

Script in include path not accessible to home user

So I have put a shortcut to one my scripts into /usr/bin so it is included. But command can be run only by root, other users failed to run it :( $ sudo su # chmod +x /opt/altf2/altf2 # ln -s ...
3
votes
1answer
731 views

Notebook fan spinning at max after trying Linux

I have a Thinkpad T420 (4178-BSG) I use with Windows. The fan (cpu) was always very quiet and I was completely satisfied with it. A few days ago I booted Backtrack Linux from a flashdrive and the fan ...
1
vote
2answers
2k views

Is it possible to mount a disk image, created with dd, to a directory on a mounted external usb hdd?

I have an image of my home (/dev/sda3) partition, which I've created using the "dd" command. dd if=/dev/sda3 of=/path/to/disk.img I've deleted the home partition via gparted in order to enlarge my ...
1
vote
1answer
1k views

How can I download a copy of an S3 public data set?

i was naively assuming I could do something like s3cmd sync s3://snap-d203feb5 /var/tmp/copy but I seem to have the wrong idea of how to go about this. I cannot even get a simple thing to work; ...
3
votes
1answer
747 views

Run script on login with ssh

I have a feeling this is quite easy to do but every solution found on google has to do with adding a script to be run whenever someone logs into the machine. What I am looking for is a way to run a ...
1
vote
1answer
236 views

cannot launch matlab remotely on mac from linux in the terminal

After I ssh to the mac desktop from linux Suse, I could not open matlab even without GUI. The mac desktop has mac OS 10.6. At the beginning, I thought the reason is that I did not use -X flag. ...
1
vote
1answer
2k views

Send command to a detached screen with enter?

I have a screen running a server. That screen is run with: screen -m -d -S server (cmd to start server) Then I want to send a command to the server by doing this: screen -S minecraft -X stuff ...
0
votes
1answer
1k views

Rename file return -1 with errno 18

I am moving a file from /tmp/ folder to another path. I am using "rename" function to move file to another path. But rename returns -1 and errno = 18 (Invalid cross-device link). Error no 18 means: ...
5
votes
2answers
681 views

Lightweight alternatives to Matlab in linux

I want to learn some basic things using Matlab. I'd prefer a lightweight one in Linux. Is there any alternative?
2
votes
2answers
7k views

How to get back the deleted folder and its content on a linux server?

I am using a linux (red hat) server and contents gets updated using CVS. A folder was not in CVS and it got deleted/replaced by another content after I run an update. How can I get the deleted content ...
0
votes
2answers
74 views

dd using device label instead of device

I would like to use a device label instead of the device in a script that I am writing so I can use the script on multiple computers. I want to change the line: sudo dd if=$(TARGET) of=/dev/sdb To ...
1
vote
2answers
251 views

Ping isn't acting accurate?

I've been trying to diagnose some latency issues with my internet connection. I've been lagging out of online video games and such, which of course could be their server's fault. So, I've been ...
2
votes
0answers
141 views

Pysdm has disabled my ability to write to my storage partition

I have a dual boot setup with Windows 7 and Mint 13 Cinnamon. As well as their respective partitions, I also have a large one (NTFS) for storing all my music, videos, documents etc. I downloaded ...
4
votes
1answer
252 views

Why are there so many files in directory /etc/share?

Why are emacs related files still in /usr/share/emacs even after I uninstall emacs? Can I delete files in /usr/share/emacs? [root@home share]# rpm -qa | grep emacs [root@home share]# [root@home ...
1
vote
0answers
248 views

Detect video chapter breaks from black screen or no sound in video

I need to analyze the video and audio in an MKV or MP4 container for timestamps where the screen is blank and/or there's no audio. I'd like to use this to generate chapter files for some video ...
1
vote
1answer
2k views

How to configure XAMPP to list all files and directories, including index files?

I want to configure XAMPP to show all files and folders in a given directory, even index files. But when I browse to the directory, index.php is run automatically instead. What settings can I use in ...
0
votes
1answer
1k views

How to let directories inherit the sticky bit and set different default ACLs for directories and files?

First problem: Is it possible to have the sticky bit on directories being inherited for newly created subdirectories? Second problem: How can I set different default ACLs for directories and files, ...
3
votes
2answers
401 views

More RAM than motherboard supports using ram disk + swap?

I want to put 6GB of RAM in a motherboard that supports 4. I heard something about using the excess RAM as a RAM disk and formatting that partition as SWAP, but that doesn't seen like it will work. I ...
1
vote
1answer
45 views

Command to get to bottom of tree

Is there a Linux command that will return the file path of the bottom most dir. I've tried the following commands: find ...
1
vote
6answers
8k views

How do I setup a WI-FI printer?

I have a Samsung ML-2168W printer with WI-FI support. Currently it is connected to my computer with a USB cable. However, I have no clue of how to connect it to the network through WI-FI (with WPA). ...
6
votes
1answer
836 views

How to get back to Oracle Java after installing OpenJDK

I've installed Oracle JDK using this guide. Then I accidently installed OpenJDK(tried to prepare PC to build Android). How do I get back to Oracle Java? Can I keep OpenJDK, but set Oracle Java as ...
4
votes
2answers
14k views

How to clear cached memory in Debian?

If I run a free -m, I get this output: Is there a command that I could use to clear the used memory? I have tried this: echo 1 > /proc/sys/vm/drop_caches It will ask for sudo. But even after ...