Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
15 views

Userspace manipulation of partition and disk images

On a Linux system, is it possible to use only user-space tools to create and manipulate partition images (which will probably only have ext2 filesystems on them) and then take those partition images ...
0
votes
1answer
26 views

Read-only bash traps

Assume the Linux root sets a trap on some signal in /etc/bash.bashrc, say: trap 'rm -f ~/tmpfile' EXIT root does not want any other user to mess up with this trap. So, he wants to make the trap ...
0
votes
1answer
47 views

Kali Linux Can't Find Any Computer On Network

I'm trying nmap and arp. When i'm execute "arp -a" only shows myhome.mynet ([my_ip]) at [MAC_ADDRESS] [ether] on wlan0 And when i'm trying to nmap [my_ip] it shows Starting Nmap 6.40 ( ...
0
votes
1answer
21 views

How to install APT on Debian Linux

I've uninstalled APT due to A LOT of issues, but it seems that I can't install it again. Can someone please help me? I'm running Linux kali 3.12-kali1-amd64 #1 SMP Debian 3.12.6-2kali1 (2014-01-06) ...
2
votes
1answer
18 views

Are there limits to file length piped from find to xargs or using find -exec +

In question [ Find and delete all the directories named "test" in linux ] on this site, the best answer talks about using these two commands: find . -name test -type d -print0|xargs -0 rm ...
0
votes
1answer
32 views

Organizing digitial pictures, and eliminate duplicates [closed]

I have tens of thousands of personal digital pictures. Unfortunately, they are terribly organized, and there are probably an average of four duplicates of every image. The duplicates occurred due ...
2
votes
1answer
50 views

Hidden Files in Linux

In Linux (specifically), what's the difference between making files hidden by adding a "." before the name, or adding a "~" after the name. I know that both work for files, and that only the period ...
2
votes
0answers
17 views

Archipel / Xen Orchestra

I'm hoping you can help me to get my head around this! We want to start using virtualisation. We intend to rent a large server in a datacentre and use this. I was excited to see that XenServer is ...
0
votes
0answers
12 views

Ideal location for storing project files in Linux servers

Since using Linux/CentOs servers, I have read numerous blogs about suggesting where to actually place the public project folders. Nginx seems to suggest the html pages should be placed in: ...
0
votes
0answers
27 views

Does a VirtualBox/CentOs need two adapters to work properly ?

I have a Windows 7, 32bit, HP Laptop. I have CentOs 6.5 running on VirtualBox 4.3.10. Here is my eth0 config. Code: #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ...
0
votes
1answer
23 views

Turning iptables off on development server permanently?

What would be the downsides of turning off iptables permanently on a development environment? I don't like the fact that every time I restart virtual box I must do: service iptables stop service ...
0
votes
1answer
21 views

Oddity: “grep” cmd in /etc/network/interfaces

While digging through the birds-nest of network initialisation in our embedded linux setup (Linux SDK on Leopardboard SBC) we've come across what seems like an odd and possibly non-functioning line in ...
0
votes
3answers
35 views

Fast extraction of key-value pairs in Linux command-line

I have a large (tens of GBs) text file with data in key=value;foo=bar;baz=quo format. The number and order of keys can change from line to line. I need to process this file and extract values for ...
0
votes
0answers
26 views

How to solve mounted partition error in Debian 7

I installed MATE on Debian 7 (LXDE), and encountered problems with both ntfs and ext4 partitions when I mount any partitions (ntfs, ext) using MATE file manager (Caja). I don't recall how it was with ...
0
votes
0answers
6 views

Postgres memory usage too low [migrated]

I have a 400GB postgres 9.3.4 DB running on Fedora20, and a few indices per table. I have upped shared buffers to 4GB (the system has 16GB available), set shm in the kernel and set the ...
0
votes
2answers
28 views

where to put binaries so they are always in path and can be found easily

I am making quite some binaries, scripts etc that I want to install easily (using my own rpms). Since I want them accessible for everyone, my intuition would be to put them in /usr/bin; no need to ...
1
vote
1answer
12 views

OpenSSH client refuses to use a new key file

After generating a new ssh private key (id_rsa) on one server and distributing it across a server network, one server is failing to use the new key, and falls back to password authentication instead. ...
118
votes
9answers
12k views

