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

0
votes
0answers
13 views

floppy disks only detected properly on same drive

On Linux (Debian based): If I copy files onto a floppy disk in an external floppy drive and put this disk later into another floppy drive, the disk output is … interesting. An excerpt: actual ...
1
vote
2answers
64 views

“GLIBC” can not be used when I have installed the gcc 5.1.0

When I have installed the gcc 5.1.0, I found lots of my softwares can not be used, such as firefox, gnome, they will give me a tip of "GLIBC_2.1X not found". Now the version of GLIBC is higher than ...
0
votes
0answers
15 views

Incorrect keyboard mappings on RHEL v6.4

Spent a while trying to create keyboard shortcuts in terminal for command history access (up/down arrow keys). Realized after some frustration that this wasn't the issue - some keyboard keys are just ...
0
votes
1answer
40 views

Grep unix for a data to find out result

i have a file, contains huge data. for example there is written "COST-> 1.00" line. and i would like to grep for example between 1.00 and 100. it includes both integer and string characters. how ...
1
vote
0answers
45 views

How do I crash Ubuntu Linux 14.04 LTS deliberately?

I'm trying to crash an instance on AWS so I can simulate what happens when it gets 'stuck'. I tried the top suggestions here How to cause kernel panic with a single command? but unforunately they ...
-1
votes
2answers
30 views

Not able to install any package or software on Linux 64-bit

I am using Linux RHEL6 and not able to install any package. [root@linux6 Python-2.7.9]# uname -a Linux linux6.4 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 ...
0
votes
1answer
8 views

Dell ePort Plus II (K09A002) not recognized under linux

The Dell ePort Plus II docking station is not recognized under linux (both Fedora 22 kernel-4.0.6-300.fc22.x86_64 #1 SMP x86_64 GNU/Linux and Ubuntu 14.04). The bug is similar to the one reported and ...
0
votes
1answer
32 views

Tree commands in linux

Does "#yum install tree -y" install tree onto my Linux operator?I have tried it however nothing has seemed to happen and when i try and open And if it does, how will I know that it has worked? ...
1
vote
2answers
36 views

How to change specific keys in the keyboard?

My Down and Right arrow keys were no longer functioning. Therefore, it is very difficult to use my laptop.So I want to change the key map like this: Pg up to function as Up arrow key Pg down to ...
1
vote
1answer
29 views

What are the default file permissions in CentOS?

What are the default file permissions in CentOS 5, CentOS 6 and CentOS 7? Is there any difference in the default file permissions between these OSs?
1
vote
2answers
42 views

How to change the last IP digits on linux command line

I'm trying to change the last digits of the IP address that I got stored as a variable ip=$(ifconfig eth0 | grep "inet addr" | awk -F: '{print $2} | awk '{print $1}') The output would be ...
0
votes
0answers
52 views

Kali 1.3 - Installing Parallel Tools

I am running Kali 1.1 on Parallels 9 for Mac and am having some irritating issues. Firstly, the WiFi doesn't work, but I hope the second issue's solution will solve this. Parallel Tools - I tried ...
1
vote
0answers
31 views

FreeBSD shared swap partition with linux

What to do, to run this commands before Archlinux calls swapon -a ? mkswap /dev/sdaX swapon /dev/sdaX Just in case, /dev/sdaX was created in FreeBSD 10.1 enviroment, as soon as FreeBSD doesn't ...
1
vote
1answer
8 views

Should I use IsoHybrid for booting Flash Drives?

I was recently trying to load a 'live-distro' .iso onto a flash drive, to I hopefully install it to my carbon x1 3 gen laptop. My question is should I use syslinux isohybrid on the image first? Does ...
0
votes
1answer
25 views

Wifi Constantly Trying to Connect but Getting Disconnected

I am running Mint 17 with kernel version 3.16.0-38 on my Asus UX305FA. When I boot up my wifi tries to connect to the network, disconnects and tries again also evidenced in the syslog. My iPhone ...
1
vote
1answer
35 views

Issues with Java in Linux

Firstly, I would like to apologize as I'm not quite sure whether this question is suitable to be on this site or Stackoverflow. I chose U&L eventually because the traffic here is much lower ...
-1
votes
1answer
37 views

How to Scale down Debian [closed]

