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
1answer
21 views

Is it possible that the kernel doesn't let a already ready thread run even when there is a idle processor?

Suppose each thread's affinity is all the processors. Whenever a thread becomes ready, will the kernel attempt to find an idle processor to run it?
0
votes
1answer
26 views

Can't login after editing /etc/security/limits.conf

After edited the /etc/security/limits.conf file to set the nofile parameter to unlimited, server got hanged . Can't login in via ssh. Tried to take console, issue with console. Will reboot of the VM ...
0
votes
1answer
21 views

parsing oswiostat

I am looking for a way to parse an iostat file and grab the time and iowait. My files look like this: Linux OSWbb v7.3.3 zzz ***Wed Jul 20 19:00:08 EDT 2016 avg-cpu: %user %nice %system %iowait %...
1
vote
1answer
20 views

How can I mount /usr on another partition but use a folder called /usr on that partition instead of using / as /usr?

Somewhat along the lines of this question, How to mount multiple directories on the same partition? but my situation is different. I have a 2 small partitions that I'm using for two variants of ...
-1
votes
2answers
42 views

Accessing a Linux box for forget username and password [duplicate]

I have a physical linux box running some services. I have no any login information for that linux box. How do I get access to the box and check all the services running on that box? It is not just ...
-1
votes
1answer
26 views

Share WIFI creating hotspot on Linux Mint

I'm not able to create a hotspot in order to share my wifi connection. I use Linux Mint and I want connect my phone to WIFI through my laptop hotspot.
1
vote
1answer
33 views

How to set a path variable without root acess? [duplicate]

My college currently uses a very old (like 3 years old) openJDK 1.7 distribution. And being a student, obviously I don't have root privileges. I wanted to use a much later version downloaded a much ...
0
votes
1answer
44 views

How do I grant read access to all home directories of members in a group?

So I have 4 users on my redhat system. *P- primary group S- supplementary/secondary group* UserA - P: Teacher S: USA UserB - P: Teacher S: School UserX - P: Student S: School UserY - p: ...
-1
votes
2answers
29 views

what is the function of “ip link” command?

I've installed putty, and I'm trying to write ip link For what is it used??
0
votes
0answers
14 views

How to make a USB visible in LXD Container

I am fairly new to LXD Conatiners. I have a Host ubuntu 16.04 machine running which has a single container : root@ubuntu-blade1:/etc/udev/rules.d# lxc list +-------------+---------+-------------------...
-3
votes
1answer
15 views

how to configure kickstart server in RHEL7? [on hold]

please let me know the full configuration of kickstart server in RHEL7 server.
3
votes
1answer
34 views

Bitlocker like capability for Linux?

As you know large company IT departments generally enable Bitlocker on any Windows laptop. Generally, one does not notice an issue with this and it is relatively effective in protecting the raw disk ...
0
votes
2answers
32 views

When is the page table of a process loaded in memory?

I'd like to know when is the page table of a particular process loaded in main memory by the OS? Is it when the process gets scheduled? Is the OS capable of directly loading the process page table ...
0
votes
1answer
29 views

Check if it's an external flash drive or usb flash stick?

When a usb flash stick or usb external drive get connected, is there any way to check whether it's a usb stick or external flash drive by means of Linux? Is there any utility or something like that?
0
votes
0answers
18 views

cURL hanging on connection

I am using cURL from bash script. I have this code in a loop to download multiple files from remote server curl --fail --silent ${url} -o ${local_filename} Most of the time, this works as supposed. ...
0
votes
0answers
64 views

Still able to do connections despite settings [on hold]

Can you explain me why I can still make connections for example on port 3333 by nc -l 3333 and connect to the listening process while I have set in firewall blocking incoming and outgoing connections ...
0
votes
1answer
26 views

how to make my dns server public?

i'm trying to make a public DNS server , my DNS server works only on my internal network but when i try to 'nslookup example.com myDNSserverIP(public ip)' it fails i'm running it on ubuntu 15.10-...
0
votes
0answers
36 views

Impossible to send mail with Oracle Linux

I just installed sendmail on Oracle Linux and with mutt I would like to send an e-mail. In the local system I have the username user1; in the ISP mail account I have the address mailaddress@domain.com....
0
votes
0answers
47 views

How to permanently close port from terminal? [duplicate]

