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

2
votes
0answers
35 views

GNU/Linux OOM (out of memory) freezes - solution ideas

Explanation While working with older machine with swap on and 2 GB ram, I frequently encounter behaviour well described as freeze: here, what is the best way to prevent out of memory oom freezes on ...
0
votes
1answer
29 views

How to setup DHCP Relay in Debian 8?

have three VMs. One VM is a DNS and DHCP server, one is a Linux router running Debian 8 and the last VM is a test machine. I am trying to configure the Debian 8 machine as a DHCP relay. I have ...
-3
votes
0answers
40 views

How to run asterisk commands in linux debian terminal? [closed]

I need to run an asterisk command in my linux terminal, but whenever I try to execute my command, it says: -bash: asterisk: command not found How do I configure my linux server to be able to run ...
-1
votes
0answers
28 views

Book on unix for beginners [closed]

The book on UNIX written by Richard Stevens is good but i do face dificulty in understanding the stuff. He has written for an intermediate learner. I am new to unix and wish to learn from a book ...
2
votes
1answer
41 views

How can i replace multi line string using sed? [closed]

I have tried the following command:- [root@10 bin]# cat temp asdjahskjdhajksdhjkashjahfksjdhfkjsddhflkdsjhfklsdajhfklajshdkjalsdlkjasdhkljas hskdajkdhkjas cast $recv $UE_CAPABILITY_ENQUIRY ...
4
votes
1answer
65 views

Safely remove usb from linux device [duplicate]

I am using a USB with an embedded device running linux. The issue is that in some cases when I unmount the usb by giving the command umount /media/sda1 the unmount is successful but when I proceed to ...
0
votes
0answers
16 views

devmon is not mount USB with vfat and ntfs?

using arch, installed devmon. devmon version 1.1.8 (distributed with udevil) Automounts and unmounts optical and removable drives insert USB, error message devmon: /usr/bin/udevil --mount /dev/...
2
votes
1answer
38 views

New Linux User, Where do I begin and how do I master the OS [closed]

I am fairly new to the Linux OS. I'm being asked to learn the OS (Ubuntu & Fedora) for computational science purposes. The problem isn't getting involved or into the OS, but I don't exactly know ...
-1
votes
0answers
22 views

