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

1
vote
0answers
32 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
29 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
37 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
38 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
73 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
14 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
13 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
6 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
52 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
13 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
12 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
27 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
72 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
31 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 ...
-7
votes
0answers
34 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
18 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
39 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
65 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
60 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
119 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
37 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
19 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
65 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
19 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
42 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
23 views

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

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
22 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
30 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
33 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 ...
2
votes
2answers
51 views

Linux network stops functioning after random time (wired)

I'm unsure if this is hard or software issue but I really need to find out. I was running Windows 8.1 for some time, then swapped to Linux mint with kernel 3.13 which worked fine. I updated kernel to ...
0
votes
3answers
36 views

Restore a screen session after shutdown

Not concerned with conventional attaching and detaching, I'm talking about restoring a screen session after shutting down my system entirely. I usually have changed to various directories depending ...
0
votes
0answers
47 views

clang/c++/++abi/unwind returns undefined reference to symbol '__gxx_personality_v0' on Linux

I'm new here. Recently I am trying to build a clang/llvm/c++/cxxabi/unwind tool-chain against gcc one on linux (Fedora 22 x64). But seems something not well as my expected. ===== These are my steps ...
1
vote
2answers
84 views

How to construct a GPT-only partition table on Linux?

All of the tools I've tried until now were only capable to create a dual (GPT & MBR) partition table, where the first 4 of the GPT partitions were mirrored to a compatible MBR partition. This is ...
0
votes
2answers
46 views

Is there a way to list files before mount a disk partition

Suppose there are several partition in my computer. So I'm not sure where is the folder I have to access. usually what I do is mount all the portions first and then search one by one. Is there a way ...
2
votes
0answers
21 views

How do I vmtouch a directory (not the files it contains)?

The vmtouch(8) tool allows locking a file or files in memory. It has recursive mode, but the directories are used just for discovering files and are not locked themselves. How do I lock a directory ...
1
vote
1answer
28 views

traceroute (with TCP) doesn't capture received ICMP responses

System: Fedora 21 Problem: actually already very well described here but unfortunately without any explanation WHY traceroute with TCP is not displaying the ICMP responses and with the (for me ...
1
vote
0answers
27 views

Raspberry deleted folder reappears

I have recently bought a Raspberry Pi and made a setup with the standard Raspbian image. A few days ago I have made a folder on my desktop, I want to delete this folder but after reboot it continues ...
0
votes
0answers
14 views

Packet loss when turning off net.ipv4.conf.all.accept_redirects

I applied this rule: /sbin/sysctl -w net.ipv4.conf.all.accept_redirects=0 /sbin/sysctl -w net.ipv4.conf.default.accept_redirects=0 and in /etc/sysctl.conf I added these lines ...
1
vote
1answer
40 views

Joining all mp3 links in m3u file into a single mp3 file

I have an m3u file, which has links to many mp3 files online. When I play this m3u file in a player such as vlc, it works fine as long as the internet connection is good. My question is, what's a ...
3
votes
1answer
58 views

Does Realtek RTL8192SU driver support access point mode

Trying to set-up a Raspberry Pi as wireless access point connected to my router. Using a Realtek wireless dongle: lsusb: Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter Tutorials I am ...
1
vote
1answer
39 views

Trying to store the output of file command into a variable , but the output says “no such file exists”?

This is my shell script: $EXTENSION=$(file $RADIOOUT) $RADIOOUT contains the file name along with its path. output is: ./zenityentry: line 40: =/home/jeevan/Downloads/p.txt:: No such file or ...