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
24 views

Dereferencing string pointer in ftrace event filter

I'm currently trying to create an ftrace event filter for the event sys_enter_open which is filtering by the filename argument. Looking at the format definition of it I can see there's a filename ...
2
votes
0answers
38 views

Kdump.service FAILED centOS 7

I am getting this error on my centos 7 x86_64 after "yum update". After rebooting the host it went into emergency mode. after entering this: systemctl status kdump.service I get this: ...
1
vote
1answer
22 views

dsniff & httpsniffing

This is a very noob question. I run the command dsniff -i eth0, and if I open a new terminal window and try my FTP-server, connect, and quit. dsniff returns the username and password. If I try the ...
2
votes
1answer
34 views

How is a function resolved at runtime?

How does a function resolve in Linux at runtime? Is it purely based on the name and and some "symbol table" as I've imagined, or is it a hardcoded address of some sort? I read online that you have to ...
1
vote
0answers
17 views

ASLR implementation details in Linux Kernel

I was able to easily locate code that ranzomizes "stack --> randomize_stack_top()" and "heap (brk) --> arch_randomize_brk()" in Linux kernel. However, I do not see the code which randomizes the ...
0
votes
0answers
6 views

Thunderbird SMIME certificate not imported automatically

I created own CA to sign SMIME certs for email encoding. Next I generated several certificates for particular users. Below script for generating such certs: openssl genrsa -des3 -out humble_coder.key ...
0
votes
1answer
40 views

Boot error with uvcvideo in Debian 8

When booting I get the error: uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 1: -32 (exp. 1). And it slows the booting for about 1 minute. I have looked for a solution for a while but ...
1
vote
0answers
14 views

Change keyboard layout when using a keyboard or other

Well, i was deep reading into setxkvmap options and changing layouts posts, but i don't find what i need. The problems is the following: I have a laptop running Fedora 23 Cinnamon Spin, the laptop ...
3
votes
0answers
15 views

x2go printer sharing trouble

I have a got x2go server installed on Debian 8 by official manual: On server-side: sudo aptitude install x2goserver x2goserver-printing cups cups-x2go I login on server as user with x2goclient. I ...
3
votes
2answers
197 views

How to write contents of a file to new file removing repeated lines [duplicate]

For example, a file file1.txt contains Hi how are you hello today is monday hello I am fine Hi how are you After the processing of file1.txt it should write to file2.txt and contents ...
0
votes
3answers
37 views

From where the log file updated

How to find, from where/which program using the log file and updating the entries/filling the log file in Linux.
-3
votes
1answer
58 views

Why is linux so popular? [closed]

I am new to Linux and i want to know Why is the GNU/Linux a popular operating system? Why are there so many forks of it? Why is it used by most of the world's pro and some ordinary users? Why is ...
0
votes
1answer
51 views

No input for monitors after GRUB - not solved by conventional methods (e.g. nomodeset, xforcevesa)

This is a problem that has persisted in more or less the same state across two different distributions (Debian and Mint), whether as a live boot or after installed to disk. Essentially, GRUB comes up ...
0
votes
0answers
51 views

No audio on Kali Linux

I know that specifics are what get answers, but unfortunately here's where I'm at. I don't fully understand how the linux system works and operates. I do enjoy it because I feel like there are so many ...
0
votes
1answer
13 views

linefeed in bash script - to email

