0
votes
0answers
2 views

How can I get my Optimus-addled NVIDIA card to offer output via xrandr?

I have a laptop that is crippled with NVIDIA Optimus. I'm not greatly interested in saving power so I'd be willing to turn on the NVIDIA chip permanently, but my BIOS does not offer that option. ...
0
votes
0answers
3 views

How to have better transition between Splash Screen and Program in Frame buffer?

I am currently using Yocto Embedded Linux with frame buffer. When the machine is boot up, there is a splash screen. After the the splash screen, I will run rc.local to autostart my program. The ...
2
votes
0answers
8 views

Change volume % that changes every time I decrease it from keyboard

So basically from what I found out from amixer, every time I press fn and the arrows of the keyboard to change the volume, the % of volume changing is 6%. I would like to make that 1%. How can this be ...
1
vote
0answers
4 views

Is there a way to determine compile-time state of a kernel flag from a running system?

I have a running kernel and I'm trying to determine whether it was compiled with support for BTRFS extended attributes. Is there a way to determine a running kernel's compile flags?
-2
votes
2answers
31 views

Sorting not seeming to work

I am currently writing a webcrawl bot. It generates a list of URLs, and I need it to remove duplicates, and sort the lines alphabetically. My code looks like this: #! /bin/bash URL="google.com" while ...
0
votes
0answers
13 views

getting wrong order of files with ImageMagick and *.png

I am using ImageMagick to concatenate files which I have named 1.png to 50.png. However the files are arranged in the wrong order going 1.png, 11.png, 12.png ... instead of 1.png,2.png ... It must ...
1
vote
0answers
4 views

mount: No such file or directory with encrypted recovery

I have destroyed my Mint Linux installation. I just wanted access to my remote storefront. So what happened was I was having trouble with ICEauthority file in my home directory. So following ...
-7
votes
0answers
23 views

why are 99% of questions closed “closed as primarily opinion-based by” [on hold]

ide like to pose that when i do a google search i understand that the wording of my question my lead to lots of opionions and thats exactly what im looking for, i open every page that appears to hold ...
3
votes
2answers
17 views

How can I move files into subdirectories by count?

I have around 100,000 files in a directory. As you can imagine, that's not an ideal situation, and I'd like to split the directory up into subdirectories. But the filenames aren't such where I can put ...
0
votes
0answers
3 views

trying to tether android lollipop to linux mint 17.1 cinnamon using usb

i keep getting this error after installing "mtp-tools": No such interface 'org.gtk.vfs.Mount' on object at path /org/gtk/vfs/mount/1 already checked for extra mtp programs, semi new to linux. ...
1
vote
1answer
7 views

3G Modem connection only works after windows

3G modem works only after Windows first successful negotiation, after if I unplug device and plug it again to Linux it works fine, even after reboots and poweroffs. But, if I change SIM card and try ...
0
votes
1answer
4 views

Internet stops working, “Failed to add /run/systemd/ask-password to directory watch: No space left on device”

I'm running Lubuntu 16.04. After running the system for a while the wireless internet will stop working. Dutifully, I run: sudo service network-manager restart But this returns the message: ...
0
votes
0answers
2 views

How to convert .bin/.cue files into DVD-ROM UDF-ISO file?

How to convert .bin/.cue files into DVD-ROM UDF-ISO file ? I found that genisoimage can make CD-ROM UDF with that command: genisoimage -udf -o MY_FILE.iso ~/MY_DIR/ but I didn't find for DVD-ROM. ...
0
votes
1answer
4 views

How to disable interface just for NetworkManager in Kali Linux?

I have two WLAN interfaces, and I want to disable one of them for NetworkManager, so that if I run something like service network-manager stop, all the interfaces should stop except on of the WLAN ...
1
vote
2answers
23 views

How do you remove dot character from string without calling sed or awk again?

I have a file called hostlist.txt that contains text like this: host1.mydomain.com host2.mydomain.com anotherhost www.mydomain.com login.mydomain.com somehost host3.mydomain.com I have the ...
1
vote
1answer
12 views

Get a string and place it at the start of a line until the next string is found

I have a big non-standard xhtml file that i'm using sed (about 4 times) to iterate down to just the basics I need to throw the data into a MySQL database. My last bit i'm struggling with. The file is ...
2
votes
1answer
13 views

Why does SSH add a known_host entry for an IP address?

