Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

1
vote
1answer
3k views

mod-mono-server 4 is not working, while 2 does

I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server. I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application ...
0
votes
0answers
11 views

Repositories of Linux Mint, Ubuntu, Debian

This was bugging me for really long time, but I was quite ashamed to ask, as this looks like most basic question about Linux. Linux Mint builds on top of Ubuntu and Ubuntu on top of Debian (I know ...
1
vote
2answers
35 views

The Deny the permission of mounting any drives to a user

I'm using Linux Mint 17.2 Cinnamon. There are multiple partitions on /dev/sda. /dev/sda1 is where the system resides, /dev/sda2, ..., /dev/sdaX are NTFS partitions. There are two users admin and ...
-1
votes
0answers
8 views

Linux Device Drivers 4th edition

There is an information that Linux Device Drivers 4th edition is available for preorder. However, I've failed to find table of contents or any specific information. Does anybody know will open ...
0
votes
0answers
9 views

IPC or command line?

I'm creating a nodejs program that need to use some unix command. I have two choices either execute them using exec('command ...') which just execute the command with the given arguments. Or through ...
1
vote
0answers
27 views

Raspberry deleted folder reappears

I have recently bought a Raspberry Pi and made a setup with the standard Raspbian image. A few days ago I have made a folder on my desktop, I want to delete this folder but after reboot it continues ...
0
votes
0answers
10 views

Installing a bootloader on a mac

Due to a somewhat odd requirement for a particular linux installation, with a particular software suite, I found it best to use ddrescue to populate the harddrive with the partitions and their data. ...
26
votes
4answers
32k views

How can I update to a newer version of Git using apt-get?

I've just set up a new machine with Ubuntu Oneiric 11.10 and then run apt-get update apt-get upgrade apt-get install git Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
-1
votes
0answers
8 views

Linux Mint 17.2 installation

I'd like to install Linux Mint 17.2 Rafaela (the newest) alongside with Windows 10 on a partition size of 100GB. Could someone tell me exactly how to create installation partitions for Linux( I mean ...
0
votes
2answers
15 views

Disable laptop keyboard to only use USB keyboard

I need to disable my laptop's keyboard so that keyboard can only be used via USB. I am not using X, I am on the Linux console. The solution should be able to start as early in the boot process as ...
2
votes
1answer
39 views

Using bash variables in perl command in bash script

I am trying to generate a hashed password as in /etc/shadow file, using bash script. The user is prompted for the password which is saved in a variable PSWD. I have extracted the Hash and the salt ...
4
votes
5answers
8k views

How can I upgrade pip on Ubuntu 10.04?

On Ubuntu 10.04 I've used apt-get install pip to install pip after which I installed django. Then I tried to uninstall django with pip via pip uninstall django which gives me: pip: error: No command ...
3
votes
1answer
1k views

Kali Linux can't see my windows partitions!

I'm trying to install Kali Linux alongside with my Windows 8.1 using live USB , but I can't because Kali is unable to see my partitions and unallocated space in my disk which I prepared 50GB ...
0
votes
1answer
593 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
1
vote
0answers
21 views

Recording shell output for interactive commands

While looking into a shell redirection problem, I found a couple of answers that pointed me to the script command. As I understand it, script just records in- and output of the terminal, and allows me ...
0
votes
0answers
10 views

No wireless interface detected in Linux - Odroid

I can see the wifi on my Linux but no wireless interface is detected with iwconfig. I don't understand why. Has someone already met this problem ? root@odroid:/home/odroid# iwconfig wlan0 no ...
78
votes
4answers
43k views

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains ...
0
votes
1answer
883 views

Connect To Wifi on Arch Linux

I have a fresh installation of Arch Linux. During the install I used wifi-menu to connect to wifi. After the installation I tried to use it and it said I needed to install dialogs to use it - which ...
1
vote
2answers
723 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
1
vote
3answers
10k views

PPTP VPN in CentOS 7

I recently installed CentOS 7 (GNOME), but I realized that there is no option for setting up a PPTP VPN client. I tried to install networkmanager-pptp-gnome, but unfortunately it's not available in ...
2
votes
2answers
203 views

IPv6 in IPv4 over LAN

I want to setup IPv6 in my LAN, but also want to have some machine to use IPv4 only. How do I do such setup so that every machine can communicate with each other ? All machines supports dual-ip ...
0
votes
1answer
16 views

Copying files from a VFAT32 formatted disk into Linux

I was curios to know what happens when I copy files from a VFAT32 formatted disk ( formatted under Windows system ) into the Linux system. Does the files which are copied in the linux system ...
1
vote
1answer
35 views

What is Linux native debugging symbols format?

GCC documentation says that the -g option produces debugging information in the operating system's native format (stabs, COFF, XCOFF, or DWARF 2). So, what is Linux native debugging symbols format? ...
3
votes
3answers
7k views

How can I match a ttyUSBX device to a usb serial device

option driver correctly matched USB ID and loads driver for this device. For example # lsusb Bus 001 Device 002: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636 Bus 001 Device 003: ID 12d1:14ac ...
3
votes
3answers
1k views

How to enable wifi using keyboard (Dell Inspiron 14r) in suse Linux 11.4

I have installed both Windows and SUSE Linux (11.4) on my Dell Inspiron 14r laptop. Both are working properly. I am facing one strange problem. I went to my Linux OS wifi was working fine and I ...
0
votes
1answer
18 views

How to format 720k FAT (ie: MS-DOS) floppy on Linux using USB floppy drive

I have a USB 3.5" floppy drive connected to my Linux box. I've verified that it is /dev/sdh on my Linux box, and I can read Linux-formatted floppies from it. (I had an old ext2 floppy lying around.) ...
5
votes
3answers
625 views

How can I script the creation of a single partition that uses the entire device?

I am specifically using this to partition and mount EBS volumes on Amazon EC2 instances, but really this should be generally applicable to initializing any new drive. As the question says I want to ...
1
vote
0answers
11 views

Help me to find my speakers and headphone paths (name of PCM device)

I am really confused trying to get my speakers and headphone device PCM names like a "hw:x,x" or something like that; cat /proc/asound/devices 2: [ 0] : control 3: [ 0- 0]: digital audio ...
0
votes
2answers
2k views

Failed dependencies trying to install package 'libxml2'

I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system. The ultimate goal is to install xml_grep2, I have been trying various methods ...
1
vote
1answer
8 views

FTP not happening on RHEL 6 Server configured using a Vm Player 11

I am not able to ftp to the server server from a client. I am using my base machine as Ubuntu 14.04 . Below is the ifconfig output:- raghav@raghav-HP-15-Notebook-PC:~$ ifconfig eth0 Link ...
1
vote
1answer
15 views

Encrypt existing disk with LUKS?

I have get informed on how prepare a LUKS system & partitions, giving a key/passphrase, etc. But for a new fresh install of linux. How to encrypt an already installed/configured linux system ? ...
-1
votes
0answers
19 views

Anyone get diablo lod to work yet/' [on hold]

looking for friendly answer on how run d2 on my linux chrombeook acer intel, and of course my mac. any generous answers will be will met.
2
votes
1answer
1k views

/proc/cpuinfo showing zero cpu clock speed

I saw an interesting issue where the cpuinfo file from /proc filesystem shows the cpu clock speed as zero. It is a physical host with no virtualization. Can someone explain to me some probable reasons ...
1
vote
1answer
27 views

Runnig python script, error appears

https://github.com/g-oikonomou/sensniff/blob/master/host/sensniff.py The link above refers to a python script that is to be ran on Ubuntu. When I run the script, the following error appears on the ...
-3
votes
1answer
36 views

Create authentication when someone acces httpd in centOs

I have CentOs 6.6, What I want is: When someone access the var/www/html on his browser, I want a authentication bar to pop up and fill in his username and password. this is because I want httpd over ...
2
votes
3answers
76 views
+50

Monitor processes trying to access non-existent file or directory

We're moving websites from one server configuration to a new configuration and the websites will live in different paths than previously. We're planning to diligently go through and replace old paths ...
3
votes
1answer
1k views

Startx results in a black screen

I recently wanted to solve a problem with using a second monitor from my laptop that is running debian (jessie) but because I lack knowledge things didn't go as planned. Now I am getting booted into ...
0
votes
2answers
40 views

Linux LUKS encrypt and cloning machines

I'm working a prototype based on Mint. Mint installed + installed and configured packages. This proprotype is built on a rasp-like computer. I plan : to clone disk on several other rasp-like ...
2
votes
5answers
70 views

bash expanding to same value instead of line by line value in sed command

I have a file containing numbers in it say numbers.txt as follows. 9374541632553 51243747879841 32030098896914 84654557358238 11000656847765 I want to convert it to the following format. ...
-2
votes
0answers
48 views

Preparation for Linux interview [on hold]

This is not an usual question but I have a very important technical interview for a higher level Linux support in 3 days. On this job I will have to install and offer support for SAP servers and I ...
1
vote
4answers
55 views

One column into two

I have a file that is one column, and I need to split it into two. Have tried column command and doesn't seem to work: 123-zyx 234-yxw 345-xwv 456-wvu 567-vut 678-uts
-1
votes
0answers
35 views

Unix Signal - Run the other commands when the process is being kill [on hold]

Im having some problems running some commands after the process is being kill by the application. In my application I'm stopping the server and the process is being kill. At first I thought the nohup ...
2
votes
2answers
117 views

Debian PowerPC Linux installation on IBM IntelliStation POWER 285 9111 fails on yaboot

I'm trying to install Debian Wheezy here. I have two hard drives. One is running AIX well. I'm trying to get Linux to run from the other one. The installer boots fine. Automatic partition creates a ...
3
votes
2answers
45 views

Physical Address Extension - how do virtual addresses work?

I'm running Debian Linux. uname -m says i686 which means 32-bit architecture machine with pae flag enabled. getconf LONG_BIT is 32. Installed RAM capacity is 6GB. My /proc/cpuinfo has an entry ...
1
vote
1answer
38 views

grep also returning non matching lines

I'm trying to grep the output of strings and only find lines that start with a certain number of = chars. I tried strings data.txt | grep ^=* Sample output: 1~{, WX2 };K,< ========== ...
1
vote
1answer
19 views

How to deny access for virtual directories in .htaccess for all IP, and accep for 1 IP?

When you need to deny access to folder for all IP you should to put .htaccess in this folder, which must contein: Order Deny,Allow Deny from all Allow from 1.1.1.1 You can do it in virtual hosts ...
1
vote
0answers
10 views

Chroot Users to /opt and subdirectories [duplicate]

I'll make this short and hopefully I make sense. Im trying to give a user ssh access, but, he/she must only be able to access /opt and the few subdirectories that live under it. However, here's ...
12
votes
2answers
6k views

How to update linux “locate” cache

How can i update the cache / index of locate? I installed new packages and the files are clearly not yet indexed. So which command do I have to ommit, in order for the indexer to trigger. I'm ...
3
votes
3answers
63 views

8G RAM and SSD - how big should the swap be?

I have a computer with 8G RAM and a 128G SSD. I don't plan hibernating. What swap size would you recommend? Would you change any swappiness? In the nearest future I'll compile programs (or even ...
1
vote
2answers
53 views

how to go mouseless [on hold]

I would like to improve my efficiency. I recall seeing some tool to use gui applications on linux with the keyboard, but I do not recall much else about it! Please advise how I can go mouseless(for ...