I am doing printf to a logfile and having that logfile send through mailx, however, it seems that the linefeed "\n" are not recognised or captured in the mail. Snippet of script as below (notice the ...
1
vote
1answer
25 views

Failure to connect to hidden SSID with WPA Supplicant on Debian?

I asked a similar question the first time I did this. It can be found here. I tried to streamline the process this time. I got the hardware ID of my WiFi-Dongle on my windows machine, and searched ...
1
vote
0answers
31 views

Battery never stops charging!

I have a Manjaro Xfce latest version. My laptop is a Lenovo Z500. I've recently noticed that my batter is always at %99 and keeps on charging. Is there a way to make it stop charging at 99%, or ...
0
votes
1answer
26 views

problem in login with default /bin/fish shell in gdm

I set my user default shell to fish. /etc/passwd file: mlibre:x:1000:1000::/home/mlibre:/bin/fish and then, in GDM I can't login with my user (mlibre). GDM prints some error. Then, I changed back ...
0
votes
0answers
23 views

Attempted to dual boot linux with windows, not letting me boot into either

I was installing KALI on my computer alongside windows. My computer has 3 hard drives. One of them is a 1 TB hard drive running Windows 7. My two are 250 GBs and were both empty. I tried to install ...
1
vote
0answers
20 views

Back up script causing issues

I've got this backup script I'm trying to use and I'm having issues with it. #Setup Variables DOMAIN=domainexample.com FILENAME=${DOMAIN}.$(date +%Y%m%d) DBSERVER=localhost DATABASE=databasename ...
1
vote
1answer
30 views

How do I include the device tree with my kernel?

The purpose of the device tree is to "explain" the hardware to the kernel. But if the kernel is "customized" for certain hardware, how do I "insert" the device tree into the kernel at build time(so ...
1
vote
1answer
26 views

finding the load? [closed]

I am currently using a linux system (linaro) which has a 2.4ghz and 5ghz msata cards plugged into the 1.2ghz 1gb ram board. this board also has a web application on it (so people can connect to it ...
0
votes
2answers
40 views

Booting stops at Loading initial ramdisk

I have installed Arch Linux on 40GB HDD on ga-g4mt-s2p1 Motherboard ( Intel Core 2 multi-core,2Gb of Ram) I have made 4 Partitions: /boot 100Mib Swap 4Gib / 20Gib /home The rest of the disk It ...
1
vote
0answers
20 views

Add a module to linux kernel source code statically [closed]

I am new to linux kernel programming. I have explored that there are two ways of adding modules to linux. One way is by dynamically linking the modules with the running kernel using insmod and another ...
1
vote
2answers
33 views

HDD with windows OS not connecting to linux via usb to sata adapter

I have an internal hdd from a windows computer. The computer suddenly started giving the message "No bootable device" during startup. So I would like to recover some of the data from the drive. To do ...
0
votes
0answers
64 views

can't get bluetooth to work from a Ubuntu 14.04 LTS derivative running Linux Mint 17.3 “Rosa” MATE Desktop

dmesg | grep -i blue resulting output from code above is the following [ 31.686537] Bluetooth: Core ver 2.20 [ 31.686599] Bluetooth: HCI device and connection manager initialized [ ...
0
votes
1answer
41 views

Gnome doesn't work in tty7

I am new to linux, and I am using Debian. Everything were fine, but after I have my first reboot, I got a black screen after boot in tty7. I switched to tty1 and did startx and it worked(I have ...
1
vote
0answers
28 views

CentOS 6 - Order of network interfaces when running “ip address show” command

I have installed CentOS 6.7 on new HP Gen9 server and decided to rename interfaces using udev so they are in order eth0-7 from left to right when looking at servers back (originally interfaces were in ...
0
votes
0answers
35 views

Linux cpu-to-cpu inter-process communications [migrated]

I have written a Linux C program, which runs on an embedded processor, and which behaves like a shell -- either interactively, giving a prompt, parsing user commands, and executing them, in an ...
-1
votes
0answers
18 views

Is netstat a good tool to check for viruses connection?

My big questions is: How can we detect a virus both in Windows and Linux besides laying all our cards in Antivirus?! I know a rootkit can alter some commands like ls netstat and so on. My sister had ...
1
vote
1answer
28 views

Rollback all apt-get packages to the maximum available under the actual sources.list

Given that APT has the power of the super COW and this should be amazing. There's a simple, elegant and working way (because I tried with pin solutions proposed as well as the preferences file, and ...
1
vote
0answers
35 views

Using More/Less over NFS share to view large files

I have a Scientific Linux box that has an NFS share mounted where I have system logs being written. When I try to run the more command on any log file that is over around 1GB on the share, it ...
1
vote
0answers
19 views

Script to duplicate Debian setup?

I know I have a bash history of commands run on a server setup which I can use for a sort-of setup guide on cloning the same type of cloud server elsewhere, but settings done in nano would obviously ...
0
votes
4answers
44 views

Transferring executable files from Windows to Linux via WinSCP

Why file lose execute permission on Windows when it is transferred from Linux to Windows and vice versa?
0
votes
0answers
14 views

ARM inforce IFC6540 not booting?

I created an image of the OS on the 64GB SD card by using dd. I did something like sudo dd if=./iforgot of=/media/usb/os/os.image I can't remember the exact stuff I wrote, but I do have the os.image ...
1
vote
1answer
15 views

rpm build based on os

I am new in building rpms where I need to build a rpm which will install 2 separate set of files based on OS version such as rhel5 and rhel6. Is it possible? If yes, how? If not, I assume I need to ...
4
votes
2answers
116 views

What happends when sending SIGKILL to a Zombie Process in Linux?

In Linux, when a child process terminates and it's parent has not yet waited on it, it becomes a zombie process. The child's exit code is stored in the pid descriptor. If a SIGKILL is sent to the ...
2
votes
0answers
42 views

`stat -f` show a ext4 file system type as ext2/ext3

On Ubuntu 14.04, I am checking the ext4 filesystem for my home based on a file new in it: $ stat -f new File: "new" ID: 38d4cd29e44142c6 Namelen: 255 Type: ext2/ext3 Block size: 4096 ...
0
votes
1answer
37 views

grep for numbers over 10

I'm looking through a file for specific kernels. I want everything from 3.8. to 3.17. egrep 3.[8-17] is kind of the thing I want but that obviously doesn't work. How do I grep using the example ...
1
vote
0answers
38 views

Ubuntu Server: How to make bootable bios_grub RAID device?

I have a stable Ubuntu (14.04.3) Server-powered file server that I have set up, and want to set up a RAID10 array for it. For reference, I have been following this guide so far, but using RAID10 ...
1
vote
2answers
28 views

Squashfs minimal compression?

I'd like to create a squashfs image of a directory, but it's a huge one and even minimal compression would be a big win. Is there a way to do something like mksquashfs -1?
0
votes
1answer
30 views

How to setup playing system audio into teamspeak

I have Fedora distro (21) running in a VirtualBox VM I want to be able to take the system's output audio and feed it into the teamspeak input (capture) The reason for this is for a game I play I ...
1
vote
1answer
8 views

Installing without booting

The usual Linux install process is as follows: put install iso onto DVD or USB stick boot machine using DVD or USB boot machine using DVD or USB install What I am wondering about is, given a working ...
1
vote
0answers
25 views

Relationship between ldconfig and ld.so.cache

After I restart my computer, ld.so.cache still has the information in it, so my questions are as follows: Is the information always kept there? Isn't it being removed after restart or something like ...
1
vote
1answer
23 views

uuid, device number, and device file for a device

In Linux, I would like to know about the differences in purposes and usages of uuid, device (major and minor) number, and device file for a device. They all seem to me to identify a device (and may ...
2
votes
1answer
38 views

cannot connect with ssh to linux after shutdown command

i've used command shutdown -h 12:55 (for example), and linux server shutdowned at this time, but when I'm trying to connect with ssh I receive the message: "The system is going down on Thu Dec 31 ...
1
vote
1answer
32 views

openSUSE Leap installation fails

So I am trying to install a Linux distro without any success. The hard drive's current OS is Linux Mint although I usually boot into Windows 10. I have also tried installing ubuntu and arch linux with ...
1
vote
0answers
39 views

Debian Jessie machines hangs at “Loading, Please wait.”

I recently migrated to a larger hard drive (1TB WD Black WD 1003 FZEX, SATA/64 MB Cache). Cloning and growing the primary partition worked okay, but I have the issue of the machine intermittently ...
3
votes
1answer
84 views

Linux exit function

I am trying to understand linux syscalls mechanism. I am reading a book and it in the book it says that exit function look like that(with gdb): mov $0x0,%ebx mov $0x1,%eax 80 int $0x80 I understand ...
2
votes
1answer
15 views

Debian Livestick with additional software

I've got a bunch of USB-Sticks with Debian for teaching young students HTML, PHP and MySQL alongside Linux. Because it has been decided (not by me) that I'm not allowed to install Linux on our school ...