Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

0
votes
1answer
6 views

why my subdomain is not accessible from the Internet?

I am using virtualhost in Centos 6.6. This is my conf file: <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot ...
0
votes
1answer
6 views

Linux RPC - server side

I am reading about RPC at this page. I understand that this a client/server model, and the server can respond to queries by the client. What I want to ask is that is it possible for a server side ...
-1
votes
1answer
30 views

How to convert Log file to CSV using bash

Is it possible to turn this log entry into a properly formatted csv file using sed/awk? I've tried multiple ways to do this using sed/awk. Alas I couldn't do it. Before I do it in perl. is this ...
1
vote
1answer
20 views

Problem with grep on multiple files and not getting desired output

I am using the below command on a file to extract few lines based on chr# ( different chromosome numbers). This is just a single file am working on. i have 8 such files and for each file I have to do ...
0
votes
0answers
6 views

Initialize USB keyboard attached while suspended

I have a laptop that I sometimes want to use with separate peripherals; external monitor, external keyboard and external mouse. When in this mode, I want to keep the laptop closed and tucked away (as ...
0
votes
1answer
18 views

Permissions to see content

If the owner/group of a folder and/or is set to 0 0 (zero zero), can I see its content? I'm trying to access a directory with such permissions.
0
votes
0answers
7 views

Removing Kali packages after out-of-the-box install

Recently installed Kali Linux 1.0.9 using the default image. Later on I decided to remove some of the packages, however it seems that it is not possible to remove packages since the kali-linux-full ...
1
vote
2answers
24 views

Partition not mounting as expected

I cannot create files in my newly mounted partition . The folder to which i am mount the partition, /media/hrmount, is owned by root so even if I add a fstab line like UUID=irrelevant ...
0
votes
2answers
26 views

Logrotate: Log file not being rotated

I am trying to rotate a log file using logrorate. Following is the configuration: /etc/logrotate.conf: /var/log/test.log { size 1M rotate 6 create dateext ...
1
vote
1answer
31 views

When login into terminal, display custom text

When I loggin to my linux system through PuTTY, I'm getting this below text.Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic i686) * Documentation: https://help.ubuntu.com/ System ...
-4
votes
2answers
25 views

Would my programs run on freeBSD?

I tested freeBSD in a virtual machine on my Linux pc, and I kinda like it. I noticed that the file structure is similar to that of Linux, and many Linux commands will also work on freeBSD. My question ...
1
vote
1answer
23 views

Save and restore terminal tabs with custom tabs title

I have a Terminal window with a dozen named tabs open *(gnome-terminal) I would like to save the current configuration and have it restored with names and directories. Is there a way to do this? I've ...
0
votes
0answers
12 views

Using ks.cfg with virt-install?

I've been trying to get a virtual machine working with a cfg file on centos but unfortunately, I'm getting the error that ks.cfg file does not exist. Below is the command I ran to enable the VM. ...
-1
votes
0answers
16 views

Trying to write my on version of mesg [migrated]

I am tasked with writing my own version of write and at first thought I could use IXOFF as in the following code to stop all input coming in: #include <stdio.h> #include <sys/stat.h> ...
0
votes
3answers
42 views

How do I print a certain line of python code using the Linux terminal?

If I am writing some python and I only want the terminal to show a certain line, what command do I use? For example my program is: print("line one") print("line two") print("line three") And I only ...
3
votes
1answer
26 views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
0
votes
2answers
32 views

Untar and gzip from multiple sub directories

I have a directory which consists of multiple sub-directories. Each subdirectory has a tar.gz file which on untar gives two files namely R1.fastq and R2.fastq. I want to untar the tar file and ...
2
votes
0answers
4 views

BRMS Giving error when importing repo.xml on other node

BRMS Version 5.3 Jboss 6.0 RHEL 6.4 I have installed BRMS 5.3 On RHEL 6.4 & was able to import the default repository successfully for the first time, but I am unable to import UAT repository ...
0
votes
0answers
17 views

errors while installing python-pip on ubuntu

When running sudo apt-get install python-pip I got the following error messages, what causes the problem and how to fix it? Thank you very much for any help. Err ...
0
votes
0answers
9 views

Can I use kickstart to assign multiple ip addresses to a device

Can I use the kickstart network statement to assign multiple ip addresses to the same network device? E.g. I have a server that I install using kickstart. The server has one network card, but I want ...
0
votes
1answer
14 views

How can I generate two Grub2 entries for each kernel?

Due to bugs in my laptop's BIOS (or some such thing), I use the boot flag nox2apic when I know I need to attach an external monitor. However, when this flag is enabled, pressing some multimedia ...
1
vote
0answers
16 views

why cisco VPNC work on the second time each time and not on the first time

I use the vpnc ( cisco VPN that installed on linux red-hat 6.X ) and the vpnc.conf file look like this more /etc/vpnc.conf ## generated by pcf2vpnc IPSec ID Comvwde IPSec gateway 217.118.6.7 ...
0
votes
0answers
8 views

Looking for a new conf for HA Data Server and Virtual Machines with Glusterfs

I own three HP server for lots of users and email, web and a development machine. I want to make my virtual machines to be available all times, but have some issues. My configuration is as follows: ...
0
votes
1answer
23 views

I don't see .bashrc file in my /home and /etc/skel direcories

I am running linux mint 17.1 rebecca, but I have found it quite different with other distros I am used to, in /home and /etc/skel there's no .bashrc I don't know if i mess up with something or it is ...
0
votes
0answers
15 views

Will sysfs replace procfs in the furture?

As I know, procfs has been old and chaotic, so sysfs was invented to resolve the problem. Will sysfs replace procfs in the furture? Or, sysfs will just replace part of the functions of procfs, such ...
-2
votes
1answer
36 views

How can I run a script as sudo and for it to not ask me for a password?

I want to run the following script: #!/bin/bash if grep -qs 'MinecraftServer' /media/kiancross/MinecraftServer/MinecraftServer; then echo "Disk already mounted, server boot will continue" else ...
-1
votes
0answers
17 views

How to write GPIO interrupt handler in Linux device driver? [on hold]

I am writing GPIO Device Driver for linux 3.14 on Beagleboard XM (RevB). I have done with simple ON/OFF LED blinking. But stuck at interrupt handler implementation. BB XM has GPIO_7 pin connected to ...
1
vote
0answers
5 views

Static linking impossible on the host system 'i686-build_pc-linux-gnu' [migrated]

I am install cross compiler on beagleboard-xm . I got error - Static linking impossible on the host system 'i686-build_pc-linux-gnu' what is solution for that ?
1
vote
0answers
27 views

Debugging info in linux kernel - how does it work?

I have found that I can compile linux kernel with some flags adding debugging support like CONFIG_DEBUG_INFO. These options while useful in debugging are also required by some utilities like ...
1
vote
0answers
21 views

ZFS on Linux volume low freespace. Usedbydataset is larger than volsize

I have a storage with ZFS and Debian wheezy. I am always using the latest ZFS from their github. I created 3 different raidz-3 pools. One for every controller. On every controller I have 24x 4T SATA ...
1
vote
1answer
35 views

How to upload to a unix server?

Im a part of a project group, and one of our tasks is to upload some content to a server. I am completely new to this and have some questions. There are content on different servers(distributed on ...
2
votes
2answers
44 views

linux setuid does not work

I am learning linux suid,so I have written a small c program with the following content to test it #include<stdio.h> int main(){ system("echo 100 >> test.txt"); return 0; } -rwsr-xr-x 1 ...
1
vote
1answer
20 views

Gnome, nautilus copy files to USB stops at 100% or near

I had similar issues before but i don't remember how i solved it. When i try to copy something to USB stick, with FAT, it stops near the end, sometimes at 100%. And of course, when i transfer the ...
0
votes
1answer
36 views

How do I boot into kali? [on hold]

I have recently installed kali along side windows 8.1 and I have turned off secure boot and fast boot. The issue is after I restart I am not given the option to boot into kali. When I bring up the ...
0
votes
0answers
11 views

Problems in running rstudio

I downloaded R-3.1.2 in a zip format then decompressed it in a folder named R-3.1.2 from where I installed it by running ./configure and then make and make install. Now R version 3.1.2 is running ...
-1
votes
0answers
22 views

Can't unlock Ubuntu account (KDE) with correct password [on hold]

I am unable to unlock my Ubuntu session with the correct password. I found this solution but it was for Gnome. I need a solution for KDE.
0
votes
0answers
9 views

0 Active connection while Downloading Blockchain?

I am not able to connect to download blockchain in logoscoin. It shows O active connection, I am also attach debug logs below: 2015-01-24 06:18:15 Logos version v0.8.6.4-ga5aedeb-beta (2015-01-22 ...
1
vote
0answers
12 views

NTP authentication failing with opcode 108

I'm trying to get NTP authentication working on a cluster of test servers and a couple clients. I've followed the instructions at ntp.org. To be honest, though, I'm not sure they are entirely clear ...
0
votes
0answers
55 views

How can I get the last command 's output?

for example, I have a simple java file, it can print what I just input $ java test > enter your name: XXXXX > hello XXXXX XXXXX is user's input I want to get the whole output enter your name: ...
4
votes
2answers
102 views

sed “e” and “g” flags not working together

Given this: echo AAA | sed -r 's/A/echo B/ge' I get this: Becho Becho B I would have thought I would get "BBB". This is with GNU sed version 4.2.1. What is going on, and how can I use the ...
1
vote
2answers
85 views

Why is Linux “Unix-like” if its kernel is monolithic?

As I understand it, part of the Unix identity is that it has a microkernel delegating work to highly modular file processes. So why is Linux still considered "Unix-Like" if it strays from this ...
1
vote
1answer
17 views

change linux text console scrolling speed - without rebooting

Is there any way to change to the text console scrolling speed without rebooting? Currently using Fedora, but non-distribution-specific answers appreciated. ...
-1
votes
0answers
23 views

Differences between distros [on hold]

I have a sort of a generic/newbie question... I would like to know which are the fundamental differences between two linux flavours (e.g. Fedora vs Ubuntu). Like I know the kernel that is shipped is ...
0
votes
1answer
39 views

Linux File System for an External HDD

I'm looking for a file system for an external HDD which will be basically used for backups. It will only be used with Linux machines, so I don't mind having a Linux-specific file system. I may ...
1
vote
3answers
36 views

Download directory from sftp

I want to download directory from sftp to a server.I am able to login to sftp using sftp rob2056@storagename and then can get individual files using : get *.txt /remotedir But I want to ...
3
votes
2answers
193 views

How to get UUID of filesystem given a path?

I am handed a path of a directory or a file. Which utility/shell script will reliably give me the UUID of the file system on which is this directory/file located? By UUID of file system I mean the ...
1
vote
0answers
39 views

Linux: how to run a program with rw access to only a folder

How can I execute a program in a way that all the system is RO and only some folders are RW? Eg: steam (:P) roexec --rw ~/.steam steam Is there any tool that allows me to do this? I've tried mount ...
2
votes
2answers
24 views

How to remove “lock” from deleted, but still used files on Linux?

SERVER:~ # df -mP /home/ Filesystem 1048576-blocks Used Available Capacity Mounted on /dev/mapper/rootvg-home_lv 496 491 0 100% /home SERVER:~ # SERVER:/home # ...
3
votes
1answer
39 views

Strange ip command output

When I call ip addr show I get output with all interfaces and their IP addresses (look at eth7): 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
-2
votes
0answers
26 views

How to create symbolic link to a directory with custom name

I want to create a sym link from the source name TEST to the destination name NAME if i give ln -s TEST /NAME - its going to create the Folder in the /NAME with TEST name but i want to get as NAME ...