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

7
votes
3answers
499 views

Why I have to type “./” always before an executable to execute it in Linux?

When I compile e.g. x.c by: GCC x.c -o x To execute result I have to write: ./x And just typing: x Fails with this message: x: command not found This means Linux does not search current ...
15
votes
5answers
6k views

I tell fsck to fix USB stick, it says “Leaving file system unchanged.”

So I run fsck, and it reports FATs differ but appear to be intact. Use which FAT ? 1) Use first FAT 2) Use second FAT Choosing either one gives a long list of errors like Cluster 1471730 out of ...
2
votes
0answers
407 views

Pairing bluetooth mouse with two system on same computer

I have a Microsoft Mobile Memory Mouse 8000 paired to my notebook under Windows via Bluetooth. However I have a Linux installation as well (openSUSE 12.1) and I thought I could make that mouse work ...
0
votes
2answers
177 views

Broken motherboard hardware mirror - getting data from the hdd or from its image

I got a computer (Windows 2003 server) with broken motherboard. The board using an onboard hardware raid and have 2 HDDs in mirror configuration. Trying to find a replacement board will take some ...
2
votes
2answers
1k views

Executable can't find correct files when called via symbolic link

I made a symbolic link to an executable with ln -s /usr/bin/mydir/myexec /usr/bin/myexec When I executed myexec in Bash, it does not load the proper files which are located in the original myexec's ...
1
vote
1answer
512 views

Linux mint GRUB issue

I installed linux mint 12 and when I restared 'No such partition ' messgae came and entered into 'Grub rescue' mode.I entered commands and booted successfully. How to repair GRUB now? Because ...
0
votes
1answer
358 views

Clean install of Fedora17 and keeping current home directory

HP Mini 210 Fedora 16 Hello, I have downloaded the recent F17 Beta live CD and would like to install it. Normally, when I install I always select the following custom partitions: /boot /swap ...
0
votes
2answers
2k views

Issue pushing file from linux to windows with smbclient

I have a file located on my linux box that is generated by a python script, the file is dropped inside of the /root/ directory My bash script looks like so: #!/bin/bash # Run the HR Data feed cd ...
1
vote
1answer
848 views

How to make mplayer or VLC start playing video at strict time?

I want mplayer and VLC start playing at exact time. Player should: Load video file, buffer it, prepare everything; Wait for UNIX time to be N seconds M milliseconds Start playing according to ...
0
votes
0answers
52 views

Dual boot windows 7 and ubuntu linux from 2 diff hdd? [duplicate]

Possible Duplicate: Dual Boot Linux/Windows 7 Dual Boot Windows 7 + Linux on 2 separate SDD + Data HDD I want to install ubuntu on seperate hard drive then my current win 7 and I want to ...
9
votes
2answers
12k views

How to find SATA controller version on Ubuntu laptop. Do I have SATA 1, 2, or 3? I, II, or III?

I'm running Ubuntu on a laptop and am shopping to upgrade to an SSD. Based on the specs for this drive for example, it seems like I should figure out what version of SATA my computer will support ...
2
votes
3answers
3k views

How come cd doesn't work in my shell script?

SOLVED I'm trying to make a shell script on my Linux Amazon-EC2 server that will start my Minecraft server but the cd command says it can't find the directory or file when I try to change to the ...
0
votes
1answer
901 views

Can I do a Master Boot Record fix with a Knoppix 6.1 CD? And How?

I lost the older Knoppix CD , and it seems the features are changing from one version to the next. I want to clear out the MBR (Master Boot Record), but I can't do it. (I am trying to to a windows ...
4
votes
2answers
1k views

How to configure the ANSI colors of the command line terminal

I specifically use bash on Mac OS X, but I think the answer would be Unix-generic. I'm already using ANSI colors, but I'd like to reassign different colors to folders, hidden files, etc. ...
0
votes
2answers
528 views

Protecting against sudo inside shell-scripts, makefiles, etc

Usually, when I run sudo, it will ask me to enter a password the first time and it will remember that I'm authenticated for the next few minutes, until that authentication times out. This leaves a ...
1
vote
1answer
263 views

Unable to connect to thin server on ubuntu

I'm unable to connect to my webserver over the web. I've got an ec2 instance running with ubuntu 11.10 on it. It's running a thin server on port 9292. I can ssh into the ec2 box, and do curl ...
0
votes
2answers
2k views