I have a host named nms.example.org. In my /etc/ssh/ssh_known_hosts I have an entry for the host with the RSA key. This entry, and all the other entries are managed by my configuration management ...
0
votes
0answers
3 views

SAMBA fails to restart >> nmbd.serviceJob for nmbd.service failed

Trying to set up samba on a new machine, but having problems. First I couldn't get the [homes] section to work (couldn't access from other machine). Now SAMBA won't restart: sudo /etc/init.d/samba ...
0
votes
2answers
15 views

How to tell if tabs or spaces are being used in vim [duplicate]

I have a file that has data such as: 1 Foo 2 Bar 3 Kazam Is it possible using vim to know if a space is being used a delimited vs a tab?
1
vote
1answer
9 views

Bash completion extra words Fedora 23

I am new to using Linux. :) Today I noticed some extra words when TAB completing dnf search. I am not sure how to google this (I tried, but with no success), so please help. :D Anyone has any idea ...
0
votes
0answers
1 view

How to install CUDA on Linux Mint with Xen already installed?

Xen is installed on Linux mint. How to install CUDA without getting a black screen or command line on restart? In other words, how to get Xen's Dom0 Mint Desktop with CUDA installed?
0
votes
1answer
18 views

'yum' is not recognized as an internal or external command, operable program or batch file

I installed CentOS 7 minimal on VirtualBox; when I type: yum install net-tools I get this error: 'yum' is not recognized as an internal or external command, operable program or batch file.
0
votes
1answer
19 views

ssh with password get “access denied” error after assign the user to a different group

I ran into some problems with ssh. After assigning a user to a different group (User leon, Group developer), I got "access denied" error. And I tried to add "AllowUsers" and "AllowGroups" into ...
0
votes
1answer
13 views

Add a second authentication to user log in

trap '' 2 code=`oathtool --base32 --totp "xxxxxxxxxxxx"` echo -n Enter Code: read -s password echo "" if [ "$password" == "$code" ]; then echo "You are allowed in" else exit fi trap ...
-2
votes
3answers
47 views

I know echo is a built-in bash command, but have some binaries in the /bin/ folder why? [duplicate]

In all my life i think the "echo" is a built-in bash command, if you look at man bash, you will think that too. But looking at my computer which echo /bin/echo I discovered echo have a binary. ...
2
votes
0answers
41 views

Organizing three dimensional data with awk/sed/perl

I have this file (a sparse matrix): PC.354 OTU1 6 PC.354 OTU2 1 PC.356 OTU0 4 PC.356 OTU2 7 PC.356 OTU3 3 I want an output like this (dense matrix -classic .biom table): OTU_ID PC.354 PC.355 ...
1
vote
3answers
39 views

Awk/sed: add line numbers to text from within a range

So I have a range, say 2-4. And I have three lines: first second third I need my output to be: 2 first 3 second 4 third I'm trying this on BSD (Mac) awk/sed, which seems to be making it harder.
1
vote
2answers
35 views

How to determine which files are necessary in /bin, /lib, /var, etc.?

I'm currently trying to get an image working for a network boot using somebody else's file contents. The previous images I made keeping all original files present were way too big, so I need to shrink ...
0
votes
1answer
23 views

Adding/removing some tabs and line breaks in an HTML code using sed

I want to refine an HTML code using sed, as an extra refinement procedure after refining it using HTML Tidy, as HTML Tidy doesn’t look flexible enough for some requirements. I used this command to ...
0
votes
0answers
12 views

