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
1answer
48 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
48 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
11 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
23 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
30 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
24 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
21 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 ...
0
votes
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
36 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
19 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
32 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
47 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
39 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
25 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
27 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
41 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
13 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
112 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
41 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
36 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
29 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
22 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
35 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
31 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
34 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
82 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 ...
0
votes
1answer
23 views

mount dvd without eject after burn

I have a scripts that write some backups on DVD on a Gentoo system. Initially I gathered the files, create a ISO image, and the burn that image on disk using cdrecord. After the burn process is ...
0
votes
0answers
12 views

Set firewalld on CentOS 7 for Cloudstack service and unistall iptables

I was following Cloudstack installation instructions, when I realized that iptables is not included in the OS, it was replaced by firewalld. So first of all I've shut down firewalld: systemctl stop ...
1
vote
1answer
41 views

Do both “stat -f” and “cat /etc/fstab” show file system ids?

On Ubuntu 14.04, I am checking the 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
33 views

Why isn't ext listed for file system types supported by my kernel?

I follow the reply here to list the types of file systems that my kernel can support. Why doesn't ls /lib/modules/$(uname -r)/kernel/fs list ext? My Ubuntu uses ext4 file systems.
2
votes
4answers
81 views

Can a Linux user have multiple primary user groups?

How many primary groups can an individual Linux user have? If they can have more than one, how does one go about assigning multiple primary groups to a user?
1
vote
1answer
24 views

grep restart script if not running

Hi guys i'm running into an issue here that I need to have a nohup php script run in the background and make sure it's always running and restarted if it crashes. I run the following bash script using ...
-1
votes
2answers
34 views

ssh linux to mac inside and outside lan

Hi this is my first post and I was wondering if anyone can help me? I have ubuntu on my home pc and I want to be able to ssh to a macbook. When they are both on the same wifi network it's no problem, ...
0
votes
0answers
10 views

multithread access to platform device driver [migrated]

I am currently writing a platform device driver for embedded linux on ARM. What I've noticed is that a multithreaded application from user space can only access the driver one thread at a time, and ...
0
votes
1answer
26 views

Auto mounting external hard drive not working

so I'm trying to mount my external hard drive automatically on my server running Ubuntu 14.04. I've tried editing fstab directly, I've tried gnome disks and I've tried Usbmount. None of them work ...
0
votes
0answers
12 views

Reset RSA login on Linux Server [duplicate]

What are the steps to reset RSA login? Looking for step wise procedure to reset the RSA login on LINUX servers.
1
vote
0answers
50 views

File exists but errors with “mv: cannot stat: No such file or directory”

For some reason my script cannot copy or move files that exist. It comes up with the errors below. Can someone tell me why? cp: cannot stat '/mnt/sd/bbu/install/scratch/bin/.': No such file or ...
0
votes
0answers
11 views

Add CLI based Startup Application

I would like to start the cmus in terminal as a startup Application. I tried: --> cmus command as startup application. But it didnot open in the terminal.