Opensuse Leap 42.1: Nvidia Gforce 830M don`t work

I have a Dell Vostro V14T-5480-B50 with a Nvidia Gforce 830M and Intel Graphics Generic. I cant install my dedicated GPU, when i install the driver and use the command $ sudo nvidia-xconfig and ...
2
votes
1answer
26 views

ACL and plain old permissions

I have read a bunch of articles, but still cannot get an idea of ACL, so I have following questions. What are benefits of using ACL over old permissions (0777 for example) and changing file owner,...
1
vote
0answers
19 views

Dual Boot: Deepin Linux, Windows 10, now windows not shutting down [closed]

I have installed Deepin, later I installed Windows 10 Pro, x64 edition. The problem I have now is that my Windows won't shut down, I can restart it, but when I choose to shutdown, the screen goes ...
1
vote
0answers
23 views

I/O Error when tying to format usb pen drive

A friend of mine gave me a USB Pen Drive that did not work. At the momen I was on windows and try to format it. At the middle of the process it gave me a strange error. I thought maybe on linux (...
5
votes
0answers
26 views

How to specify memory region for ramdrive

We are setting up a linux based benchmarking cluster. Each node is going to be a headless, diskless machine, booted via tftp, the OS copied to a local ramdrive, and the same ramdrive is used as local ...
0
votes
1answer
23 views

Ctrl+Alt+F1 not working on vnc

I use a real vnc viewer to connect to my host machine. The host machine has linux in the GUI mode. I would like to switch between the GUI and the console mode, however the key Ctrl+Alt+F1 opens up my ...
3
votes
0answers
15 views

“leaky bucket” style disk io throttling using linux kernel

My goal is to prevent one kvm guest's disk i/o usage from negatively affecting other kvm guests on the same host. The host has one disk array - and separating guests onto different physical disks is ...
3
votes
1answer
26 views

What does mounting a filesystem with user_xattr do?

SELinux documentation for Debian says that user_xattr is not the same as extended attributes. So what is it?
0
votes
0answers
33 views

linux + dose each security kernel rpm will install the relevant initrd and vmlinuz files under /boot

I just print the kernel rpms that need to install on my redhat machine (version 6.5) # yum list-security --security | grep kernel-[0-9] RHSA-2014:1143 security kernel-2.6.18-371.12.1.el5.x86_64 ...
1
vote
0answers
46 views

linux + yum + how to print the yum variables by yum command

I just Wondering if we can print the yum parameters without to view the yum configuration files ( by more or cat or vi ... etc) for example I configured the variable , in /etc/yum.conf ...
1
vote
1answer
25 views

Nginx reverse proxy redirection

I am using nginx as a reverse proxy and when I login in my web interface I am redirected to the proxied URL. I would like to avoid it and always keep the "server_name" as the URL. Is it possible? ...
1
vote
1answer
24 views

Use SWAP as disk cache in Linux

I am using different kind of disks on my server. Is it possible to use faster disk as SWAP and ask Linux to use it as Disk cache As I understand Linux use SWAP only for application data not disk ...
2
votes
0answers
134 views

MIME type changes if file edited in *nix systems

I have an excel file created in Windows machine. If I check MIME type with file -b --mime users.xlsx the result is application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=binary ...
6
votes
1answer
465 views

How do I quickly build and test the kernel if I want to modify a system call

In particular, I'd like to add a fd flag and a branch in a couple of fd-handling syscalls that should be used if the flag is set instead of the current code. I think the only thing that matters here ...
1
vote
1answer
40 views

Shell - PTS/0 Suddenly Changed to PTS/1 Why did it happen and how to change it back?

Whenever I enter the who command in the SSH I see the PTS/1 after my username. Two days ago it was still PTS/0. Is this called the TTY? How do I make it PTS/0 again? Also the path now is /dev/pts/1 ...
0
votes
1answer
35 views

Curl to grab the page after complete load

I have a url which takes some time to load completely. But when I use curl to download the link as html, it download the html at the real time before loading page completely I mean complete execution ...
0
votes
0answers
25 views

“User is authenticated but not connected” in ThunderBird

I am getting “User is authenticated but not connected” error from my Thunderbird when I tried to configure my outlook365 account in it. I am using Thunderbird 38.8 and Ubuntu 14.04 LTS. The current ...
0
votes
2answers
39 views

Execute command when user interaction is detected ( ex: moving mouse, pressing key )

I am trying to make a bash script to turn down the brightness to lowest when idle for a certain amount of time but reverts back to its previous brightness when it detects user interaction whether it ...
1
vote
0answers
30 views

Kernel Oops causing system crash when playing game - nvidia drivers

Hopefully this is the right place for this. I started getting random system crashes requiring while playing dota 2 on linux mint 17.3 running nvidia drivers. It would happen after a few minutes into a ...
1
vote
0answers
30 views

Calculating the total traffic generated by an application in a network

I have network (shown above) with the same application (Appx) running on the nodes (Linux nodes). This Appx has data to send the same copy of the Appx running in each node (i.e. each Appx generates ...
0
votes
1answer
17 views

kpartx or losetup?

If I have an image file or a data storage device that has no partition table but either has partitions or needs to be mapped to device nodes, which tool is better? A use case might be with flash ...
1
vote
3answers
39 views

How to SSH via intermediate server [duplicate]

Three server A,B & C. How to ssh connect from A to C via intermediate server B, if A to B & C to B are password less(key)? I encountered this in an interview. Anyone knows how?
0
votes
1answer
26 views

Mac Cannot Boot From External Hard Drive

So I recently purchased a Seagate 4TB External Hard Drive (https://www.amazon.com/dp/B017KE8OG0/ref=psdc_595048_t1_B00HXAV0X6) and decided to put linux on it. My steps were (on Windows): 1. Converted ...
2
votes
1answer
41 views

How can I differentiate disk I/O occured explicitly by a user and OS prefetching?

I am monitoring disk I/O usages of an application program (running on CentOS 7) It uses lots of sequential disk I/Os where I expect that OS prefetching is something! dstat shows how many disk I/Os ...
0
votes
1answer
22 views

Questions about minor page fault

From Stephen's reply and comment at http://unix.stackexchange.com/a/289446/674 in some cases, data which has been marked for paging out but hasn't yet been paged out. paging out would ...
0
votes
0answers
22 views

Execute custom script when wireless NIC connects to SSID

I have pieced together two scripts that will serve to execute a custom script when my wireless NIC connects to an SSID. Firstly, I will add the following (notice the post-up section): auto eth0 ...
0
votes
0answers
21 views

Problem with wash command

I have my own Tp-link router for attacking purpose. The problem is that when I run the command airodump-ng monitor-mode card it shows me my Tp-link router. But when I run the command wash -i monitor-...
0
votes
2answers
70 views

parsing using loop and assigning row numbers to file

It is a bit complicated. i have a configuration file. it looks something like this. customer="airtel" model_name=fast programmer_typ_of="dev" Now the 1st column contains all the keys and whatever ...
0
votes
0answers
17 views

How to start LXDE on headless system

I have been trying different types of OS installation. I wanted to see how far I can go in a headless system, so I installed Debian with none of software's show in selection menu. Not even the common ...
0
votes
0answers
40 views

Linux + how to shutdown application properly with reboot or init 0 + init.d scripts

I have Linux Redhat (version 6.5) machine that manages some application before each reboot or init 0 I shutdown the application as the follows: /etc/app-LM.bash /etc/app-UPP.pl /bin/DT-apl.c ...
1
vote
2answers
39 views

How ifconfg fetch enabled NICs?

I have searched this for a while, but there was no clear keyword to find same question. Briefly showing my question: ifconfig only shows enable NICs. # ifconfig br0 Link encap:Ethernet ...
0
votes
0answers
30 views

Recover Files in Centos

i am changing all wwwroot folder file ownership root to www and all files automatically deleted or missing from /home/wwwroot folder. so if anyone know how to recover that files and why this happening ...
0
votes
0answers
25 views

Access to disk partitions from QEMU

I have two OSes installed on my hard drive - Windows and Linux. These are setup in a dual-boot configuration. The hard drive uses GPT and UEFI. I'm looking for a way to grant QEMU (in Linux) access ...
-1
votes
1answer
51 views

Crontab not running a shell script but works with command line

My question is about running a simple shell script using crontab. Crontab is successfully running one command like : * * * * * echo "test" >> /home/user/Bureau/testcron But not the other for ...
4
votes
1answer
49 views

Where does a device file come from?

I'm reading through the Linux Kernel Module programming guide and I am a bit onfused about how device drivers work. I tried following along and making a basic device driver, which shows up in /proc/...
1
vote
0answers
19 views

Why did the interface name of my wireless card change when I added a sound card?

Predictable network interface names are not supposed to change when hardware is added or removed. Isn't that the whole point of the naming scheme??? My wireless interface was named wlp3s0. I ...
0
votes
0answers
8 views

Top sliding panel doesn't show when hovered in Qemu while VM is displayed full screen

I'm running libvirt-1.3.5 and qemu-2.6.0 on Manjaro 16.0. Whenever I run a VM full screen, the slider that I once expected to slide down, which would allow me to resume from full screen doesn't show ...
1
vote
1answer
19 views

Add parameters to NFS mount

I try to start Android on device via NFS and TFTP. Everything goes good until Android system starts booting. Something happens with network parameters and connection falls and boot freezes [ 60....
2
votes
4answers
44 views

How to install VirtualBox Extension Pack

Objective: Install VirtualBox Extension Pack to VirtualBox 5.0.2 on Linux, be also able to list installed extension packs and uninstall it.