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
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 ...
0
votes
0answers
94 views

Linux Mint Rosa 17.3 Sound Effects Not Working

I'm running on Linux Mint 17.3 and I can't seem to get the sound effects to work. I have the drivers and everything installed, I'm able to play music and watch videos with sound but as far as system ...
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/...
-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 ...
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 ...
3
votes
1answer
26 views

WiFi card disappears after reboot, but not after cold boot

I have an Arch-based server (Zotac Nano, AMD Kabini-based) which doubles as WiFi access point using a miniPCI Atheros WiFi card. If I start it form cold boot (as in “it was off”), then everything ...
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 ...
3
votes
1answer
71 views

Is posix_fadvice / POSIX_FADV_DONTNEED functional in Linux?

If I am doing once only scanning across big files then do I need to worry about impact on the page cache or does the OS take care to avoid my scan causing pointless churn in the page cache. I want to ...
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
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 ...
-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 ...
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 ...
3
votes
1answer
2k views

How to access u boot environment from linux?

How can I access and change the u-Boot env variables in linux. Using the u-boot/tools/env directory in u boot directory: u-boot$ make env Which created the executable file fw_printenv. I copied ...
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
vote
1answer
951 views

Do I have to compile the kernel every time, even for a small change?

In my project I configure the kernel (2.6.32) in block/ioctl.c. We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
-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 ...
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 ...
6
votes
1answer
342 views

Due to a broken monitor, I need to setup only the right half of my screen

The left side of my full hd monitor is broken, in order to use only the good part the resolution needs to be 1274x1080, aligned to the right. A simple xrandr -s 1274x1080 will get the right ...
0
votes
3answers
2k views

mailx: nss-config-dir=/etc/pki/nssdb/: No such file or directory

I am trying to send email using mailx using remote SMTP server (in my case it is office365 SMTP Server). Here is the command: # echo "THis is the Body of the email" | mailx -v -s "This is email ...
2
votes
1answer
25 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,...
34
votes
2answers
30k views

What is difference between User space and Kernel space?

Is Kernel space used when Kernel is executing on the behalf of the user program i.e. System Call? Or is it the address space for all the Kernel threads (for example scheduler)? If it is the first one,...
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 (...
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
2answers
839 views

User needs dedicated external hard drive mounted to their home folder

One of the users on our Ubuntu server has given us an external hard drive as a means of increasing the amount of storage space for their account. They'd like us to auto-mount this external hard drive ...
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
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 ...
0
votes
2answers
370 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.
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
0answers
904 views

“Unable to initialize SDL” error when trying to play games

When I run one of my games I get: Unable to initialize SDL: No available video device I think that this is due my built-in SIS graphics card, which doesn't have a driver. However, flash games ...
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?
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 ...
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
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 ...
-2
votes
0answers
13 views

is it possible to use multiple input box in whiptail ? [closed]

Linux version that I use, does not support dialog or zenity. It is not possible to install those. In this case, is there any other way to create GUI in Linux? I need to create a GUI to enter 2 data by ...
12
votes
1answer
27k views

What does the eth0 interface name mean in Linux?

What do the Linux interface names mean? eth0 eth1 wlan0 My current assumption is that when we are connected to the Internet via LAN cable it's eth0 or eth1 and when we are connected with internet ...
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 ...
14
votes
4answers
12k views

what do I need to do with “man: can't set the locale; make sure $LC_* and $LANG are correct”

I typed man sudoers but got man: can't set the locale; make sure $LC_* and $LANG are correct No manual entry for sudoers What does this mean?
-3
votes
0answers
40 views

Can't sftp to raspberry pi using public IP address, can SSH without problem [closed]

I am trying to sftp to a raspberry pi using my public IP address (IPv6) but get a message saying ssh: connect to host 2602 port 22: No route to host Connection closed I have set up port ...
1
vote
1answer
2k views

openSuse /etc/profile.local file does not exist

I am referring to the following URL Setting the JAVA_HOME I am interested in the last solution given by Nils, that edit the /etc/profile.local file, this will set it for all the users. The question ...
47
votes
5answers
72k views

Manually generate password for /etc/shadow

I need to manually edit /etc/shadow to change the root password inside of a virtual machine image. Is there a command-line tool that takes a password and generates an /etc/shadow compatible password ...
5
votes
1answer
3k views

Optimised ZFS in low RAM environment feasibility?

I am currently setting up a file server and have come to the point of actually setting up the data drives. The system has 4 drives (one OS disk, 3 data disks). The OS disk is formatted as ext4 and ...
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
0answers
32 views

Develop Linux Distro by Integrating Components [closed]

My Background and Expectations I am newbie to linux world and i have used ubuntu as my first linux. it has improved my concepts about linux based OSes. I am Computer Science student and i have ...
11
votes
8answers
72k views

Finding all storage devices attached to a Linux machine

I have a need to find all of the writable storage devices attached to a given machine, whether or not they are mounted. The dopey way to do this would be to try every entry in /dev that corresponds ...
0
votes
1answer
3k views

Change screen resolution into Kali on Mac BookPro

I installed Kali in dual boot on my Mac Book Retina, all work, but I have a screen resolution too high. So I need to change the screen resolution, but if I change it, the screen become black, and ...
1
vote
0answers
299 views

libpcap missing

I’m trying to run a C program, but every time I try to run it I get this message: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory I'...
11
votes
4answers
10k views

realpath command not found

I have debian squeeze amd64. My current shell is bash. If I write the following in my terminal, it works: $ uname -a Linux core 2.6.32-5-amd64 #1 SMP Fri May 10 08:43:19 UTC 2013 x86_64 GNU/Linux $ ...
4
votes
2answers
488 views

How do I screencap another Xorg display?

I started another X session from my current one like so: xinit xterm -- :128 An X session starts in display :128, xterm gets run in it and everything is fine. I switched back to screen :0 (the ...
0
votes
0answers
12 views

unable to install boto on Red Hat

This is my Linux version: cat /etc/*-release Red Hat Enterprise Linux Client release 5.4 (Tikanga) I've tried all posts online available, still no vain, here's my attempts and console output: ...