How can I perform a cron job every minute?

Are the following cron configurations identical? * * * * * 0 * * * * 1 * * * * I'm looking for a configuration that will run the job every minute.
2
votes
1answer
3k views

How to install self signed certificate on Apache in Linux?

Where certificate files being created while using openssl? How to install custom generated certificate on Apache https? root@ubuntu:/# openssl req \ > -x509 -nodes -days 365 \ > -newkey ...
3
votes
1answer
1k views

Fail to encrypt loop back device using cryptsetup

The file is mounted to /dev/loop0. # losetup /dev/loop0 /path/to/container1. While trying to set up encryption getting error: root@ubuntu:/# cryptsetup --verbose --cipher "aes-cbc-essiv:sha256" ...
6
votes
6answers
16k views

Linux: what is a most convenient way to see the content of .jar file

What is a most convenient way to see the content of .jar file w/o using unzip/untar commands? What I'd like to do - is to browsing inside using cd command like it is the usual folder, seeing content, ...
4
votes
2answers
954 views

Is there any way to keep text passed to head, tail, less, etc. to be colored?

Is there any way to keep colorization of text passed through pipe | to head, tail, less, etc.?
2
votes
1answer
108 views

Display a permanent OSD

Is there any way to have a permanent static translucent OSD somewhere on my screen? I'm looking for an overlay that I cannot interact with so I can still use whatever is behind it. What I am trying ...
4
votes
3answers
934 views

DNS resolver improvements?

I have recently come across the following configuration of /etc/resolv.conf which is/was supposed to increase the speed of DNS resolution: nameserver 1.1.1.1 nameserver 2.2.2.2 nameserver 3.3.3.3 ...
0
votes
1answer
511 views

Copy data from one server to another in Linux

I am trying to copy data from one server to another server in Linux Debian using this command in Putty : scp -r khader@xx.xxx.xxx.xxx:/home/khader/backup/ khader@yy.yyy.yyy.yyy:/home/khader/ It is ...
1
vote
1answer
298 views

Gtk3 theme development tips

I've started adopting the default Ubuntu Ambiance theme for my needs, but I find it a very cumbersome process. As soon as I change my theme and load it, it also gets cached so any further changes ...
2
votes
3answers
8k views

How to get x11vnc to run at startup on openSuSE 12.1

I'm trying to get x11vnc to run at startup with openSuse but not having much luck. Here's what I did so far. I edited /etc/X11/xdm/Xsetup and added the following lines to the end, right before exit ...
1
vote
1answer
105 views

Preserving a job running outside screen in an ssh session

Let's say I've ssh'd into my box and decided to run a long job, but have forgotten to run that job inside screen. Is there anything I can do to stop the job from terminating when the ssh session ...
13
votes
1answer
10k views

How to tunnel HTTP over SSH via SOCKS?

This should be a simple issue to solve, but for some reason it's not working for me. ssh vps works just fine (I use authentication keys) I set up the tunnel with the command: ssh -C2TNv -D 8080 vps ...
1
vote
1answer
314 views

Eclipse with JAR - Classpath on OpenSuse 12.1

howdy! well i am brandnew to eclipse - i never ever used it so far! i run a OpenSuse Linux Version 12.1 - and all works fine. i am currently tryin to install the OSMGenerator - a tool that allows ...
1
vote
1answer
1k views

FVWM - Split Desktop into Multiple Virtual Desktops

I have a Linux virtual machine running within VMware Fusion 3. I have a dual monitor setup that runs thanks to the "vmware-user" application which enables both monitors as a single large display. ...
4
votes
2answers
4k views

How can I identify non-ASCII characters from the shell?

Is there a simple way to print all non-ASCII characters and the line numbers on which they occur in a file using a command line utility such as grep, awk, perl, etc? I want to change the encoding of ...
1
vote
1answer
203 views

How to change tiling layout in KDE 4.7

I am using KDE 4.7.4 and enabled tiling. Is there a way to see the current tiling layout and to change the tiling layout for a specific desktop, similar to what you would do in the Awesome window ...
0
votes
1answer
489 views

Using VMware Player to run Linux Distros via Flash Drive