I would like to customize Linux ubuntu or Debian for my raspberry pi. How can I remove packages and Applications from it? And Also if possible I would like how to change the graphics? Do i need to ...
5
votes
2answers
65 views

Why does password prompt lag slightly after typing the username in tty?

I have a this kind of behavior & I don't know how to fix it or even how to search a fix for it since I don't know how would I even call it. Here's what's happening: The first time I boot, when I ...
0
votes
0answers
11 views

How to automate HP 3PAR in CentOS using Python?

I have worked out in windows to start 3PAR using python but i am not able to login into 3PAR in centos. Additionally how to view system,hosts, provisioning Tab(list Volumes, Virtual Volume sets, ...
0
votes
0answers
6 views

Run specific script on boot for specific machine with portable Linux installation

I have a USB disk on which Arch Linux is installed. This USB disk can be plugged in in different machines. Now I want to run a specific script on a specific machine. For example: Upon booting ...
0
votes
1answer
20 views

Getting the log from MySQL into a file when running MySQL commands from the command line

I am trying to get the log from MySQL into a file when executing a script from the command line. For example mysql -v mydb u- alex -p**** < please_run_me.sql > /tmp/file.log Now, the work ...
0
votes
0answers
5 views

How to make roundcube work with pgsql?

roundcube & pgsql are running on different containers docker run --name to-postgres --expose 5342 -e POSTGRES_USER=roundcube -e POSTGRES_PASSWORD=roundcube -d postgres Now how shall I install ...
0
votes
0answers
37 views

How can I Migrate Linux User Account To Active Directory while preserving all user settings

How can I add a Linux user to an active directory account and keep all of the settings / profile from the Linux account? In other words, how can I add a specific Linux user to AD so that when I ...
-2
votes
1answer
23 views

Official resources about disc management on linux / distributions [closed]

My question is about official linux and common distributions (e.g. fedora/debian) on learning disk management in practice on linux / linux distributions. The layout, may be including the file system, ...
1
vote
0answers
12 views

What do the fields in /proc/net/ipt_hashlimit/FILE mean?

What do the fields in /proc/net/ipt_hashlimit/FILE mean? These files are created upon iptables -A CHAIN -m hashlimit--hashlimit-name FILE [...] [...] 9 198.51.100.23:0->0.0.0.0:0 80000 80000 160 ...
0
votes
1answer
11 views

Use of MODULE_FIRMWARE(filename) macro in Linux modules

What is the use of the MODULE_FIRMWARE(filename) macro in Linux kernel modules?
0
votes
0answers
26 views

Why am I able to compile kernel modules without “#include”ing the relevant header files?

Based on the common practices shouldn't I have to include <linux/stat.h> and <linux/module_param.h> in the following program? #include<linux/module.h> char str[7] = "hello"; int ...
2
votes
2answers
23 views

Replacing a disk to RAID5 failed

I removed a faulty disk from my RAID5 with mdadm --manage /dev/md0 -r /dev/sdd1 and replaced it with a new one. I tried to add it with mdadm --manage /dev/md0 -a /dev/sdd1 but it's only added as a ...
0
votes
3answers
56 views

How to uninstall OpenLDAP in RedHat?

I have installed OpenLDAP with yum, but I have accidentally deleted some of the config files. I am not able to recover them. I want to uninstall it. I tried the following command but it ends with an ...
0
votes
1answer
28 views

Auto Download & Untar Script

Looking to write a script for my Linux Server so look for a specific folder name, then wget a file, and untar. Where would I start with this? I know that it has to be written in bash, but I'm very ...
0
votes
0answers
14 views

Giving S_IWUGO permission to module parameter results in compilation error (while S_IRUGO or S_IXUGO doesn't) - why? [migrated]

I wrote a simple kernel module to learn module_param feature of the kernel module. However, if I give the S_IWUGO, S_IRWXUGO or S_IALLUGO permissions for the perm field, I get the follwing ...
-6
votes
0answers
33 views

SCP file transfer

does anyone have a simple example script, to verify the remote server available mount space, and compare with source file size, then initiate SCP file transer if the target mount available space is ...
2
votes
0answers
41 views

How to replace faulty device on RAID5

I wanted to replace a corrupted raid5-device on my linux system (opensuse 13.2) but missed the step of set-faulty/removing the device (/dev/sdc1). So i accidently just switch the device with a cloned ...
1
vote
0answers
17 views

tmux select-pane -LDUR command - disable auto-cycling behavior

is it possible to disable the behavior which cause selecting a pane on opposite side of a tmux window if there is no more pane left in a direction select-pane command was originally triggered at? if ...
0
votes
1answer
37 views

Check if Ubuntu is being installed in VirtualBox VM

I am trying to automate the installation of Ubuntu from a network repository. I am now successfully able to configure the ISO image and it does the installation automatically. My requirement: I ...
0
votes
1answer
55 views

How to copy files from one remote server to another (LFTP)

Disclaimer: I have little Linux/sysadmin experience. I am trying to transfer some files to someone else's remote server. The source files are available on my local Windows machine or our own remote ...
0
votes
1answer
45 views

How to install `roundcube` without adding back-ports in `Debian`?

Trying to install roundcube by issuing following command apt-get -y install roundcube roundcube-pgsql roundcube-plugins roundcube-plugins-extra php-net-ldap2 getting following error. E: Unable to ...
2
votes
2answers
117 views

How can I print current reads and writes to the filesystem on demand?

I am interested in getting statistics about filesystem reads and writes, specifically to an NFS mount. I know there are many tools such as iostat, nfsstat and inotifywait but there are issues I have ...
-4
votes
1answer
35 views

How do I execute a bash command with I/O redirection? [closed]

In Unix environment, I can execute a command e.g ./getall.tcl xcm_in.txt > xcm_out.txt where getall.tcl is the software script, xcm_in.txt is the input file and xcm_out.txt is the output file which ...
0
votes
1answer
16 views

To backup to XFS disc by imaging and file-system level

I am interested in image the internal HDD and backup just the filesystem file as backups. My external HDD is 2TB while 100 GB is only used in my internal HDD. Both methods are welcome here. Code ...
0
votes
0answers
3 views

Linux: POSIX Timers ignore Thread Priority [migrated]

I have a Thread which has to run every millisecond. When no other thread of the program is active, everything is fine. But if more than 3 other threads are running, the Timer-Thread is only called ...
1
vote
1answer
60 views

Untagged interface in Linux?

I know how to create a tagged interface in linux using vconfig like eth1.10 which makes it receive and send tagged packets. Is it possible to create an interface which receives and sends untagged ...
2
votes
2answers
38 views

listing directories under / that are not in the same mountpoint

If i have 8 directories under / , with 5 directories on different mountpoints then / /dev/md/dsk/d0 49G 32G 17G 66% / /dev/md/dsk/d65 76G 77M 75G 1% /u03 ...
0
votes
1answer
16 views

make for linux kernel module

I have recently started learning kernel module programming using the book The Linux Kernel Module Programming Guide and I dont understand how does this make work obj-m += hello-1.o all: make -C ...
0
votes
1answer
40 views

Linux Swap Space

I have got 32GB memory. SSD and NonSSD drives. I installed linux to NonSSD drive but i prefer SSD for /var directory and i didn't create swap space because there is high memory. I know physical ...
2
votes
0answers
22 views

Data written to /dev/pts/x inside SIGINT (Ctrl+C) handler is randomly discarded [on hold]

Have Archlinux64 on VirtualBox. If I declare a SIGINT trap like this: trap 'echo x' INT inside an ssh session (running bash) and press Ctrl+C multiple times, only a few times does something appear ...
1
vote
1answer
17 views

Linux (on Vmware) keep timing out instantly when not doing any network activity

I have recently install Kali Linux flavor of Linux as a virtual machine in my Windows 7 Host. After setting up the Linux, I open VM -> Removable Devies -> Network Adapter -> Settings and ...
0
votes
0answers
21 views

Retrieving the total bandwidth capacity

I've been looking around for a convenient way to measure the total bandwidth capacity of a *NIX workstation and found a number of monitoring tools here. However, they are of little use in determining ...
2
votes
1answer
24 views

How can I know threads names that run on specific core

I am working in java code,my code attend in making specific java thread run on specific core and in this code i give names for java threads.I need linux command that enable me to know threads names ...
2
votes
0answers
22 views

Sound output not working properly in chroot

So I have a 64-bit Linux Mint 17 system and I am trying to set up a chroot environment with a 64-bit Ubuntu 12.04-based system (actually something called Vinux, an Ubuntu remix). The problem is that ...