I tried to close my printer port 631 using command fuser -kn tcp 631. It works but only about half an hour. After this time port 631 is again busy by my printer. How can I close it permanentnly?
0
votes
1answer
16 views

Manual emerge package zlib

How can I install/emerge a package manual in gentoo? I cannot download this package (ZLIB), because it gets blocked by our IT-Firewall (invalid decompression table). They scan each http/ftp request ...
1
vote
1answer
40 views

LOCALHOST Display

I need to export my display on two oracle database RAC nodes as this DISPLAY=localhost:10.0 However for me localhost:10.0 works on node 1 but on node 2 i have to export display as DISPLAY=localhost:11....
1
vote
0answers
11 views

After restart ibus, can't use it in wine application

When working on linux (mint mate 17.2), need kill ibus daemon and restart it for some reason. After that one of the editor which is a wine application can't use the ibus input anymore, while other ...
1
vote
1answer
40 views

How to explain this? Superblock corrupt in SSD

I got a file system corruption from a sudden power loss. During boot, it reported following error. error: unknown filesystem. Entering rescue mode... grub rescue> _" The board is an Intel ...
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 ...
0
votes
0answers
42 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
0answers
66 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 ...
3
votes
0answers
27 views

Why does the OOM-killer not log details to be visible through dmesg?

I want to make kernel oom_killer run and provide the related log entries in dmesg. I set the following settings echo 1 > /proc/sys/vm/overcommit_memory and tried to fill up the RAM to it's max, ...
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 ...
1
vote
1answer
39 views

List *all* IP routes to a destination in the Linux routing table

ip route get 2607:f8b0:4005:804::200e will show me the best (longest prefix) route to google.com, but it does not show all routes that can take me there. Right now I am using ip -6 route show | grep ...
0
votes
0answers
23 views

checking inline argument [closed]

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 ...
2
votes
1answer
28 views

Can I tell whether a block device is in use?

Let's assume this is based on device-mapper. How can I tell if a given block device is already in use? (For example, a PV of a currently in use VG, or a encrypted LUKS device that is currently ...
0
votes
3answers
30 views

how can I supply negative value to nice() and run without error even if I am not the superuser

how can I supply negative value to nice() and run without error even if I am not the superuser can I do system("su"); nice(-1); it is asking for password which I do not want?
0
votes
1answer
27 views

Processor affinity not respected by iperf threads

I'm running iperf in server mode on a Ubuntu box (14.04 LTS). The hardware is quad core with hyper-threading, so I have cores 0-7 available (0 is paired with 4, 1 with 5 and so on). I've set the ...
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
33 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 ...
0
votes
0answers
31 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 ...
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 ...
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
1answer
31 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 ...
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... ...
-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
53 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!!! ...
3
votes
0answers
59 views

Performance Optimization

I have one script which roughly has to read 1.5 million lines and process the lines and print out output in cvs file. This script is current taking more than 8-9 hours to process 250 thousands lines. ...
0
votes
1answer
39 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
31 views

Delete Photos from My Pics Directory

I have photos uploaded that need to be deleted. These photos all have names. I have entered the following language to begin the process of removing the photos. vs2:/u/p/jjones % cd www.thetether.com/...
1
vote
1answer
27 views

Cannot save changes made in gnome-settings

I have a fresh install of fedora 24. I have some issues with not being able to change anything in Gnome. Ex: I go to All Settings -> Power and want to set the time to go to blank screen to: Never. ...
4
votes
1answer
21 views

Get block device parent

Given a block device, how can I get its "parent"? A example would be a LUKS virtual decrypted device (/dev/mapper/decrypted), whose parent would be the encrypted block device (/dev/sdb)
0
votes
2answers
26 views

Is there a way to split a usb thumb drive into 3 partition with different live distros

I've a small laptop with eMMc 32gb, and I want to keep it w/ windows installed. I've also 64gb USB 3.0 thumb drive, and is it possible to, split that into 3 partition with different Linux distros ...
1
vote
1answer
42 views

SCP through multiple hosts

The question describes how to SSH into a machine that can only be accessed through one or more hosts (that can also be SSH'd into). Is there an equivalent way of using scp? That is, copy a file to my ...
0
votes
0answers
33 views

unable to login into Windows 10 and also my Linux

i tried to login into one of the OS but failed.it stays at the login screen and doesn't notify any error(its like continuous loop...enter the password but comes back to login prompt).this is happening ...