[ error writing /usr/share/nginx/www/php-info.php

I am trying to write a file with nano sudo nano /usr/share/nginx/www/php-info.php I put: <?php echo phpinfo(); ?> and getting "[ error writing /usr/share/nginx/www/php-info.php ]" when ...
1
vote
3answers
46 views

Is it possible to make the device filesystem name , /dev/sd?1 , stay constant everytime we reconnect the SanDisk USB Cruzer drive?

Is it possible to make the device filesystem name , /dev/sdi1 , shown by lsblk -f stay constant everytime we disconnect and reconnect the SanDisk USB Cruzer drive? I am running Ubuntu Linux 16.04 on ...
0
votes
0answers
7 views

Virtualbox connectity from vboxnet0 to internal network

I am trying to create a setup with gateway(Guest OS Ubuntu) in middle and an webserver(Guest OS - Debian) - must be connected to VM-2 only via VM-1 from host pc. My aim is to ping 10.1.1.2 from Host ...
1
vote
3answers
24 views

How to list files and only files via SFTP?

I can list file names actually but a lot of unwanted stuff comes from there also. Is there a good way to list files and only files? I'd like to avoid using head-like filters if possible. > echo ...
-1
votes
0answers
17 views

I've installed and enabled ufw firewall, and I cannot connect to my vps server

I've installed ufw firewall on my vps server, with ssh and web services. But, when enabled, the ssh connection lost, and I could neither connect to the hosted web via web browser. I have no access ...
-1
votes
1answer
10 views

grub error: attempt to read or write outside of disk 'hd0'

grub error: attempt to read or write outside of disk 'hd0'. any way to fix this error? I'm new to Linux in general and I can't seem to find a working sollution. I can't boot into Debian because of ...
1
vote
1answer
19 views

User Permissions problem in CentOS 7: “Permission denied”

I thought that I knew how to set up permissions in Linux. I apparently don't. I have a user called "web3". This user was automatically created by ISPConfig (A server management application like ...
0
votes
1answer
25 views

Send array to subshell function with pipe?

I really need to get an array to a subshell so the processes can run together in one script. I know I cannot export an array but is it possible to send it through a pipe to a subshell, and how would I ...
2
votes
3answers
48 views

How to count the number of instances of a certain process by canonical path (with arguments)?

Title might be a bit confusing, let me clarify.. Let's say I run the following commands: sleep 500 /bin/sleep 500 sleep 30 What I'm interested is, how to count the number of instances of the sleep ...
1
vote
0answers
13 views

rpcbind/nfs fails, failed to create RPC listeners, exiting

My system crashed while a script was running that deploys a pxe boot system (software is called DRBL). Now I can't get rpcbind, nfs, or ypbind to start properly. I'm chasing a series of errors which ...
2
votes
2answers
25 views

grep for single quote and double quote in a string

so i am trying to write a grep which finds the .epl file names or file paths in a given file. I have tried the follwoing regexs Part 1 : REGEX Used grep -rEco "/(.+).epl|(.+).epl" ./index.epl Result ...
1
vote
2answers
24 views

OS X filesystem case insensitivity corrupts vlc command

vlc -I rc from OS X Terminal bash prompt returns error: VLC media player 2.2.3 Weatherwax (revision 2.2.3-3-g0777f11) [0000000100233778] core libvlc error: No plugins found! Check your VLC ...
0
votes
2answers
21 views

Delete rows from postgres database contain string/sentence [on hold]

I would like to know how to delete entire rows in a postgres table that contain a particular string in the title column. So if the string is: it is a sunny day How can I issue a command in postgres ...
1
vote
1answer
16 views

Limit CPU and Memory usage for C, Java programs at system level

I am building an online code editor for C and Java. Chances are users will write infinite loops. Is there any way I can limit the cpu and memory utilization of these processes at system level settings ...
1
vote
1answer
8 views

Problems compiling VASP

I'm trying to compile VASP 5.4 on Ubuntu 14.04 and running into issues. I believe I'm most the way there but when I run the make command it seems to bottle out with out a specific error. I am unable ...
-3
votes
0answers
13 views

how to fix this command in CentOS? [on hold]

[root@localhost ~]# yum install lzo Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.xxxxxx.com * extras: centos.xxxx.com * updates: centos.xxxx.com Package ...
1
vote
1answer
11 views

Need to download package and all dependancies for armhf debian [duplicate]

So, I need to download a package and all its dependencies for armhf Debian. The thing is that I am stuck on an Ubuntu machine. How can I download all of this stuff?
0
votes
0answers
3 views

Lubuntu boots with black screen in top left corner

My Lubuntu laptop boots up with a black rectangle taking up most of the screen from the top left corner. However, the bottom and right sides are still visible and I can view the cursor within the ...
-1
votes
0answers
3 views

How to route ALSA audio from Default to LINEOUT [on hold]

I am using Debian with a SGTL5000 codec. This codec muxes the output to a integrated Headset amp and to LINEOUT. The input it has a mic input that is muxed with LINEIN. How do I tell ALSA (from my ...
1
vote
1answer
9 views

tcp tunnel inside local network with iptables

I want to configure outside and inside forwarding rules to behave the same way, and simplified problem that i have with 'inside part' is like this: if i have compA - eth0 192.168.0.1 compB - eth0 ...
-1
votes
0answers
9 views

Detecting software spying on driver communications [on hold]

Is there any way to tell if software is capturing communications between input/output units and drivers? For example the keyboard, the monitor, the sound card etc?

15 30 50 per page