Linux refers to the family of Unix-like computer 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

1
vote
1answer
34 views

Linux recursive rename files only

I am trying to recursively rename all files within a directory and subdirectories to lower-case but leaving the directory names unchanged. All examples I have found rename both files and directories ...
0
votes
1answer
14 views

Kali Linux and windows 8 issue [duplicate]

ok so I download Kali Linux to a usb stick plug it into my computer and I had to change my EFI to legacy I did everything went smoothly until I wanted to get back to windows 8 I restart my computer go ...
1
vote
1answer
20 views

How to get back hosts file after accidental deletion

I made a mistake and accidentally deleted hosts file from my system and cannot figure out how to get back my hosts (/etc/) file, when I do sudo service apache2 restart It's showing: sudo: ...
0
votes
2answers
53 views

Installing an OS from USB into VirtualBox

I have a USB stick with Kali Linux in it. I want to use it in VirtualBox. I am able to boot from the USB stick in a normal session but not from within VirtualBox. I need to install Kali once from ...
0
votes
1answer
33 views

How could I test a port forward attempt was successful

I have set a random port number to a private IP address that's connected to my network. This device that exists at that private ip on the network is running linux. I setup this port foward from a ...
1
vote
0answers
24 views

RDP to Windows machine via SSH tunnels breaks the connection

I am having a weird problem that I cannot understand why it happens. Basically, it is the same symptoms described by this user: ...
0
votes
0answers
12 views

Getting Razer Blackwidow macro keys on linux

I've read Getting macro keys from a Razer BlackWidow to work on Linux and the python script didn't work for me so I compiled the haskell from source. I changed my product ID in main.hs and everything ...
2
votes
1answer
35 views

How to write a systemd service that depends on a device being present?

I would like to write a systemd service that depends on USB WiFi dongle being present. It doesn't need to start when device is plugged in as long as it doesn't start when device is not plugged in. How ...
-1
votes
0answers
8 views

Learning the Linux sysadmin/deployment process [closed]

I have recently moved into an IT role after being a hobbyist for many years and I find myself in the position of possible future linux system administration. I am currently part of a taskforce that is ...
3
votes
1answer
29 views

Change UUID under Linux?

I need to create and assign a new UUID to an ordinary disk partition under Linux. What tools are available and how do I use them?
0
votes
1answer
37 views

Find UUID under Linux?

I need the UUID of a disk partition under Linux. The partition is mounted but does not show up under ls -l /dev/disk/by-uuid as can happen when duplicate UUIDs exist, for example, following ...
1
vote
2answers
27 views

How can I get socket information, from outside of a Linux process, on its socket?

I'm specifically interested in listening TCP sockets, but getting all and any socket (struct sock, as defined in Kernel's include/net/sock.h) information for a socket would be nice. For example, this ...
0
votes
1answer
10 views

Two fully functioning profiles running simultaneously

Question: Is it possible to open two different instances of Firefox, each running a separate profile, and have it so each time firefox -P <profile name> is run it will connect to the already ...
0
votes
0answers
11 views

Virtualbox Guest VM not capturing any mouse/keyboard input

Kind of a stupid question, but, I'm running a Kali Linux image from a VMWare .vmdk file inside Virtualbox, and I can't move the mouse cursor, and it doesn't appear that it's taking any input. It was ...
0
votes
0answers
16 views

Standalone EXE not running with Wine

So, I'm running a system with Lubuntu and a application that I developed on a windows PC needs to be able to run on Lubuntu. To clear a few things up, I'm having to run Lubuntu cause the system I'm ...
0
votes
0answers
12 views

Where should I put my angular projects on Centos? [closed]

Running CentOS 7. Didn't want to ask this on stackoverflow because this is such a basic question. I haven't spent enough time with linux yet to really know where certain programs\projects of mine ...
-1
votes
0answers
9 views

Move files from SubFolders to ParentFolder on server

The structure is: Parent\Folder1\file1......filex Parent\Folder2\file3......filex . . . Parent\FolderX\file1.....filex I have a huge amount of data in each SubFolders. I need to transfer them to ...
0
votes
0answers
11 views

Defining git commands on windows

