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

How do i install apache on my ubuntu 12.04 where it has virtualhost

According to the docs https://help.ubuntu.com/10.04/serverguide/httpd.html i have done following, and that is almost how i do always in my Fedora, but Ubuntu looks like its not working. a) DNS to IP ...
0
votes
1answer
448 views

How do I find files containing two strings together in Linux? [duplicate]

Possible Duplicate: How to Combine find and grep for a complex search? ( GNU/linux, find, grep ) I have a file containing a text: PADLST20120907:D:05B:UN:IBTA+TK4 17 ...
5
votes
1answer
2k views

recursive file/directory verification on linux

What would be a command structure or simple bash script to run to compare all files in one directory with all files in another directory, verifying their data are identical, or not, down to the bit? ...
5
votes
1answer
534 views

How do I achieve lossless JPEG joining without truncation of partial MCUs?

I am working on a project for which I need to join thousands of JPEG images losslessly (I'm not talking about the Lossless JPEG/JPEG 2000/JPEG-LS formats here). Aforementioned images have varying ...
0
votes
2answers
105 views

Setting up an alias that waits for the next prompt to enter a command

I'm trying to set up an alias that connects to an ftp site.. so far (with the help of SO :] ) I've been able to create the alias that will connect. I've tried adding the next command preceded by a ...
1
vote
3answers
13k views

What does ~ mean in a Linux shell?

I'm new to Linux and have been seeing this often. Could someone explain the concept here? ~/.somefilename What does the ~ (tilde) signify?
2
votes
2answers
118 views

Rename a file to move the version number from the end to the beginning

How do I rename a file in linux and take the version # from the end and move it to the beginning. For example I have a file name: Random text - text 1.1 (SD).mp3 to 1.1 Random text - text.mp3 ...
0
votes
1answer
122 views

Clean Multi X Server Setup

I want to spawn a second X Server for my TV and use a Media Station software like xbmc over it. Is it best practice to manage multi x instances from xinit or is there another/better way? Apart from ...
4
votes
1answer
1k views

Redirect physical keyboard input to SSH

I'm having a raspberry pi running debian linux and I have an RFID reader connected to it. The RFID reader behaves like a keyboard. Every time I scan a tag it types then number of the tag and then ...
1
vote
1answer
155 views

archlinux running gnome

I am new here, don't know if I can even turn to help here about this subject but I just installed archlinux on my laptop and installed gdm on it, I was wondering a couple of things. on boot my gdm ...
4
votes
1answer
333 views

SSHing to remote linux server over site-to-site vpn disconnects when running commands with lots of output

When I ssh using putty into a remote linux server over a site-to-site vpn, I can list certain directories if there's a small number of files/folders. If I try to list a directory like /etc with a ...
0
votes
0answers
120 views

Need to print to cups-pdf from rmcobol program - how to configure terminfo?

We have an accounting program that runs on rmcobol on linux. We configured the printers through cups to print to pdf by specifying the printers in terminfo.cfg, and would like to print to pdf using ...
3
votes
2answers
1k views

Difference between Centos CD and DVD versions

What is the difference between Centos 5.8 CD and DVD versions? I want to download Centos ISO files but stumbled upon two different files. One is of around 600MB and another is of massive 4GB.
4
votes
3answers
7k views

Cannot boot from Yumi multiboot USB stick

I've just created a multiboot USB stick using Yumi. I tried to start my notebook (Asus K70IO) using it, but all I see is just a black screen with blinking underscore even after waiting for minutes. ...
0
votes
2answers
6k views

How to update python version in linux terminal

How to update python(2.4) to python 2.6 in redhat linux terminal? I tried sudo apt-get install python2.6 but returned sudo: apt-get: command not found , I am new to linux, any help would be ...
3
votes
4answers
6k views

Redirect stdout while a process is running — What is that process sending to /dev/null

I've run a command and redirected it's output via > /dev/null Now that it's been running significantly longer than I expected I want to see what it's doing. Is there a way to re-redirect the ...
5
votes
2answers
3k views

Re-reading the partition table failed with error 22: invalid argument

I have Oracle Linux on a VM and I'm trying to create partitions on /dev/sda2 of size 30 gigs using fdisk utility. I made four partitions each of size 512M and they appear in the partition table. ...
1
vote
1answer
190 views

yum to treat a package installed by hand as installed through it

I've built Emacs 24 and installed it on my FC-17, but if I try to install any package that requires Emacs (such as Pymacs, ECB and so on), all of them will try to install Emacs 23. I think that my ...
3
votes
1answer
123 views

Why do RPM packages have different names to the programs they install?

It seems to me that when I download RPM packages that the names they use are sometimes different from the programs they install. For example: yum install httpd apache -v I install the RPM package ...
8
votes
7answers
3k views

Is there a Linux distro that will easily run “embedded style” on a Raspberry Pi? [closed]

I need a Linux distro that will give me the following: Run on a Raspberry Pi Can reliably survive power loss (like via a read-only filesystem) I've been able to hunt down some documentation on how ...
0
votes
1answer
644 views

Video card not detected on Lenovo T410 in Linux

I have a T410 with an nVidia NVS 3100M, this is not a hybrid system, there is no Optimus. (No option in the BIOS for Optimus, lspci in linux as well as the Windows device manager only show the nVidia) ...
3
votes
1answer
752 views

How to make WinServer's AD work with Linux DNS/DHCP on VMware?

I got 2 virtual machines : Windows Server 2008 with Active Directory installed. Linux that works as a DNS and DHCP Server I need to make them work together, but I don't if this is going to be ...
12
votes
3answers
5k views

Is it possible to set up a bare-metal hypervisor on my laptop?

Say I had a Core i7 Laptop with 16GB of RAM and a 750gb drive. Is there a mechanism where I can partition the HD into a Linux, Windows, OS X, Shared Data, Hypervisor setup where I boot a small ...
4
votes
1answer
90 views

Create a keyboard shortcut that maps to the down/up arrows on the keyboard in Fedora

I would like to map Alt+N and Alt+P to the down arrow and up arrow, respectively. I want to do this because various popup dialogs in eclipse require the user to type the arrow keys and no shortcuts ...
6
votes
2answers
179 views

Why doesn't the administrator mode protect Windows from malware?

It is often given as the main reason for Linux' relative safety from malware that only the root account, which is not used for e.g. browsing the web, can make significant changes to the system. ...
4
votes
1answer
372 views

how do I copy DVD with basic linux command to get iso no bigger than the original?

I'm trying to copy a SUSE 9 DVD using basic linux commands. The ultimate goal is to modify the DVD content before creating the new image. It works after a fashion except the new .iso is a bit larger ...
3
votes
1answer
2k views

How to reverse-i-search back and forth?

I use reverse-i-search often, and that's cool. Sometime though when pressing Ctrl+r multiple times, I pass the command I am actually looking for. Because Ctrl+r searches backward in history, from ...
1
vote
1answer
356 views

EXT4-fs error (device loop0) ext4_mb_generate_buddy

I've been randomly getting theses in my /var/log/messages [5747511.945300] EXT4-fs error (device loop0): ext4_mb_generate_buddy: EXT4-fs: group 1: 29505 blocks in bitmap, 29455 in gd Not had any ...
1
vote
2answers
130 views

Does more heat generation mean more wear and tear?

I read that hardware generally used on PC is not optimized for running Linux. That is the reason the machine emits large amount of heat and doesn't give the battery back up , that we will get while ...
2
votes
2answers
2k views

wpa_supplicant : Blacklist wireless networks by BSSID

I am currently using wpa_supplicant to connect to my wireless network. The wireless network is extended with at least 30 different access points having the same SSID, and it takes a lot of time to ...
0
votes
1answer
115 views

Installing Linux from an external card reader

I have this problem. I was experimenting if I could use a memory card (SDHC) as an USB drive for all intents and purposes, and when I put the card in an USB card reader, I can use it just like a ...
0
votes
4answers
166 views

how to view Linux files in a window from the windows machine

I can use putty to access Linux server from a windows machine. But it's kindof inconvenient to navigate through the folders. Is there a way to view the folders in a window (the windows look-and-feel) ...
0
votes
1answer
557 views

How to restore emails on CentOS?

I moved my domain to another server. Unfortunately, i deleted the emails accounts from my Mail Client (On MAC) and all of the previous emails have been deleted and I don't have access to them. How may ...
2
votes
0answers
135 views

Linux USB to work as CD ROM in OS X

I am working in driver development in Linux USB modules. I have written a driver for USB and it is working as CD ROM in a Windows machine. I made the first partiton as fat32 modprobe g_hidmass ...
1
vote
2answers
2k views

Arch Linux booting with read only filesystems

I installed Arch today and when I logged in I noticed that my filesystem is read only. How can I fix this?
2
votes
2answers
86 views

Can I associate my command history based on my cwd

I often navigate between multiple directories in a bash session. Sometimes upto 4. For each directory I am in I often have an exclusive set of commands that I fire and this set can be between 7 and 10 ...
2
votes
1answer
317 views

How can I know if the set -e option is enabled or not?

I'm writing a shell function that will be called from many different places and I want to ignore all errors occurring inside the function disabling the (possibly enabled) set -e shell option, ...
0
votes
3answers
118 views

Symbol 001E in a box on a Linux terminal

When reading a Windows log file in a Linux terminal, I see a strange symbol “001E” How can I replace it by space? Maybe something like sed -e 's/010e/ /'
3
votes
2answers
352 views

Force sudo to ask for password once from outside sudoers

I'm trying to hack together my own Android app that opens an SSH connection to my computer, and sends commands. I am aiming to keep the interactivity of this process to a minimum, to make it have the ...
3
votes
1answer
2k views

How to set login screen resolution in debian

My Debian install (Linux machine 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux) is limited to 1360x768, but my monitor is capable of 1680x1050. There is no xorg.conf file so I created ...
7
votes
3answers
13k views

how to stop cp: overwrite './xxx' ? prompt

How can I stop the cp command from prompting to overwrite. I want to overwrite all the files with out having to keep going back to the terminal. As these are large files and take some time to ...
0
votes
1answer
1k views

sudo/su command for Red Hat Server 5.4

Without going into too much detail, I need to execute one linux command on redhat with root user access. Red Hat Server 5.4 does not recognise the sudo command. The command su can be used to switch ...
4
votes
1answer
3k views

Linux permissions for services

How do permissions work for services in Linux? I already know that I can set read, write and execute permissions for files and directories with chmod each for owner, group and other users but how do ...
0
votes
1answer
2k views

How to get out of the Linux Filesystem repair prompt after repairing the filesystem?

When I try to log into my FC16 VM, I end up on the Filesystem repair prompt. I am guessing this is an issue caused by the corruption of the filesystem. In this filesystem repair prompt, I am unable ...
3
votes
0answers
2k views

Linux run script automatically after boot [duplicate]

I want to start a script, which set the system time automatically after booting. I wrote the command date -s "12/31/12 23:59" in rc.d/rc.local. That didn't work. How to solve that?
0
votes
1answer
142 views

how can i find my system turn on and turn off timing

Is there is possibility to find my system turn on and turn off timings in last few days. i want to know last booting time of my system, and who operated my system in last day... thank you
0
votes
0answers
141 views

Network bandwidth & traffic monitoring [duplicate]

I have the following situation: Small network with about 30 PCs with wireless cards. A regular Asus wireless access-point which is connected to the server. Server is a normal x86 PC with Ubuntu ...
1
vote
2answers
270 views

Interpreting regular expressions using find in Linux confusion

I am attempting to use the find command and came across an article at http://www.linux.ie/newusers/beginners-linux-guide/find.php which states: The wildcard character is escaped with a slash so ...
3
votes
1answer
452 views

Setting up a shared folder in Linux

I'm trying to set up a folder in my home directory that will be shared with another user, but I can't get it to work. This is what I've done: I have tried two different ways using ACL's and ...
0
votes
0answers
286 views

Ubuntu can't install an older version of a package

When I try to do an apt-get install, I keep getting an error: Depends: libgtk-3-common (= 3.4.1-0ubuntu1) but 3.4.2-0ubuntu0.4 is to be installed when I run sudo apt-get -f install, I get several ...