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
2answers
26 views

One column into two

I have already tried the other questions on here, with no luck. 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 ...
2
votes
5answers
45 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. ...
1
vote
1answer
13 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 ...
3
votes
1answer
34 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
0answers
9 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 ...
0
votes
1answer
28 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
20 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
50 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
49 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 ...
0
votes
1answer
22 views

Linux LUKS encrypt and cloning machines

I'm working a prototype based on Mint. Mint installed + installed and configured packages (openVpn, hostApd, etc). This proprotype is built on a rasp-like computer. I plan : 1. to clone disk on ...
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
32 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
9 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
6 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
27 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
37 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
33 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
628 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
36 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
149 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 ...
0
votes
1answer
23 views

How to rotate log files [on hold]

i have made a script to zip my log file but by mistake both file is there in directory original and zipped. so is there any command can be used so that i can remove the original file only in one ...
2
votes
1answer
15 views

Taking a clone of a customized RHEL server hosted in a data center remotely

We are planning to upgrade OS to RHEL 6.6 on all our servers. All our servers are located in a data center. We have to follow a repeated process of installing application stack, securing, hardening ...
4
votes
1answer
1k views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
1
vote
1answer
18 views

tuned on fedora 22 - setting different alpm policies for specific devices

I'm trying to configure alpm to max_perfomance on my system disk, medium_power on my data disks and min_power for backup disks. I tried various variations in tuned.conf but the result is that the last ...
0
votes
1answer
26 views

How to do doxygen documentation?

My boss told me do documentation in doxygen and i am new to it. i did google and found you can do codes documentation in doxygen, but what about Details and text documentation which doesn't has codes. ...
0
votes
1answer
18 views

Linux Mint on USB - mtab is a folder, not a file

I just installed Linux Mint Maya (13.2) onto a USB stick with uNetbootin (http://sourceforge.net/projects/unetbootin/). The install seems to work ok, and has a "persistence" partition which allows ...
0
votes
0answers
9 views

NVidia drivers and Linux distributions for Dell notebooks (Optimus techonoly)

I am trying to install NVidia drivers for CUDA in my Dell Notebook (Vostro V14T-5470-A50) with a NVida GTx 740M. My linux distribution is Ubuntu 14.04 LTS. The problem is that the screen freezes just ...
0
votes
0answers
8 views

How do I install and configure Graphics drivers on SliTaz Linux

How can I install graphics and other driver on linux slitaz lspci | grep VGA Result 00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics ...
1
vote
1answer
14 views

Building RPM results in nothing generated in RPMS directory

I am building a RPM on RHEL. After following https://fedoraproject.org/wiki/How_to_create_an_RPM_package, I put my front.tar.gz in /rpmbuild/SOURCES, and make the spec file like this: Name: front ...
0
votes
0answers
7 views

FATAL: ThreadSanitizer can not mmap the shadow memory (something is mapped at 0x2ba33adb9000 < 0x7cf000000000)

I am trying to use thread-sanitizer functionality in my code .For doing so I have used following script : g++ -Wreturn-type -fmessage-length=0 -std=c++11 -c -O2 -fno-strict-aliasing ...
0
votes
0answers
6 views

Is there a key binding to switch to “last” workspace in mint 17.2?

Mint 17.2, Cinnamon. I use dconf editor to set up my hot keys to switch between workspaces. Here is the relevant portion of my workspace key bindings: What I want is a key binding that switches ...
1
vote
0answers
51 views

Which boot loader is commonly used on Linux distributions and why?

I have been using Ubuntu on my local machine and occasionally running Debian and other Linux distributions for experience. Until recently I thought Grub2 is far common, but that was misleading. While ...
-1
votes
0answers
30 views

Python, C or C++ for Linux admin [on hold]

First of all this is the first time for me to ask a question and I'm not sure exactly if its in the right place as I can't find a place for what I've, if it's not the right place then please guide me ...
2
votes
0answers
8 views

pppd issue over serial cable

I'm trying to set up a ppp connection between 2 computers via serial cable, to enable TCP/IP over serial. Computer1 -> USB-Serial Converter -> Serial Cable -> Serial port of Computer 2 On computer ...
0
votes
0answers
21 views

Arch Linux Boot Halts on “Started Authorization Manager.”

I was using Arch Linux on my laptop, and during the shutdown procedures there was something making it wait and during that time my laptop ran out of batteries. Now when I try to boot it halts. This ...
4
votes
2answers
939 views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
2
votes
1answer
730 views

ifconfig ethernet (eth0) no data flow

Hello this is my ifconfig output: eth0 Link encap:Ethernet HWaddr 50:46:5d:44:5e:fe inet addr:10.0.0.6 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: ...