I have a script that I use to add some functionality to git. For this particular case I cannot do it with an alias. The name of the script is git-cim. In linux if I place this script in my path and ...
2
votes
1answer
30 views

Virtualbox: Physical host doing routing between host-only networks appears to do NAT by default, which is not wanted

Configuration: Ubuntu 14.04 host Virtualbox 4.3.18 (from http://download.virtualbox.org/virtualbox/debian ) Ubuntu host functioning as a router - net.ipv4.ip_forward=1 Several host-only networks ...
0
votes
0answers
16 views

Mount SharePoint Online (Office 365) in Linux

We have started using SharePoint Online included with our Office 365 subscription. Our windows users can install software that automatically syncs the Shared Documents from SharePoint to their ...
0
votes
2answers
20 views

how to know if a device is in use in linux

I use several ways move a large size of data (commands, programs in background, nautilus) some times these programs notify me that the process end but I see the led of my devices is blinking, and I ...
1
vote
1answer
27 views

Using scp to transfer a .txt file list of files

I have 1.6 million files on server A, and only about 20k of them need to get to server B. The destination, server B, is on GoDaddy shared hosting, so I'm just about limited to scp for transferring ...
0
votes
0answers
16 views

32bit and 64bit Cygwin sshd services on the same machine

I have Windows 7 station and I would like to have two running sshd services: ssh daemon for 32bit Cygwin ssh daemon for 64bit Cygwin I installed 32bit Cygwin sshd using setup script ...
0
votes
1answer
8 views

Customized routing rule for VPN usage

I have a PC running Xubuntu. I purchased a VPS server and setup PPTP VPN with it. I'd like to achieve the following: for services like google, twitter, etc, I'd like to use the VPN connection. ...
-3
votes
0answers
27 views

download an image using only the URL in terminal [closed]

Is there a way to download an image from a given URL by using in the terminal just that URL name? For example: I need to download from http://google.com/img, but instead of using wget, I will use ...
1
vote
3answers
35 views

Bash script to find all folders containing a specific file and copy a new file to those folders

I'm trying to write a script that will loop through all subfolders of a directory to search for a specific file and then copy a new file to those folders that contain that file. This is what I have ...
1
vote
0answers
20 views

Unable to open gedit over sshx as root

I'm doing an remote login using sshx -X as root: ssh -X root@172.16.0.1 After that whatever application I open, a warning is coming like: X11 connection rejected because of wrong ...
1
vote
0answers
8 views

After installing slurm 14.11,there is not any script in /etc//init.d/

After installing the slurm 14.11,there should be a a slurm script in /etc/init.d/,but I did not find it in the directory,what's the reason?
1
vote
1answer
10 views

How can we configure paths for .cshrc

Within a shell script, i am trying to open a new tcsh shell and load some set of pre defined aliases and env variables which i do not want to have in default cshrc. I cannot have it in my home dir ...
3
votes
0answers
34 views

Can I create a “file” that, when opened, actually gives the output of a command?

I've found myself in a couple of situations now where I'd like to have such a "file" that essentially runs a script whenever it's "opened", allowing me to "read" it's output. For example, I might ...
1
vote
0answers
12 views

I get three related errors when trying to push a commit to github concerningproc/10/exe. What should I do?

When trying to commit to github I get these errors after I type the command $ git add . $ error: readlink("proc/10/exe"): No such file or directory $ error: unable to index file proc/10/exe $ ...
1
vote
1answer
48 views

Linux user in group can't cd into directory with executable permission

ok, someone suggested I try SuperUser. Here goes... I have user 'frances' that is a member of group 'pc', but cannot cd into a directory called pc, owned by pc and with executable permissions for ...
0
votes
1answer
32 views

SSH stopped forwarding ports

Somehow SSH stopped forwarding ports and giving me errors on the host. I can not figure out why. I tried -4 switch to force ip4 but still no luck.I am hoping that I could get much proper solution ...
1
vote
0answers
13 views

Factors that influence whether an NTFS partition can be mounted by a regular user on Linux

I have two Win8-made NTFS partitions on my system. Running Debian testing, Linux kernel 3.16, I can mount one of them as a regular user, but trying to mount the other one results in an error: $ mount ...
-1
votes
1answer
25 views

sshd_config file configuration

# HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key #HostKey ...
-1
votes
0answers
16 views

High availability solution for PHP connecting to MySQL in multiple regions? [closed]

Clustering: Multiple PHP servers in multiple regions. One or two MySQL servers in each region. Each server has its own private- and public-facing interface. Servers in the same region can and do ...
2
votes
1answer
11 views

'Syntax error' while setting sudo.conf askpass variable with visudo

I want to set askpass program for sudo, i've made file /etc/sudoers.d/path-askpass with following content: # Path to askpass program Path askpass /usr/bin/ssh-askpass File was edit with visudo, ...
1
vote
1answer
20 views

After installing Fedora Linux using Asus vivobook, cannot access OS

3 days ago, I installed Fedora on my Asus Vivobook s551. After the installation, I could not enter either the Linux OS nor the original Windows 8.1 OS! I need to access my original operating system, ...
1
vote
1answer
20 views

Add new Server to Visual Studio application via SSH

I have a RHEL Linux instance with MySQL running. I have the connectors and I'm trying to setup a new connection to the database in Visual Studio 2012. Problem is, it's on a corporate remote server and ...
0
votes
0answers
11 views

Change VLC stream source without stopping

I have been starting an HTTP stream in VLC using the following command, cvlc http://www.example.com/stream --sout \ #transcode{acodec=vorb,ab=128,access=udp}:http{mux=ogg,dst=:8080}' Is there a way ...
0
votes
0answers
13 views

How to re-enable wlan0 after backports disabled it

I have a PC with Ubuntu 14.10 and I tried to install backports following the instructions here (except for cooked monitor interface, compiling my own, and I couldn't check if I had ath10k firmware, I ...
0
votes
0answers
12 views

CentOS: Can Top -u Display 2 or More Users?

Showing processes for 1 user is rather easy with Top: top -u someuser1 or by hitting u while top is running. Is there any way to make Top show processes specifically for 2 (or more) users? An example ...
1
vote
0answers
7 views

canot restore disk image with dd (target part filled with zero)

I have a RAID0 disk before, now I want change the size of it. From the manual, the only way is backup data, delete RAID, re-create with new size, and restore data. now I have many old 2.5" hdd, each ...
1
vote
1answer
25 views

Vim: cannot remap <leader> to comma or space

I've tried let mapleader = '<space>' let mapleader = ' ' let mapleader = ',' None of them works. VIM doesn't even show coma in the status bar (bottom of the screen?), but it works perfectly ...
0
votes
1answer
30 views

remote desktop for the terminal

Looking to allow a trusted friend access to an SSH session on my local machine. Is there a script or one liner that will allow for the ease of use I know from remote login software (teamviewer etc.) ...
0
votes
2answers
22 views

Linux slightly different behaviour If we give '&' before io redirection '>' and after redirection

I was starting jboss recently in background in Linux and saw that if you run command as follows: nohup ./startjboss.sh > server.log & Output is : [1] 18835 [root@cnt5-01b downloads]# The ...
0
votes
0answers
2 views

ActiveSupport requires ruby version >= 1.9.3., but Ruby 2.1.5 installed

I am getting this error when trying to install middleman: root@ThinkPad-T410:~# sudo gem install -V middleman root@ThinkPad-T410:~# ERROR: Error installing middleman: root@ThinkPad-T410:~# ...
2
votes
1answer
55 views

PC will not boot from CDROM

I'm trying to install Linux from a live CD (Elementary OS) I set my boot priority order so that CDROM was first in the BIOS. However my PC always chooses to load my SSD drive instead. To check that ...
0
votes
0answers
9 views

Logrotate not rotating on file size

According to the man page "Normally, logrotate is run as a daily cron job. It will not modify a log multiple times in one day unless the criterium for that log is based on the log’s size". So, ...
0
votes
0answers
14 views

file RELATIVE_PATH must be passed a full path to the file

Everytime I want to build smth using: cmake -DCMAKE_INSTALL_PREFIX" I'm getting errors like this: CMake Error at /usr/share/cmake-2.8/Modules/CMakePackageConfigHelpers.cmake:177 (file): ...