I want to easily move multiple linux distros between my machines (Mac & Windows) via flash drive. Each machine will have VMware player installed to boot the OS rather than booting directly from ...
0
votes
0answers
428 views

Robust way to acces my computers behind NAT and firewalls?

I am searching for a robust way to access my computers (on any port when possible) whether they are behind several NAT gateways or not. By robust I mean I want to access the computers whenever they ...
1
vote
1answer
988 views

Linux drive automount point path conventions

Like many I have several physical disks installed in my system and I set them up to be constantly mounted to some paths. I want to find a conventional general approach to it. In my experience I've ...
0
votes
1answer
3k views

automatically mounting nfs shares on debian

I have a problem with automatically mounting nfs shares on my debian server. The server structure is a bit complicated. I have got a mac mini server with mac os x 10.7 and I am runnning Debian squeez ...
2
votes
2answers
1k views

Why does Netbeans ask for Master Password at the begining?

Upon switching to ubuntu, one of the differences I noticed was on netbeans. It asks for master password an every startup. I am wondering, why is this so? And why do I have to keep on doing this on ...
0
votes
0answers
208 views

Circular dependency in pip/virtualenv installation instructions?

This may be obvious to everyone else, and I'm just over-thinking things, but here goes anyways. It's obviously not completely circular, but the recommended path seems so. Since this has gotten really ...
1
vote
1answer
308 views

dh_make to build debian package need to manually hit <Enter> issue

when I run dh_make --native I get the following prompt: Hit <Enter> to confirm How do I escape this manual action?
1
vote
0answers
89 views

Catching forked subproceses

I'm running a game in wine that requires pasuspender to kill pulseaudio so the game can run on alsa. However, it looks like the script and wine itself are forking separate processes so that ...
6
votes
4answers
499 views

Directory “Bookmarking” in Linux

Aside from aliasing and links, is there an easy way in Linux to tag commonly used directories and to navigate to a commonly used directory from the terminal. To be clear the disadvantages I see with ...
1
vote
1answer
446 views

cd Command Linux and Mystery Flags

Platform: CentOS 6.2 Shell:tcsh I'm playing around with cd for a BASH script, and noticed the wondrous cd - option, but was left with many questions... Why the cd -? Isn't this redundant with cd ...
0
votes
2answers
10k views

Searching for a valid kernel header path…?

I'm trying to install vmware-tools on a linux guest but it gives me not a valid path error when I enter /usr/src/linux. The path "" is not a valid path to the 3.3.0-2-desktop kernel headers. Would ...
1
vote
0answers
144 views

Dualbooting, partitions or virtualization?

Hi, I am trying to have Windows 8 and Fedora 17 in a dual boot setup on my laptop. At first I installed Windows 8, gave it first 40GBs of the drive to play with ( windows installer cut off first ...
3
votes
2answers
6k views

linux migration/N high cpu consumption

on my linux appliance based on 3.0.0-14 kernel I got: RPN:/tmp# ps axuf | grep migration root 6 92.9 0.0 0 0 ? S Apr23 2788:33 \_ [migration/0] root 7 99.7 0.0 ...
0
votes
2answers
1k views

“idea net setter” 2g data card not detecting in linux mint 12 but working in windows well

My Idea Net Setter data card working in Windows 7 , but not working in Linux mint Model : EG162G The data card is USB type , driver and applications are available inside the data card memory for ...
2
votes
2answers
628 views

Best way to handle portable Virtual Machine instances?

Background: I have been working on Linux as my desktop OS for a couple years now. I love the development flexibility it provides. However, I also need to run windows since I do video and photo work. ...
0
votes
2answers
419 views

Shutting up KDE applications launched from the command line

Whenever I launch a KDE application from the command line, for instance okular to view a pdf, I get spammed with tons of warnings and various messages that I am not interested in. Even hours after I ...
-4
votes
1answer
3k views

How to use Pendrive in a USB disabled Computer?

The computer (study lab computer) that I am using has its USB disabled, hence I cannot run or copy the programs that I have in my pen-drive. How can I run or view the contents in my pen drive. ...
0
votes
1answer
4k views

Create a tar and splitting it into multiple archives then putting them back together

I am using the following for creating the tgz files: tar zcf - /usr/folder | split -b 30720m - /usr/archive.tgz Now I get three files: archive.tgzaa, archive.tgzab and archive.tgzac So again I ...