These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please 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
30 views

Is there a more efficient way of defragmenting Linux memory other than rebooting?

I am running Gentoo Linux with kernel 4.4.8-hardened-r1, QEMU-KVM version 2.5.1 and 3227 MB of system-visible RAM (without considering RAM taken by BIOS and my AMD APU's graphics). I have a VM that ...
6
votes
2answers
3k views

How can I tell what memory RAM address range is being used by uboot?

I am in uboot and was wondering, how could I tell what RAM address range is being used by uboot. uboot needs memory to run so it might be using some of the RAM. I want to avoid modifying those RAM ...
0
votes
1answer
1k views

Is not a valid path to the kernel headers?

Host - Windows 10 VMware - 11.1.2 Guest - CentOS 7 I installed kernel-headers using yum since during the installation of vmware-tools I get a message "Searching for a valid kernel header path... ...
0
votes
1answer
27 views

Bonding on centos

I have host that running OpenStack. For public access, there bonding (mode active/passive) on nic1 and nic2. Right now both connect at the same switch. Is it possible to connect different switch and ...
0
votes
2answers
1k views

gnome-classic as default session for all users?

How to set gnome-classic as default session for all users in gdm3 (system-wide setting)? I'm using Debian Jessie with GNOME 3.12. I've tried creating fake gnome.session in /etc/xdg/gnome-session/...
1
vote
2answers
17k views

Why is my file system mounted as read-only?

I've put together a small system with busybox, a Linux kernel, and a small file system, putting stuff in as it seemed necessary -- I don't know if I've been learning much from this, but I started out ...
0
votes
0answers
61 views

How good is the support in Intel Skylake Core M processors?

I've been starting to think about upgrading my 2-in-1 tablet/laptop. My eyes caught the new Asus UX360CA which sports a nice Core M 6Y30 processor (it seems that the specification is very close to the ...
0
votes
0answers
22 views

Querying soft links to a file - non-bruteforce method [duplicate]

Is there a way, workaround to find out how many symlinks are pointing to a file? I know the find method, but this will look up all the files. Is there a more lightweight solution? Is it possible to ...
4
votes
3answers
31k views

mount Linux NFS. rpc.statd is not running

I have Ubuntu 12.04 as the NFS server. The clients are Linux. My /etc/exports file has 1 line, /folderToExport *(rw,async,no_subtree_check) /etc/init.d/nfs-kernel-server status shows that the ...
6
votes
5answers
19k views

How do I kill all a user's processes using their UID

I want to kill all running processes of a particular user from either a shell script or native code on a linux system. Do I have to read the /proc directory and look for these? Any ideas? Is there a ...
1
vote
0answers
44 views

Install torrent CLI on montaVista 6

I have been trying to figure this out for a while now but I have never made any progress with it. How can I install a torrent client on my NAS (Seagate Central) box which runs MontaVista 6. I have ...
0
votes
0answers
41 views

TIMEZONE set for specific country but we get UTC Time - how it can be?

I have Linux red-hat 6.6 version This machine was set for Israel time zone as the following # more /etc/sysconfig/clock ZONE="Israel" ls -ltr /etc/localtime lrwxrwxrwx 1 root root 23 Jul ...
0
votes
2answers
529 views

Can Linux Desktop OS's Work on Baytrail Tablet Devices that Ship with Windows

I have seen this question asked on many forums across the internet and have created this question as a place for people to explain their success or failure at creating this set-up.
0
votes
0answers
30 views

Cannot boot; “failure reading sector 0x802 on hd0”

I recently installed Peppermint 7 on my pc. Everything was working as it should. I've been using it now for over a month. I turned it on today to find that it couldn't boot. It says "failure reading ...
1
vote
0answers
29 views

How to test new user login?

I've done some searching on Google and SE and have not found what I need using my search terms. Accessing RHEL 5.10 (Tikanga) from Windows 7. I am making a new user and need to make sure their ...
2
votes
2answers
2k views

`ERROR: Failed to build gem native extension` while trying to install compass

I am using Ubuntu 14.04 I tried this command sudo gem install compass and it gave me this error: Fetching: multi_json-1.11.2.gem (100%) Fetching: compass-core-1.0.3.gem (100%) Fetching: compass-...
0
votes
0answers
23 views

checking inline argument [on hold]

I am passing some parameter as inline argument. on deploying as chunk of code it is working but after inscribing it inside a function and then calling it from main section then it is not taking inline ...
0
votes
1answer
34 views

After installing Manjaro, windows is not showing in boot menu

I was dual booting windows 10 and Linux Mint 17.3 Mate. Everythig was fine, I was able to dual boot. Last night I decided to install Manjaro Linux and I did so. After installing Manjaro, all I get in ...
0
votes
1answer
857 views

Installation of Linux mint from cd makes it stuck on splash screen.

I am installing Linux mint Rebecca cinnamon onto a Windows XP Professional computer. I burned the ISO file using windows burner (Windows XP Professional) The menu loads correctly. Let it boot ...
0
votes
1answer
30 views

How to run a perl script inside another perl script

I have two Perl scripts and want to use one script from another. The scripts are called script1.pl and script2.pl. I want to run the below command inside script1.pl : /home/user/script2.pl /var/log/...
0
votes
0answers
42 views

Program execution in Linux [closed]

I would like to know what sequence of events are followed when a program (Say a C code image) is executed in Linux based OS. The memory map of the executable image of program is made using structure ...
0
votes
0answers
23 views

ssh: permission denied (publickey) after restoring to a backup that was known to work at the time of backup [duplicate]

So I have a few servers set up behind a bastion. I usually hop from bastion -> server A -> server B using agent forwarding. One day I try to log into server B and for no reason apparent to me I gives ...
9
votes
1answer
1k views

Can capabilities be used in scripts without setcap'ing the interpreter binary?

Right now I'm using cap_net_bind_service MY_USERNAME in /etc/security/capability.conf. Now I just need to set cap_net_bind_service+i on the interpreter of my favouite scripting language to be able to ...
24
votes
3answers
38k views

Linux network troubleshooting and debugging

From time to time Linux and Unix users faced with various network problems. Many of these problems are presented here and at some others troubleshooting forums, but the are very concrete and contains ...
30
votes
5answers
1k views

Execution of possibly harmful program on Linux

I'm writing a program that will test programs written by students. I'm afraid that I can't trust them and I need to make sure that it won't end up badly for the computer running it. I was thinking ...
1
vote
1answer
139 views

view history of opened programs Manjaro Linux

Is there a way to view a log, or history of all programs opened in Manjaro Linux?
7
votes
2answers
3k views

Making udev ignore certain devices during boot

I'm trying to make udev stop mounting one of my devices at boot time, and I've created a rule in /etc/udev/rules.d/ called 1-myblacklist.rules. All the rule does is matches the device by kernel ...
9
votes
4answers
9k views

Error compiling drivers for Ralink RT2870

Im trying to install drivers for a rosewill RNX-N600UBE wireless card (Ralink RT2870 chipset) on Kali Linux. I downloaded the drivers form their website and unpacked/unzipped them, but now when i try ...
0
votes
1answer
30 views

Installing custom packages on Linux

I am currently using Kali, sometimes clean Debian, and sometimes I want to install a package, which is not on my sources list. And you can't find those, and add to sources file. I mean f.e I download ...
1
vote
1answer
463 views

HP SmartArray RAID5 recovery on linux

This is a long time in the making, and I've finally got it working so I thought I'd share this with as many people as I can in case they're in a similar situation. Long story short - HP SmartArray ...
4
votes
1answer
1k views

network manager not listing wifi

When I use NetworkManager command tool to scan for wireless networks the output is empty. root@radxa:~# nmcli dev wifi list SSID BSSID MODE FREQ RATE SIGNAL SECURITY ACTIVE root@...
3
votes
6answers
5k views

GNU/Linux: how to detect hard disk mappings?

Let's suppose you have two hard-disks: one internal (boots GNU/Linux (Debian)); one external (USB). fdisk -l detects both, but will not tell you which is /dev/sda and which is /dev/sdb. lsusb will ...
0
votes
1answer
768 views

How to make /dev/sdf?

On a server I have 5 disks (boot-disks + 4 disks in RAID, sda-sde). Now I need to connect a new disk using a PATA/USB-adapter. I do not have a /dev/sdf, so the USB-device is not found at all and ...
2
votes
2answers
215 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 ...
2
votes
2answers
64 views

How to check and run a script if it's not running?

I created a pretty simple script called main_start_script that will run 2 python programs in background, code is: python /opt/cuckoo/cuckoo-2/cuckoo.py 1>cuckoo_script/cuckoo_start.txt 2>&1 ...
3
votes
1answer
58 views

tried creating duplicate root user, can't connect to server anymore

I'm new to Linux so keep that in mind when offering advice. I became over zealous and ran the command here: http://www.shellhacks.com/en/HowTo-Create-USER-with-ROOT-Privileges-in-Linux useradd -ou ...
0
votes
0answers
14 views

device-mapper: table: 253:3: snapshot: Failed to read snapshot metadata

I used Clonezilla to restore a Linux system. After the system restore finished, the system failed to boot, showing the following error message: Reading all physical volumes. This may take a while... ...
0
votes
1answer
29 views

Creating a specific chrome window and use it as drop-down search window

I am using a simple script runs as "toggle.sh process1" which toggles visibility of process1 if it exists and if it doesn't exist then it launches process1. It is really simple but useful. I use it ...
1
vote
1answer
1k views

Linux Mint CPU cores balancing and high temperature

I am using Linux Mint. My laptop has a Core i5 CPU. When I check the system monitor, it shows that the CPU 1 usage is between 90 to 100% and CPU 2,3,4 are less than 5%. Why doesn't it balance ...
0
votes
1answer
1k views

How do I get yum groupinstall to work without a groups install file?

I am using Centos 7.1 The yum groupinstall commands are failing. As root I did a yum group list command. This returned various output with the following: "There is no installed groups file." ...
0
votes
2answers
2k views

Debian - ifconfig not showing wlan0

I have Debian installed on my laptop (T440s). I've installed the iwlwifi drivers but Wifi does not work. ifconfig -a only shows eth0 and lo. What should I do? Also, how do I adjust brightness?
-3
votes
0answers
35 views

Outer loop stops without reading all lines of files when inside loop finishes in a nested while loop [closed]

I'm trying to use the below script to repeat actions to each line of the FILE. Inside the read while loop, I use another while loop to control the SYSTEM_COUNTER not to exceed MAX so that the system ...
-1
votes
2answers
52 views

Running a program after system startup directly from the linux kernel

I am trying to run my application directly from the linux kernel (without using cron or something similar). I've tried using ./init/init.c, but it runs too early: $ dmesg ... [ 0.605657] TEST!!! ...
2
votes
3answers
92 views

Are there any sed scripts built in to mainstream Linux distros?

When I was studying bash, I found it very helpful to go and study the bash scripts already present on a clean install of Linux—/etc/profile, for instance, and anything in /etc/rc.d/init.d/. These are ...
1
vote
0answers
140 views

usb-device number changes over time

I am trying to use on my RP a camre usb device - Logitech, Inc. Webcam C270. When I connect it directly to the USB port of the RP, other USB devices stop working (such as WIFI device) I guess this is ...
1
vote
0answers
261 views

lsusb doesn't list device names

This is what I get from lsusb: $ lsusb Bus 002 Device 002: ID 8087:0024 Bus 002 Device 001: ID 1d6b:0002 Bus 001 Device 004: ID 1bcf:2c18 Bus 001 Device 003: ID 0489:e046 Bus 001 Device 002: ...
10
votes
2answers
5k views

What are the differences between rdesktop and xfreerdp?

rdesktop and xfreerdp are both linux clients for RDP. However from their respective websites it is not clear what advantages/drawbacks of using one over other are there. I found one post, which ...
1
vote
0answers
32 views

Integration of `afuse` with `sshfs` as a (systemd?) user-daemon spawned from login or first shell

To facilitate working with remote files, I setup afuse with sshfs to run from my .bashrc. It works, after bash init all my remote trees from ~/.ssh/config/ are mounted on-demand under ~/scp/, but ...
0
votes
1answer
1k views

Issue with Hugepage reservation in linux

I have reserved hugepages for my process using below commands: #echo 64 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages #mkdir -p /mnt/huge && mount -t hugetlbfs nodev /mnt/huge ....
1
vote
1answer
76 views

No support for locale: en_US.utf8

I am on Linux Mint 17.3. I saw this in the syslog. Processing triggers for initramfs-tools (0.103ubuntu4.3) ... Apr 9 12:01:47 vb-nb-mint updates: update-initramfs: Generating /boot/initrd.img-3.19....