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

1
vote
1answer
27 views

What are security implications of shell pipes?

I read the following question (Shell Script mktemp, what's the best method to create temporary named pipe?) but I'm wondering whether it is preferable to use a temporary named pipe to transfer ...
1
vote
1answer
26 views

How does Linux generate ssh keys after reboot?

I installed CentOS 7, and noticed that I have rsa and ecdsa keys generated. I deleted all of them and rebooted the machine. I got a new pair of rsa and ecdsa keys. How does Linux generate the keys? ...
0
votes
1answer
9 views

linux namespace, How to connect internet in network namespace?

I want to test linux network namespace. The current problem is I cannot connect internet in the namespace here is my commands: 1 Create network namespace netns1, create a pair of veths (A and B) ...
0
votes
1answer
8 views

How to set static IPv6 IP address to embedded Linux board using ifconfig (busybox)?

We want to set static IPv6 IP to custom embedded Linux board. So far we could enable IPv6 in Linux kernel and Busybox. We could test that kernel is IPv6 ready. We tried to configure a static IP using ...
-2
votes
2answers
40 views

New to Linux. Working out what commands do [on hold]

How do I find out what commands such as LS do? I have recently been trying to write my first code and have became stuck with command names any help would be appreciated.
1
vote
1answer
24 views

New to linux, learning shell scripts [on hold]

I am trying to teach myself to write Shell Scripts on my Raspberry Pi, but I am struggling to make a menu where a user can choose from these different options: •display a list of current users ...
0
votes
0answers
12 views

Resources for learning Linux [on hold]

I'm new to linux. I know the basics, like moving from one directory to another and simple things like that. I need to learn the following things: - directory structure (where are the logs, ...
0
votes
0answers
11 views

How good is ARBTT(Automatic Rule Based Time Tracker)? Is there any alternative for it?

ARBTT is a rule based time tracker. I was able to write small scripts to log what I do in system. But I was not able to understand how effective is it. Is there any good article preferably any blog ...
0
votes
0answers
20 views

Finding Out Serial Port Address in Linux? [migrated]

I've CCT-910 serial port hub and wh EMP 800 coin acceptor. Coin acceptor is connected to hub, and hub to computer. They're both using same serial port (/dev/ttyUSB0 in Ubuntu 14.04), but their ...
0
votes
0answers
8 views

Mount JFFS2 FS in openwrt

I'm trying to mount 1[MB] of flash as JFFS2 FS in openwrt environment, using 128[MB] NAND flash (4 bit ECC). I'm using the following sequence - flash_eraseall -j dev/mtd6 mount -t jffs2 -o noatime ...
0
votes
0answers
4 views

How to upload a modified centos in Amazon marketplace [on hold]

I want to upload a modified centos in amazon aws marketplace.I already have aws account. What is the process for that.
0
votes
0answers
3 views

Linux - Install Wireless Card Driver

I trying to install a wireless LAN driver in my aircrack-ng v4 Virtual Machine but failed. I downloaded "iwlwifi-6000g2b-ucode-17.168.5.2.tgz" for my Chipset (Intel Centrono Wireless Card 1030) and ...
0
votes
0answers
22 views

How to check what is slowing down all processes on a machine?

I have a strange issue. When I deploy using vmbuilder a virtual machine on my local computer, the deployment happens to be fast, and the scripts run after the deployment are fast too. When I deploy ...
0
votes
0answers
20 views

Does the timeslice depend on process priority or not under Completely Fair Scheduling?

I'm trying to understand the Completely Fair Scheduler (CFS). According to Robert Love in Linux Kernel Development, 3rd edition(italics his, bold mine): Rather than assign each process a ...
0
votes
0answers
7 views

Waking nm up from sleep

nmcli g shows state: asleep. But since nmcli 0.9.10 it is no longer possible to wake up the network manager with sudo nmcli nm sleep false How do I wake it up in the new API?
3
votes
2answers
64 views

How is the real-time priority of a process set by default?

I understand that, for scheduling purposes, Linux processes have a "nice" value and a real-time priority value and that these can be explicitly altered with the nice and chrt commands. If the user ...
0
votes
1answer
19 views

Kali Linux wifi issue

I've just installed a linux Distro (Kali) and this is the only place I know to come for help with it. I installed Kali on my Compaq laptop, as it's the only laptop I have and won't use my windows ...
1
vote
1answer
12 views

split one partition into two using cfdisk (will uuids on other parts stay the same?)

I currently have various linux partitions on sda3-13. If I delete sda6 and create two new partitions using cfdisk I get sda3-14. I have /home on sda7 and / on sda11 which will then become sda8 and ...
2
votes
2answers
37 views

How to run the dialog command with proccess?

NOTE: Please look at my code, it's a Bash script. I want to display both dialogs on the screen at the same time, one dialog displays this: tail –f from - /var/log/proccess1.log and the second ...
-3
votes
0answers
15 views

Find Locations of a Letter In Linux Command [on hold]

Hey guys i need to Find out all locations of the word ttt in a file must find words containing "ttt" three t's consecutive can someone help me .
1
vote
0answers
19 views

How to fix disabled monitor after linux mint 17 xfce desktop boot and mei_me timeout?

When I boot into my desktop, my monitors go into power save mode and the communication between the monitors and the graphics card radeon x1650 is disabled? When I press ctrl+F2 or ctrl+F7 I receive ...
1
vote
1answer
21 views

Grub Legacy - Auto select boot option

When booting I am presented with a Grub option list consisting of two entries Gentoo Linux x.x.x Gentoo Linux x.x.x.(rescue) The highlighted entry will be booted automatically in 30 seconds. How ...
0
votes
0answers
14 views

OpenSSL 1.0.1j - upgrade on RHEL 6.5

I got a problem when I upgrade my openssl on rhel 6.5. The openssl is missing libcrypto.so.10. The openssl 1.0.1j created lib is libcrypto.so.1.0.0. I have made a soft link but it still does not work ...
-2
votes
0answers
25 views

how to run virtualized kali linux on bootable usb [on hold]

Please advice me how to run virtualized kali linux on bootable usb? If there is a way, its possible with which one of Virtualization softwares? In Vmware is it possible? Any way to change all serial ...
-1
votes
0answers
30 views

Forensic Linux distributions? [on hold]

Review between there distributions; 1. Kali 2. Caine 3. (SANS Investigate Forensic Toolkit (SIFT 4. DEFT Linux 5. Matriux 6. Masterkey Linux 7. Swift Linux 8. GRML Live Linux 9. Plain Sight 10. ...
0
votes
0answers
17 views

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram. For connection with BeagleBone Black I refer audio cape which is available in market. here is a link: ...
1
vote
0answers
21 views

How do I write the rule that has an edge server forward a clients request to an internal network server and back?

I have a network situation as follows: -server1:1.1.1.1 -server2:2.2.2.2 -tunnel 10.8.0.0/24 -client: 3.3.3.3 I'm trying to have client IP 3.3.3.3 do an HTTP request from the 1.1.1.1 server. ...
0
votes
1answer
17 views

Apache - Allow access for folders starting with /

I'm running apache in a linux environment. I've to serve files whose directory structure have "/." in it. Now, apache by default won't allow files with /. To remove the constraint, I've included the ...
0
votes
0answers
11 views

How can I use virtual users in “write list” and “read list” in samba?

Suppose I don't want to create effective users/group for my users (samba server as share server), and I need to create a share for them. Question : How can I use write list, read list, valid user ...
0
votes
0answers
32 views

User can execute su but gets incorrect password [on hold]

Created a user on oracle enterprise linux 5. I can log in as the user but cannot su - oracle or su - root. But I can directly logonto the server with those usernames and passwords. The error I am ...
3
votes
0answers
10 views

Migrate an unprivileged LXC container between users

I have an Ubuntu 14.04 server installation which acts as an LXC host. It has two users: user1 and user2. user1 owns an unprivileged LXC container, which uses a directory (inside ...
1
vote
1answer
39 views

Deterministic method to find out whether some other process is in a chroot jail and where?

NOTE: I'm familiar with this U&L Q&A titled: How do I tell I'm running in a chroot? that sounds similar to what I'm asking, but there's a subtle difference to what I'm looking for. That ...
0
votes
1answer
20 views

Determine driver for network interface [duplicate]

I wanted to see which driver was associated with some of the network interfaces listed by ip link. My first thought was to find the network interfaces in /dev and look at the device major and minor ...
3
votes
1answer
39 views

problem when booting linux server : Too many levels of symbolic links

By mistake, I executed these commands : sudo ln -sf bash /bin/sh sudo ln -sf bash /bin/bash When I rebooted the Linux server in recovery mode I got this message: unable to execute: Too many levels ...
0
votes
0answers
12 views

executing cmds on a Linux box from a windows box [migrated]

How can I create a script on a windows box that retrieves data from the Linux box by executing cmds against the remote Linux box? I have got putty and Plink on the win box but not sure how to fire ...
2
votes
1answer
36 views

CentOS 7 created mdadm array disappears after reboot

I created a raid1 using the below disks and command: $ ls -l /dev/disk/by-id/ata-ST3000* lrwxrwxrwx 1 root root 9 Sep 19 07:27 /dev/disk/by-id/ata-ST3000DM001-9YN166_Z1F04NR1 -> ../../sdc ...
1
vote
1answer
26 views

Getting driver for windows HW

I've asked this question on Ubuntu but didn't get any hint, so I'm trying here I've a wireless adapter LINK, the problem is that I've only got a windows drives for this device, but I really need it ...
1
vote
5answers
55 views

Rename a portion of multiple files

Take a number of files named: data_a_LT.fits data_a_LT.coo data_a_LT.ec data_a_LT.grp I want to replace all "a_LT" with "LT_A" such that I have: data_LT_A.fits data_LT_A.coo data_LT_A.ec ...
4
votes
1answer
25 views

How can process doing “vfork without exec” end up in a long uninterruptible sleep?

In this answer user suggests that Normally, Uninterruptible sleep should not last long, but as under windows, broken drivers or broken userpace programs (vfork without exec) can end up sleeping ...
0
votes
0answers
28 views

How to get diff for HTML reports?

echo "New defects" echo "===============================" n=0 def_num=0 while read line; do n=$((++n)) if echo $line | grep '^[[:space:]]*>' &>/dev/null; then if [ $(($n % ...
2
votes
0answers
14 views

How to locally validate DNSSEC?

I want to simulate the process of chain of trust validation locally , I do the following :- 1) signed my zone. 2) unbound installed , but i can not configure it for DNSSEC validation could you help ...
0
votes
2answers
30 views

How can i recreate the YAST GUI in text file

I am new to Linux, have an OpenSUSE vm and want to list the applications installed. I know i can do a RPM cmd and ls {PATH//: /} seems to return a long list although it is full of non-application ...
2
votes
2answers
39 views

Connecting Linux Mint to WiFi network

I just installed Linux Mint 17 (MATE) on an old laptop and everything works amazing, however I can't seem to get it to connect to my WiFi network. All my other computers can get access, plus, before ...
1
vote
3answers
49 views

How to display contents of mounted /boot and '/' root partitions?

How to display contents of mounted /boot and '/' root partitions of Debian on SSD drive from Linux Live CD? I know ls -1 to list directory contents, but what is exact steps to get this?
0
votes
0answers
8 views

gnome-classic as default session for all users?

How to set gnome-classic as default session for all users in gdm3 (system-wide setting)? I'm using Debian Jessie with GNOME 3.12. I've tried creating fake gnome.session in ...
0
votes
0answers
18 views

GParted hangs while resizing partition

I decided to shrink a FAT partition on my memory card by 768 MB to make place for a new one. GParted hangs on the fsck step. The progress bar halts and any window above it leaves the part of the ...
2
votes
1answer
7 views

resetting keys changed by xmodmap

I am playing around with xmodmap filename to assign among others, the Euro sign to the number five key on my US keyboard. I have done some wrong assignments and want to reset them, and I don't want ...
0
votes
3answers
40 views

Screen capture application for RHEL6.5

I need some screen capture application for RHEL6.5 and tried few ways to get one but failed. yum install gnmoe-utils and got: Reading Local RPMDB rpmdb time: 0.000 Setting up Install Process ...
0
votes
0answers
24 views

how to insert seperate lines ( elemnts ) in parameter [closed]

I have the following csv file more file.csv 1,yes,yes,customer1 2,no,yes,customer5 3,yes,yes,customer11 4,no,no,customer14 5,yes,no,customer15 6,yes,yes,customer21 7,no,yes,customer34 ...
1
vote
1answer
44 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: ...