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

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
35 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
38 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
22 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
24 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
36 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
48 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
18 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
75 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
147 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
32 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
55 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
24 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
43 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
26 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 ...
0
votes
1answer
61 views

Kernel version not changing even though the new version is installed

Recently performed software update on a RHEL 6.6 (Santiago). Noticed that kernel version is not updated to latest one that was installed. kernel version before doing software update: [root@server01 ...
0
votes
0answers
40 views

Mouse and keyboard not working on Windows 8.1 after Ubuntu dual boot?

After dual booting my system with Ubuntu, my mouse and keyboard no longer work, in Windows 8.1. The light on the peripherals glows, so I know they are on, however they are just not responding. In the ...
2
votes
2answers
52 views

What is a Linux command that lists only USB storage devices?

I would like to list only the USB storage devices connected to my computer. Since these are SCSI disks, I used the command lsscsi, which lists the USB drives as well as my computer's hard drive and CD ...
0
votes
1answer
70 views

Setting up connection to WPA2 Enterprise (PEAP/MSCHAPv2) with two-level certificate

For a long time, I have been able to use NetworkManager + wpa_supplicant as configured in Debian 7 to connect to a secure wireless at work (which is WPA2 Enterprise, with PEAP + MSCHAPv2 ...
-1
votes
0answers
15 views

Which module utilities are the conf files in /etc/modprobe.d consulted for?

Are the conf files in /etc/modprobe.d consulted only for modprobe command or are they consulted for other module utility commands such as insmdod, rmmod, depmod etc as well? I found it mentioned in a ...
0
votes
1answer
28 views

why is makepkg not working in Arch linux?

i'm trying to install this package https://github.com/w0ng/dwm to configure/customize dwm window manager. the thing is that I need to use "makepkg" to install it. but when I do this "# makepkg -efi", ...
0
votes
1answer
72 views

How to run multiple sudo commands over already opened ssh connection

I am trying to navigate from one server"USER1" to another using ssh as a user "USER2". ssh -t $hostname "sudo su - USER2; whoami; pwd" Post executing the above, I am able to successfully navigate ...
2
votes
0answers
34 views

Which process wrote to which memory address? [closed]

Recently, I've been seeing a wide variety of memory-related crashes at work (C++ applications on Ubuntu 14.04). Our applications use a properietary third party library to interface with real time data ...
0
votes
1answer
31 views

Need to parse nginx access.log by minute, chunks for statistics - is there better way?

I need collect current data from it every minute to monitore amount of requests and errors. It's nginx's frontend log - with a lot of requests. It's formatted, rotated than archived every hour. So - ...
0
votes
1answer
28 views

Which file system must be chosen for /home directory at a notebook? [closed]

For a time im reading about filesystems that should be better for me but i still can't find my filesystem for /home.My criterias as follows: 1.Battery life 2.Reliability 3.Fastness which fs do you ...
0
votes
0answers
47 views

Dual Booting - MAC OSX

I'm new to the whole Linux OS and want to use a distro called "Parrot Security" Problem is, I have a Mac Laptop to which I want to dual boot from. I've installed reFINd and tried to boot from a ...
1
vote
1answer
39 views

How to autorun a C# mono applications on Raspberry PI startup?

I have a Raspberry PI running Raspbian and I connect to it through RDP or SSH. And I have 2 applications in C# and I run them through mono. One is a WinForms app (GUI app, which cannot be launched ...
0
votes
0answers
29 views

I can launch an app as 'myuser', and as 'root', but not using 'kdesu'. How do I launch wth 'kdesu'?

I'm running SublimeText editor on Opensuse/64. If I exec it as 'me' $ whoami dop $ sublime_text the app opens like normal, using config in /home/dop/.config/sublime-text-3/ If I change to root ...
2
votes
1answer
31 views

How can I fix /dev/pts after mounting it?

I made the same mistake as in this question: Debian chroot blocking PTTYs on host I mounted a "devpts" filesystem inside a chroot, and now urxvt can't create ptys. Oddly enough xterm still can. ...
4
votes
2answers
81 views

sudo rm -rf returns “cannot remove directory” on empty directory owned by root

I have a directory on my Debian system. The directory is: root@debian:/3/20150626# stat 00 File: `00' Size: 6 Blocks: 0 IO Block: 4096 directory Device: fe00h/65024d Inode: ...
1
vote
1answer
43 views

bcmwl-kernel-source driver issues on install

I am installing Mint 17.1 (MATE) on my MacBook Pro Retina (due to it having much better hardware than my PC, on which I successfully installed Mint 17.1 in the past). I followed the instructions on ...
1
vote
1answer
25 views

detect interface name with perl

I want to detect the interface name (can't use udev because of hardware reasons) and do things according to it. Basically this should be a first check if the wifi device is able to "see" anything. ...
0
votes
1answer
49 views

“find” function still print files I've already removed

I've removed some directories and files inside them using sudo rm and sudo rmdir, but when I execute sudo find /*/*/ng* the files I've previously deleted are still showing up, anybody know why and ...
2
votes
0answers
20 views

Significance of Linux kernel's default_console_loglevel

What is the significance of default_console_loglevel in Linux? Commonly I see it described as the default value of console_loglevel. However, what that means I haven't seen explained anywhere. ...