I accidentally typed password into bash command line

I accidentally typed my password into bash command line, mistaking the Last login: ... line for Wrong password (I was in a hurry). What do I do to cover my trace? What I did was editing .bash_history ...
0
votes
1answer
24 views

Bluetooth / Bluez: No reply to ping over bnepX interface

I have trialed to use Network, NAP profiles on Bluetooth. On Host, xUbuntu 13.04 I have followed as here. This Host or XUbuntu machine is behind proxy & runs on virtual machine. It is ...
1
vote
0answers
18 views

All commands that create files in /etc error with “Invalid argument”

I recently developed a problem on some embedded linux devices where I can no longer create files directly in the /etc/ directory. I first saw the problem when dpkg failed to create a temporary file, ...
0
votes
1answer
22 views

Remove i486 kernel (retain i686 kernel) after install

I'm repurposing an older 32-bit machine. After a Debian install, I have the following GRUb entries: Linux 3.2.0-4-486 Linux 3.2.0-4-686 I don't need the i486 kernel. I have been deleting the i486 ...
0
votes
1answer
20 views

how to recover pv and lvm with no lvm export?

hi i have a server which its first hdd was broken , the server has 2 HDD , the first hdd crashed . datacenter replaced it for me with a new hdd. the second hdd use to have 2 pv on 2 partitions , ...
0
votes
1answer
40 views

What is a u-Boot dtb file and how do I use it (BeagleBoard xM)?

I'm trying to build a custom Linux for a BeagleBoard xM (Rev. C). I do a lot of C/C++ but am a beginner at building and installing Linux from scratch. I used the Yocto Project build appliance ...
1
vote
0answers
47 views

Fedora 20, tried akmod, kmod, nvidia proprietry installer still can not install on msi ge60/gtx660m

I have fedora20, tried to install bumblebee,primus,nvidia 304xx drivers to my fedora installation. I tried akmod it froze at the prefdm process as i know it correct. Fedora logo comes up and it goes ...
0
votes
1answer
32 views

Shell script truncated when run from cron or at

I'm seeing some very strange behavior on a Linux based NAS (DNS-323) I have. I'm using a simple shell script to back up the files on the NAS to another box. After making some recent additions, the ...
0
votes
1answer
30 views

Changing kernel bootsplash image?

I want to display a custom boot splash image on my Beaglebone Black (running Ångström). I know of three places where images can be dumped to the framebuffer: Bootloader (uboot) - needs display ...
0
votes
0answers
35 views

Touchpad left-click not working - Linux Mint on Dell Vostro 3640

This is a question on behalf of my friend, so it might take me a little while to run tests and stuff. The problem is that periodically her touchpad won't left click, either by pressing the physical ...
2
votes
1answer
55 views

Linux multi-tasking

I'm working on deploying a node project to a Linux box on amazon EC2. The project uses mongoDB. I'm trying to run node and mongoDB simultaneously on the box but I'm unfamiliar with linux. Is it ...
1
vote
1answer
26 views

Modify and copy DVD [duplicate]

I have a existing DVD (happens to be Windows 7), and I would like to copy it to another DVD. Before doing so, I would like to slightly modify the content by deleting a single file. I can either use ...
4
votes
3answers
46 views

Using Unix's find command to find directories matching name but not subdirectories with same name

Edited: I mistakenly misrepresented my problem. A more accurate example now appears below. I'd like to recursively walk all directories inside a target directory, and stop each recursive call after ...
1
vote
0answers
23 views

xwindow and poor man's video wall

We have a "video wall" at my workplace. It consists of 8 43" - 50" screens. 5 of them support full HD resolution, remaining 3, do not. Screens also have different video inputs. Some support HDMI and ...
1
vote
2answers
49 views

Will a big RAM improve filesystem write IO?

We have hundreds of millions of small files on our server, totally about 500 GB. I'm looking for a way to speed up their creation. Would there be any difference if I get more RAM for that purpose? ...
0
votes
2answers
47 views

Redirect two stdout to one stdin in Linux bash

I've got a C program that reads from stdin and does some operations. I am asked to enter information periodically (every 20 sec), and leave the user interaction the same while doing some tests. Is ...
1
vote
1answer
14 views

