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

0
votes
1answer
9 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
620 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 ...
77
votes
3answers
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 ...
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
5 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
0answers
17 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? ...
1
vote
1answer
14 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
35 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
70 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
38 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
67 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
46 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
54 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
43 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
37 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 ...
1
vote
1answer
32 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 ...
3
votes
3answers
61 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
52 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 ...
3
votes
1answer
596 views

load module via /etc/modules

I want to load my kernel module hello.ko on boot in Ubuntu 12.04. I placed it in /lib/modules/3.8.0-31-generic/kernel/ubuntu/hello.ko, ran depmod -a, and added "hello" to /etc/modules. However, when ...
0
votes
0answers
11 views

gnome 3.x - how to make static workspaces and use numpad for navigating them

I have decided to try out gnome 3.x for a while, as I have been using unity for the most part. But I have become accustomed to the 2d grid workspaces in unity, and I can only think of one way I can ...
4
votes
2answers
3k views

Set default sound card in Pulse Audio

I have two soundcards on my systems and pulseaudio always picks the wrong one. How do I set up the default soundcard in the pulse audio preferences?
1
vote
0answers
20 views

Chromium web browser: user specific /etc/chromium/policies/managed/ policy file

I am helping with the set up of a Linux-based Library kiosk thin client solution. We are using Chromium for the web browser, which is launched by a shell script with various command line options. ...
-1
votes
1answer
33 views

Is it possible to delay booting the system after the user has pressed the power button? [on hold]

I want to delay the time to load the kernel after the user has pressed the power button by 10 seconds. Reasons for this is a machine we have built which requires other components to start sending data ...
0
votes
0answers
10 views

Installation guide for IBM Lotus notes 9.0 [on hold]

can someone help me in installing IBM Lotus notes 9.0.
0
votes
0answers
9 views

nvclock segfault with CRC mismatch

When trying to load nvclock_gtk it terminates with a segmentation fault. Reading symbols from /lib64/ld-linux-x86-64.so.2...warning: the debug information found in "/lib64/ld-2.19.so" does not match ...
2
votes
3answers
316 views

Why creating partitions in linux is a good solution for easy recovery?

I have heard if you don't make partitions in linux, it is so hard to recover the data. And if you make few partitions it would be easy to recover the data. for example if you make /par1 /part2 /part3 ...
0
votes
1answer
31 views

eth0: supported ports

I am having a board with RTL8111/8168B PCI Express Gigabit Ethernet controller, which requires r8169 kernel module to work. After inserting this module, network get started by eth0. Now, due to old ...
7
votes
3answers
2k views

How to allow Page Up in GNU Screen?

I use Vim to edit text files on Linux. Commonly I connect to remote Linux machines using PuTTY from Windows. I use GNU Screen commonly as well. When using Vim inside Screen I am unable to use the ...
1
vote
1answer
3k views

Cannot dual-boot Linux Mint and Windows 7

I have Windows 7 already installed from a long time ago and I have no Windows/update CD. I want to install Linux Mint. I created a partition, formatted it as Ext4 (in Linux), and labeled it E. I ...
1
vote
1answer
39 views

Unable to install new kernel in ubuntu server. “gzip: stdout: No space left on device” error even though abundant disk space

I am trying to install a new kernel on Ubuntu Server and I am unable to complete it due to a "gzip: stdout: no space left on device" error. The full error was produced after running sudo make ...
1
vote
1answer
9k views

Linux Centos 6: Restart Network Service after lost ping

My OS is Linux Centos 6. Restart Network Service after lost ping Basically, I need a watcher or a script that will detect no ping to/from another ip address and run service network restart after ...
1
vote
1answer
34 views

How can I replace the stock driver module inside a Linux ISO?

In particular, I want to replace the stock network drivers (r8169) with something else (r8168) in the installation ISO. Is this possible? Currently, I have to install Ubuntu/Debian/CentOS (same ...
0
votes
1answer
630 views

How to get “undefined references” such as “s_wsfi” and “do_fio” in f77 32-bit Fortran libraries using `gfortran -m32`? [on hold]

Update: Per steeldriver's suggestion, I have tried to get libf2c, and have posted my new error here. ======== I am new to Fortran, but this is what I know: I am running on Ubuntu 14.04 My ...
17
votes
3answers
835 views

Can I list the filesystems a running kernel can support?

I'm trying to detect what filesystems a kernel can support. Ideally in a little list of their names but I'll take anything you've got. Note that I don't mean the current filesystems in use, just ones ...
14
votes
2answers
17k views

“mount -t TYPE /” - how to know that what could the “TYPE” be?

OS: ex.: Ubuntu 10.04 - how to know that what does the "mount -t TYPE" knows? I mean is there a command to list the supported filesystem types using with mount?? UPDATE: is the following cmd always ...
0
votes
0answers
11 views

What permissions apply if specific user's permission on file or directory differ from user's group to which this user belong to in Linux? [duplicate]

Case 1: User has "rwx" permissions to certain file or directory. But has no permissions "---" in group it belongs to. Question: who wins - Does user have "rwx" or "---", effectively (not what's ...
2
votes
1answer
12k views

libc.so.6(GLIBC_2.14)(64bit)

Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 ...
2
votes
2answers
38 views

How to defend against a Live USB computer hack

A Linux installation can be simply hacked by using a live USB/CD, gaining root access on the live distro, chrooting to the target filesystem and running passwd root. One can use grub too. There may be ...
1
vote
1answer
43 views

how to disable access time settings in Debian linux

Performance Best Practices for MongoDB implies that: Most file systems will maintain metadata for the last time a file was accessed. While this may be useful for some applications, in a ...
0
votes
4answers
150 views

Where is .bashrc file found in Linux?

I am not finding my .bash_login and .bash_profile root@linux:~# locate .bash* /etc/bash.bashrc /etc/skel/.bashrc /etc/skel/.bashrc.original /home/noroot/.bashrc /home/noroot/.bashrc.original ...