A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
6 views

Ubuntu 16.04 stuck on login loop

My computer was running fine until yesterday night, but today it is stuck in a login loop. I tried going into recovery mode from grub and reconfiguring dpkg packages, but it didn't work, tried ...
10
votes
3answers
10k views

How to delete file with this name on linux: -]???????q

Somehow a file named -]???????q got created on my terminal. I tried rm -f "-]???????q" (in double quotes), but it did not get deleted. (Error:: rm: invalid option -- ]). How do I delete it?
0
votes
0answers
4 views

OpenLDAP: Converting flat file (slapd.conf) to OLC (slapd.d)…can't access cn=config

I'm attempting to set up OpenLDAP. I was having trouble with the OLC config option, so I went with the slapd.conf style input as I'm a complete noob at LDAP and it was easier to understand. I now ...
0
votes
0answers
3 views

Arch-Linux / Virtualization to install, then be able to boot off of?

Would I be able to install arch Linux via VMWare Player, and then be able to boot off of it at startup if i were to instal grub if i were to use a partition for a bad linux install that i already ...
0
votes
1answer
19 views

Crontab fails php script as /usr/bin/php but works as /usr/bin/php-cgi

I am working out a problem with crontab where a php script that has no html in it to run as a stand alone script daily tends to fail using /usr/bin/php and works just find as /usr/bin/php-cgi. The ...
0
votes
1answer
13 views

sed - Function to replace only the NTH occurrence