posting data to a web server using curl

I am trying to post data to a web sever using curl -d and curl -X POST. The command is getting succeeded but nothing is there in the file. Tried the following: [root@oooatis santoshi]# curl ...
1
vote
0answers
28 views

chpasswd and passwd not updating /etc/shadow for root user

I'm having a weird problem, and I don't know if I've screwed something up or this is the way it's supposed to be and I never noticed.. Using passwd and chpasswd to change a users password works as ...
1
vote
1answer
22 views

Time machine backup to hard drive on server

I have a linux machine that i use as a general server, I would like to be able to backup my mac to a hard drive plugged into the linux machine, is this possible?
0
votes
1answer
26 views

Is an RPM already installed? Binary compare

At my current place of work we sometimes receive a bundle of RPMs and are told to update our environment. The entity providing us the updates is very slack with their processes and sometimes make ...
0
votes
1answer
44 views

SSH with no password (passwordless) on Synology DSM 5 as other (non-root) user

I'm trying to ssh into my Synology disk station without a password (public key authentication), but as non-root. When I try to ssh as root without password, it works. Following the exact same steps ...
1
vote
1answer
54 views

The network setting for /etc/network/interfaces for static IP of a supernet address

I want to change my Ubuntu to static IP. My current IP setting is: eth0 Link encap:Ethernet HWaddr 00:0c:29:xx:xx:xx inet addr:192.168.16.59 Bcast:192.168.31.255 Mask:255.255.240.0 ...
1
vote
1answer
25 views

gnome3 add new file types for nautilus (instead of text file)

on my Fedora 20 system many file types are grouped under the type "text", for example *.ini, *.txt and so on. So if I sort the contents of a folder by type, it groups them all together, which is not ...
1
vote
0answers
20 views

What are some good guidelines for CentOs beginners. [closed]

I just started using CentOs both in VirtualBox and and online, so I would like to know some good bullet proof points as to the DOs and DON'Ts abut security, configuration backup ... I followed this ...
0
votes
1answer
29 views

DNS query only works for Fully Qualified Domain Name (FQDN) but not short name

This is a Linux (Ubuntu 13.10) VM guest in the Windows host & environment. When doing DNS query, only the FQDN entries have returns while the short names are not (see below). Why is that? My ...
1
vote
2answers
31 views

How to use a space in date format section of annotate-output?

I try to use annotate-output (part of devscripts package), to prefix outputs of a script with date and some extra info. First parameter can be a format string passed to date. I want to include a space ...
0
votes
1answer
15 views

Integrating github's public keys API with ssh

Hi, i'm wondering if this is possible and safe, to have my http://github.com/{username}.keys as the default authorized_keys file for my private dev server. So that if I add a new key to github - ...
0
votes
1answer
43 views

Automated sudo and screen command

I would like to be able to launch a script in a separate screen command session as a separate user when I run a .sh script. Here is what I think it may be in the script: #I am also starting xampp ...
0
votes
1answer
43 views

Exact copy of files from NTFS to another NTFS using Linux

I try to copy all files from an NTFS to an external drive and want to preserve all permissions and attributes. The external drive has already an NTFS and contains other files. I've considered using ...
1
vote
1answer
82 views

no version information available (required by /usr/bin/ssh)

I am getting no version information available when making ssh. Openssl verion: sat:~# openssl version OpenSSL 1.0.1f 6 Jan 2014 Here is output of ldd /usr/bin/ssh: /usr/bin/ssh: ...
0
votes
1answer
27 views

How to let awesome window(client) displayed always on visible workspace?

As title tell. There is such an option when you right click the blank on nautilus in awesome, then a rectangle will appear in the title and it worked, any short cuts for this function to use on other ...
1
vote
1answer
20 views

Where are Page tables stored

My question is "where are the page tables stored: in physical memory (RAM) or as some data structure in User space". PS: What I have understood so far: A process memory layout has few segments ( ...
0
votes
1answer
14 views

What is the keyword in .ssh/config for tunneling in the background?

In command line option, we can specify -N -f to let it run in the background. How about the identical keywords in .ssh/config? Instead of doing ssh dest -N -f -L 1337:localhost:1337 I would like to ...