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
13 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
13 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
33 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
13 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
23 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
41 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 ...
0
votes
0answers
16 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
8 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 ...
0
votes
0answers
52 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
97 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
1answer
61 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
0answers
12 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
22 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
2answers
28 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
188 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
35 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
22 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 ...
-2
votes
0answers
17 views

/dev/nst0: No such file or directory, how to fix this [on hold]

While using mt -f /dev/nst0 status I got below message /dev/nst0: No such file or directory will I get above message when tape drive is not installed properly? Or because of some other reasons? ...
3
votes
0answers
15 views

When running 'su - username', pam_group doesn't add additional groups from /etc/security/group.conf but sshd login does?

I am having trouble determining why su doesn't behave as the PAM configuration would imply. In short, using su to become another user should load secondary groups according to PAM configuration, but ...
0
votes
0answers
22 views

is there a way for solaris system to get every single piece of info of disks?

the project currently i am working on require me that fetch all info installed in the system, like total capacity, form factor, ssd or hdd, rotational speed, interface type, etc. i searched a lot and ...
0
votes
1answer
22 views

What option specified the location of the generated RPM?

I have noticed that, when building rpm files, that most end up in /usr/src/redhat/RPMS/i386 (building 32bit). Some though, incl one we roll in-house, writes the rpm files to ./i386.... so the file ...
1
vote
1answer
23 views

Can the BS option cause data inconsistency with dd?

I have a laptop partition (truecrypt) backed up with dd since it's impossible to back it up with anything else but do a raw bit by bit copy like: dd if=/dev/sda of=imagefile.img I can of course ...
1
vote
0answers
27 views

Pacman Package manager in LFS

I'm trying to install a Linux From Scratch system. I know LFS doesn't come with a package manager. I want to use pacman as my package manager. I googled bout it and found some links bt they are old, ...
1
vote
0answers
18 views

How to make sure to get the Main/External IP without regard to network device type/name

Hello, I need to make sure I have the external or at least the main IP address for a given machine, regardless to the device type/name. I quickly wrote that tiny script for that purpose, but I need ...
-2
votes
0answers
21 views

how to get single source IP in iptables file? [on hold]

i am writing ip rules to block particular ports. when i am adding ip rule am giving source as let's say 201.123.81.59 but after saving and restarting iptables command it's changing as subnet let's say ...
5
votes
2answers
193 views

ls -l /proc/self | increamental PID?

Each time, when the commandls -l /proc/self is executed, the link points to process who's PID keeps increasing. Why is this so ? Is it the PID of the ls command ?
-2
votes
2answers
30 views

What is a simple example where the use of the command line is unavoidable or better? [on hold]

I want to see a simple example that motivates the use of the Linux command line. Like I want to see an example where the use of the command line will do it in seconds and on GUI , it will take you ...
4
votes
0answers
27 views

How to monitor per process/per thread memory consumption (divided in heap, stack, data, code)?

Before jumping in and writing my own code, is there a Linux software that is able to output something similar to QNX's showmem? For each thread of each process that is running, I would like to see ...
3
votes
1answer
21 views

Can I remap SHIFT+CAPS LOCK in a virtual terminal?

I recently acquired an old netbook which has no backslash/pipe key. I have successfully remapped the caps lock to backslash using loadkeys. I would like to map SHIFT+CAPS LOCK to the pipe key in a ...
1
vote
1answer
16 views

How to disable procps-ng 3.3.10 free wide output format?

I'm writing a script that is supposed to simply tell me the amount of free physical memory excluding caches and I noticed that my Fedora system shows a different output format than a CentOS system I ...
0
votes
0answers
14 views

Supervisord scheduling

Is it possible to set jobs to run every n days in supervisord, like what cron is doing? I'm asking because I have different kinds of jobs, continuous / real-time and daily ones. All my jobs are ...
0
votes
0answers
17 views

assertion Failed error while running Bitcoin-Qt application?

I have downloaded Bitcoin-qt project from GitHub for Ubuntu 14.04, But I don't know why I'm getting error: Error: /main.cpp:2985: bool InitBlockIndex(): Assertion `block.hashMerkleRoot == ...
1
vote
1answer
16 views

State of network loopback

Why the state of lo interface is reported as unknown with cat /sys/class/net/lo/operstate even though ifconfig says it's running?
-3
votes
0answers
15 views

System Monitoring tool for Linux [duplicate]

I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I ...
0
votes
0answers
18 views

VMware Workstation lag a lot on Fedora

I run VMware 11 on my laptop with 6GB ram, Core i5 2.6Ghz and etc. with installed Fedora 21. In the moment which I run VMware, fedora start to lag a lot. With other linux distribution or Windows, ...
1
vote
0answers
14 views

iptables / VLAN: interface names

I have just started working with VLANs. My memory was VLAN interface names are the interface name plus dot plus the VLAN ID. And that is what vconfig offers. After some (successful) manual tests I ...
0
votes
1answer
14 views

iptables configuration for Transparent squid proxy

I have to setup a transparent squid proxy server using iptables and squid. Following is the scenario: [INTERNAL NETWORK] -> [Main Switch] -> [Proxy Server] -> [Firewall] -> [EXTERNAL ...
0
votes
0answers
9 views

org.freedesktop.consolekit launch failed error 127

I have an old Dell laptop that I've been running Crunchbang 11 x64 from a thumbdrive. The hard drive is dead, but I'm it's been pretty useful, running a Plex server, etc. I'm currently having ...
0
votes
0answers
17 views

basic help with safecopy

I have a drive with "Many Bad Sectors". After much deliberation I've chosen to try recovering with safecopy (the choices of tools are overwhelming, and they are all just as cryptic to me - but I ...
2
votes
0answers
36 views

Why is systemd-nspawn not appropriate for production deployments?

While reading about systemd-nspawn, it is mentioned that it should not be used in a production environment. The reason seems to be the lack of management and deployment infrastructure. Is practicality ...
0
votes
3answers
30 views

How do I loop through a file with awk

I am using this command sed -e '/^*/d' $WORKFILE | awk -f test.awk >> $OUTPUTFILE in a ksh script to take a file of 274567 lines like this * * * * * syopsf00 a0000096 ...