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

-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
56 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
46 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
36 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
17 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
23 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
47 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
41 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
81 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
20 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
0answers
23 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
25 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
37 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
49 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
38 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 ...
2
votes
1answer
43 views

What does Linux spend memory on other than userland, caches and slab?

I have a system with 1 GB of physical RAM. Right now, free shows the following memory usage: total used free shared buffers cached Mem: 1026360 863660 ...
-1
votes
1answer
40 views

What is ~/.cache/weather.xml?

I use a clock-date-weather conky and I noticed that it is related to the file ~/.cache/weather.xml. I am curious: was this file created by conky or by what other program? Is it present on the system ...
1
vote
1answer
19 views

Send javascript to Chromium or Firefox from linux terminal

I am using either a chromium or firefox web browser in kiosk mode to log in to a website from boot up, and I want to use a javascript to send in a command to login to a website automatically. I know ...
2
votes
1answer
77 views

How to make this conky (Conky Vision) use other language than English?

I want to use this conky script: Conky Vision But I don't want the days of the week to be displayed in English. When I change my locale to another language, the day of today is displayed in that ...
3
votes
2answers
53 views

Swap on tmpfs (Obviously a bad idea, but is it possible?)

This question originated with a joke between co-workers about increasing performance by moving swap partitions to a tmpfs. Clearly even if this is possible, it's not a good idea. All I want to know ...
0
votes
0answers
30 views

Segmentation Fault in C when Opening Directory [migrated]

I'm using dirent.h to read entries in a directory. I used gcc to compile the code. If pdre is defined, I get a segmentation fault when I open the directory. But if I add a reference to &pdre ...
1
vote
0answers
16 views

What is the plotting mode of drawing with text symbols in Gnuplot?

I can recall in plotting by text (like textual symbols) in gnuplot. I wonder what are the flags for it in gnuplot. I am doing visual selection tool similar to bless but for pictures. For ...
0
votes
1answer
148 views

How to Upgrade to Linuxmint 17.2

In the Linux Mint upgrade manual I found this entry: Upgrading to 17.2 is relatively easy: In the Update Manager, click on the Refresh button to check for any new version of mintupdate and ...
0
votes
1answer
11 views

Transfer Schema and Rebuild Databse on Another Server

I have made a number of changes to the database schema on my development including the addition of new tables and changes to others. Is there an easy way to transfer this schema to the server, build ...
3
votes
1answer
33 views

Why am I able to write a module parameter with READ ONLY permissions?

I wrote the following simple linux kernel module to test the param feature: #include<linux/module.h> int a = 5; module_param(a, int, S_IRUGO); int f1(void){ printk(KERN_ALERT "hello ...
0
votes
0answers
5 views

Gdm running, but services --status-all shows it's stopped

I use gdm as display manager: $ ps -e | grep dm 1060 ? 00:00:00 gdm 1117 ? 00:00:00 gdm-simple-slav 1658 ? 00:00:00 gdm-session-wor $ sudo service --status-all 2>&1 | ...
0
votes
0answers
57 views

Drivers support for Sound Blaster Z/Zx on Linux

I am planning to buy a Sound Blaster Z or Zx (sound card) for my computer (which will run both Windows 7 and Linux Debian 7/8 or Fedora 21/22), but I heard it does not have a good support on Linux. ...
0
votes
0answers
25 views

Is it possible to execute python script on Visual studio with Linux environment

Is it possible to execute python script on Visual studio with Linux environment For example The following python code was written on the visual studio import os f = os.popen('date') now = ...
1
vote
2answers
44 views

Linux fails with starting on a dualboot system after Windows update

I have Windows 7 and Kali Linux on my computer, normally I don't use windows anymore. But today I started windows and it updated itself. I am writing my thesis and all my stuff is in Linux so I really ...
0
votes
1answer
24 views

lsof vs cat/proc/…/maps [closed]

While looking for a detection method for services that would need to be rstarted after patching OpenSSL, I stumbled over a difference between the return of those 2 commands : [root@host ~]# cat ...
0
votes
1answer
28 views

Not able to install mint with UEFI

In order to install Linux mint mate edition on a HP pavilion notebook, I downloaded the iso file on the official website. I created a bootable USB stick with Rufus. I shrinked the windows partition ...
1
vote
0answers
12 views

Tunslip deactivates WiFi in raspberry pi B+ board

I'm using Contiki operating system with Cooja to simulate a sensor node network. And I'm trying to capture the ip packets it's sending in a Raspberry Pi B+ board (through USB) using tunslip6 and a ...
0
votes
0answers
12 views

compile code in apue manually but get error [migrated]

I have typed the code of apue's appendixB by my own. but when I do the first test, I get an error. `(master)⚡ [1] % clang -o myls myls.c apue.c` `~/Code/c/apue` ...
1
vote
1answer
25 views

Why does first inode of the `/` mounted partition and inode of `/` is different?

[~]$ stat -c %i / 2 As you can see in above, the inode for / is 2. But the First inode of /dev/sda2 is 11. [~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 ...