In the function below (f_ez_sed) I would like to just replace the "NTH_OCCUR" (0~n) occurrence. How I could do that? I have tested MANY methods! f_ez_sed: f_ez_sed() { : 'Facilitate the use of "...
0
votes
1answer
12 views

how to permanently disable wifi power management for linux mint 18?

I have upgraded from mint 17.3 to mint 18, and now I experience irritating wifi problems, which are (probably) connected to the power management. Before the upgrade, I had set it off in the /etc/pm/...
0
votes
0answers
7 views

How does the legacy/UEFI bootloader know where to find the stage two bootloader?

Most systems I have been exposed to format their disks very simply with only boot and rootfs partitions. Others also have recovery (like Windows) and swap, but I am trying to keep it simple. I have ...
0
votes
0answers
4 views

How to overcome virtual package already provided in effect, but not in practice

I'm trying to install package X, which is dependent on the virtual package named python. I have python27 installed, and I know that my desired package X works fine with this version; however python27 ...
0
votes
0answers
10 views

How to determine if software or hardware issue prevents laptop from recognizing external display?

Context: External Display Used to work I have a laptop (thinkpad w530) running linux (ubuntu 14.04) Long ago, the laptop could connect fine to an external display. Many changes have transpired: ...
1
vote
2answers
559 views

Unable to install TI Linux emulator on Linux Mint 16 KDE

I have Linux Mint 16 KDE, and I wanted to install the Texas Instruments Emulator from http://lpg.ticalc.org/prj_tilem/download.html. I downloaded and extracted the source code, and installed all the ...
1
vote
1answer
930 views

Compile Glasgow Haskell Compiler on Fedora 22

So I want to upgrade "GHC 7.8.4-45" that comes prepackaged with Fedora 22 (courtesy of the Fedora Haskell SIG) to GHC 7.10.2 (the latest). How to do that easily?
1
vote
2answers
25 views

How to take user input from bash script when run as executable without terminal?

I am trying to make a bash script which takes some user input and processes as per the input. The script is executable, and has a shebang. The script is somewhat like this: #!/bin/bash read name -...
0
votes
1answer
9 views

UEFI boot menu items for Ubuntu and Linux Mint both launch Ubuntu

This is a short version of my question on AskUbuntu, without all the details of how I installed the operating systems, etc. I managed to install Ubuntu and Linux Mint on different partitions of an ...
4
votes
1answer
24 views

How to install Linux using ONLY ethernet

How can I install Linux Debian on PC having only Ethernet and no monitor and i/o devices on that PC so after that I can communicate with that PC only through SSH?
51
votes
9answers
60k views

Best way to transfer files over a LAN between two Linux computers

I want to transfer files (a music folder) between two Linux computers. After searching for the best way to do this, I've seen that there are lots of ways of doing this. I know this has been asked a ...
5
votes
1answer
150 views

Tar encounters “Cannot open: Not a directory” while compressing

I am using fakeroot v1.12.4 for packaging and extraction on RHEL-6.4. I have two different servers where I am compressing files using tar v1.23. Compression is failing on one server with this error: ...
0
votes
1answer
39 views

Disable expired password change dialog in PAM

I try to find a way to switch off the password change dialog you get when you login with a expired password. """ WARNING: Your password has expired. You must change your password now and login again! ...
47
votes
4answers
73k views

What is effect of CTRL + Z on a unix\Linux application

I was curious and confused that what exactly is the behaviour of CTRl+Z. I know, If a process in running in foreground, and we press ctrl+z, it goes to background. But what exactly happens. Does it ...
3
votes
2answers
236 views

How do applications remember authentication for sometime?

In linux some of the applications are able to remember authentication for sometime. For example, File manager remember authentication for a while, when we provide password to mount a partition. If ...
2
votes
1answer
66 views

rsync error - Unexpected remote arg: root@1.2.3.4:/*

I'm trying to migrate centos server to a new box with rsync and I run this command in the destination server: rsync -auHxv –numeric-ids –exclude=/etc/fstab –exclude=/etc/sysconfig/network-scripts/* ...
0
votes
1answer
4k views

Can't get 1440x900 resolution with GRUB2 although vbeinfo says it's available

I'm trying to use GRUB2 in graphical mode with 1440x900 resolution, but the result is always garbled nonsense: the highest resolution I can get is 1280x800. Word is from googling that long as vbeinfo ...
0
votes
2answers
38 views

My code .sh cant run. Help me

#!/usr/bin/expect -f set port [lindex $argv 0] spawn ps xu | grep "ssh -f -N -o ConnectTimeout=5 -D $port" | grep -v grep | awk '{ print $2 }' | xargs kill -9 expect eol I make sure 100% port 1234 ...
0
votes
3answers
3k views

Unable to get Samba server to work in Linux Mint 17.1

There are two folders AFolder and .AFolder which I want to share through a Samba server. I am not able to get it to work. shivanand@Pattanshetti-home /etc/samba $ cat smb.conf [global] server string ...
0
votes
1answer
25 views

What does the linux “file” command consider “suspicious”?

I was playing with the file command (the command-line utility used to identify file types) and I noticed one of the types it could match was "Suspicious" What does that actually mean, what kind of ...
0
votes
1answer
5k views

Error Putty X11 proxy: Authorisation not recognised

I'm developing a robot with a Raspberry Pi, and I'm having trouble with X11 forwarding. When I'm going to run my script as: sudo python myscript.py I get the error: Putty X11 proxy: ...
2
votes
1answer
3k views

Linux driver for Linksys AE1200 USB wifi dongle

Recently purchased a Linksys AE1200 USB wifi dongle to use with my debian box for setting up a wifi AP. Unfortunately it doesnt seem to work out of the box and I cant seem to find any Linux drivers ...
1
vote
0answers
8 views

SSH authentication issue with Thunar: Can open individual files but can’t open many files

I have a server that I SSH into all the time. I have SSH keys set up, but I'm noticing a strange behavior with video files that I'm trying to edit with VLC. As most know, with a program like Thunar, ...
0
votes
0answers
5 views

General method to determine if latop hardware for 'recognizing external montor' is ok

Problem: Unrecognized External Monitor I have a laptop (thinkpad w530 running ubuntu 14.04) which does not recognize an external monitor--neither via VGA, displayport, whatever. A few years ago I ...
8
votes
4answers
26k views

What are the differences between Linux and Windows .txt files (Unicode encoding)

I am only using the 128 character set defined in the original ANSI standard. But as a whole how are the files implmeneted differently. I am not concerned with the display, i.e. if a tab is ...
1
vote
1answer
10 views

ls --group-directories-last ? (List directories AFTER files)

We know there is a way to list directories before files using: ls -1 --group-directories-first Is there a way to get the opposite? I thought --reverse would do the trick but apparently not. NOTE: ...
18
votes
4answers
26k views

Using multiple USB webcams in Linux

Running more than one USB webcam in Debian/Linux results in the the following error: libv4l2: error turning on stream: No space left on device VIDIOC_STREAMON: No space left on device What ...
0
votes
0answers
18 views

How to troubleshoot Centos 7 connectivity issues behind a home router

In trying to setup some test services at home, i've run into an odd situation where it seems that centos7 instances cannot properly communicate through my home router (netgear r6400), whereas ...
2
votes
1answer
6k views

Kali Linux No Sound

Basically I misstakenly removed alsa config because of this guide http://hackerzelite.blogspot.in/2014/03/fix-sound-driver-on-kali-linux.html . And there is no sound icon now, as well no sound. But ...
0
votes
2answers
4k views

What command lists the files created in a specific month and readable for the owner?

I am supposed to find the command that lists all the files that are created in September and readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I ...
3
votes
6answers
1k views

How to make “rm” require root privilege?

I often misuse "rm" for "mv"! I hope to make "rm" a command requiring root privilege, like "apt-get". How to do that, please? My system is Ubuntu 10.10.
3
votes
2answers
5k views

Very strange behaviour of mouse / not able to click certain elements of UI

So from one moment to the other, in Windows 7, i wasn't able to click certain elements of the UI. I could click icons in the taskbar but not on the desktop (just no reaction), then I could click icons ...
0
votes
0answers
13 views

Is it possible to determine which process sent a signal to another process

A process is happily running and then receives a signal (on my concrete case a 15 SIGTERM, but the question is more general). Is it possible to determine where does it come from? from inside the ...
-1
votes
0answers
8 views

Can't run Adobe Dreamweaver with wine on Kali

I'm trying to run Dreamweaver.exe with Wine on my Kali Machine but I get the following error with this command: wine Dreamweaver.exe wine: Bad EXE format for Z:\root\Desktop\Dreamweaver.exe ...
0
votes
1answer
11 views

loop inside multiple-level paths and rename

Assuming I have a file named list.txt contains Baths of files inside a directory; And the baths pattern like this: ./path/to/file.txt ./path/to/another/file.txt ... etc I want to loop inside list....
45
votes
8answers
95k views

Remove file without asking

How can I remove file without asking user if he agrees to delete file? I am writing shell script and use rm function, but it asks "remove regular file?" and I really don't need this. Thank you.
2
votes
0answers
8 views

FTP issue from embedded linux device to Windows IIS FTP

We have recently installed a GPS base station, it is a high-precision GPS receiver that is used for error-correction in field GPS devices. The device (a Trimble NetR9) uses an embedded linux OS and ...
1
vote
2answers
3k views

Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files

First, we create 2 partitions on the USB stick that is let's say 16GB. first partition is let's say only 1GB and the second partition is the rest of what is available. after we "w" write the changes,...
14
votes
4answers
30k views

Ubuntu and Linux Mint only run in Software Rendering Mode on Virtualbox

I am trying to figure out why Ubuntu and Linux Mint only run in Software Rendering Mode on Virtualbox. My motherboard supports hardware virtualization and it is turned on, and I have installed the ...
1
vote
2answers
35 views

Boot Ubuntu 16.04 into command line / do not start GUI

I want my Ubuntu 16.04 to not start GUI on boot and show command line console only. I have tried the following recipies but none of them are for version 16.04 and so they do not seem to work — GUI ...
5
votes
1answer
13k views

Multi-Line Sed Replace

Consider the following text (incidentally, part of a MySQL dump): CREATE TABLE `table` ( `id` int(10) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', `description` text NOT ...
0
votes
2answers
212 views

Can't find notepad++ on my linux after installation

I installed notepad++ on my linux using wine. I ran it after installation and it worked fine. I want to keep using npp but I cannot find it anywhere in my files. It was installed in a virtual C drive ...
0
votes
0answers
5 views

Chrome 52 not starting properly in RHEL 7

I'm trying to run Chrome 52 in a RHEL 7 server. I'm running as a regular user: > google-chrome Chrome itself starts, but the tabs are broken. Then I get the following errors: [4003:4033:0728/...
1
vote
2answers
12 views

How to revoke access to users who had ssh-copy-id from my server

I have changed password in my Ubuntu server. But I've noticed I still cann ssh becaus I have done ssh-copy-id before. I want to revoke access to myself and other users who may have copied the ssh key. ...
-2
votes
0answers
8 views

Searching for a file on external drives, network mounts?

I often move files from one machine to another or to my laptop and usually I can't find a file in a place when I think it is. I would like to have a catalog of files on my laptop and a way to search ...