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

3
votes
2answers
31 views

Command Line Sort Files or Directories by part of their name

How do I sort files or directories by part of their name, specifically the element contained in the parenthesis or separated by delimiter? I am after two separate solutions one for directories with ...
0
votes
0answers
25 views

7z: How to exclude symbolic links from extraction?

How to ask 7z to exclude extracting symbolic links ? In following file, bad_file and passwd are symbolic links. Is there a way to ask 7z to not extract them or not create them after extraction ? ...
4
votes
5answers
1k views

Shut down computer using ssh

What ways are there to shut down a computer using ssh? Im running on linux and when I try to shut it down remotely using ssh, it doesn't actually work. I used the command sudo shutdown now. ...
0
votes
0answers
15 views

Linux Mint doesn't boot properly

I created USB flash drive Linux Mint 17.1 using Linux Live Usb (Lili - link) with persistence storage. When I boot my laptop with my USB flash drive, it shows the page that says "Try Mint Linux live" ...
0
votes
1answer
23 views

Python logging class not working when sending stdout to /dev/null

I have a Python 3 script that has logging enabled (for debugging purposes). Whenever I run/execute this script it is working fine and the logfiles are created. I've also created a setup.sh-bash ...
0
votes
0answers
7 views

Prevent window from spawning with greater than a maximum size?

I am running Linux Mint 17.1 with 3 monitors. Whenever I start a WebEx session, the windows somehow like to spawn with a size of all 3 monitors, starting on the rightmost monitor, and just spill off ...
3
votes
3answers
63 views

Unable to access my BIOS although the OS boots fine

I have an MSI GT602OC Laptop upon which I'm using an Ubuntu 15.04 (only OS). I can access my OS, it boots fine, no problems here. But when I try to access the BIOS (through the DEL key that I used ...
0
votes
1answer
46 views

On a host with two IP addresses, I am getting “no route to host”, but SSH works

I have a very strange problem. A server has two IP addresses on a single network interface: eth0 has 172.20.40.1 eth0:0 has 10.1.1.1 The address for eth0 is static, the one for eth0:0 comes from ...
0
votes
0answers
27 views

Trigger lock/unlock XFCE session on udev event

I'm trying to write simple script that will unlock my XFCE session (xubuntu) when I will connect my phone via usb and vice-versa -> lock when phone will be disconnected. So far I managed to write new ...
0
votes
0answers
25 views

Does torrent seeding “access” files?

Can I tell for sure using the time a file was "accessed" the last time (as reported by Nautilus), that I didn't seed it via torrent afterwards? Does seeding "access" files? I'm using Linux (Ubuntu) ...
0
votes
3answers
31 views

Debian - unattended installation

Is there any way to make the installation of Debian unattended, I need to install on multiple machines with similar hardware. Basically I need to install Debian system without human interaction, with ...
1
vote
3answers
36 views

Unzip many files to a given directory

In short, i'm not sure what i'm doing wrong, but basically what i want to do is loop over all zip files, and unzip their content for a directory with the name of the zip. example: Files: a.zip, ...
0
votes
1answer
29 views

Can't change resolution to 1680x1050

I am installing Elementary OS (I had the same issue with plain Ubuntu and Fedora, Mint and some other distros) on a Sony VAIO VGC-JS1E/S and everything works perfectly OK except I cannot change the ...
2
votes
1answer
34 views

Mouse takes too long to be discovered

I have a dual PC setup with a device that allows me to use one mouse, keyboard, and monitor (I don't remember what that's called). One PC is running Vista and the other is running Linux. When I switch ...
0
votes
0answers
11 views

Understanding the gdb backtrace full report [migrated]

Can somebody please help me in understanding the issue that caused this segmentation fault. This points to a place where I access an Iter to a map. The relevant code where it points is: cout ...
1
vote
1answer
20 views

What permissions allow group members to delete files in subdirectories?

Let's say I have two users on a Debian GNU/Linux system: me and otheruser. Both are members of the group shared-media. I can create a directory that is writeable by both: $ sudo mkdir ...
0
votes
0answers
26 views

How to make wget resolve HTTP queries? [duplicate]

Consider the download link http://trac-hacks.org/changeset/latest/accountmanagerplugin/tags/acct_mgr-0.4.4?old_path=/&filename=accountmanagerplugin/tags/acct_mgr-0.4.4&format=zip with the ...
1
vote
0answers
7 views

On a NTFS drive mounted with NTFS-3G with user mapping file present, all new files belong to root

On my system, I have a large NTFS-formatted data partition, which is shared between Linux (Debian 8) and Windows (2012 Server). When I created a user-mapping file, as described in the NTFS-3G ...
0
votes
0answers
11 views

ssh to a machine with bridge ports

I want to connect to a machine by ssh this machine has tow ports that are bridged. I am using bridge IP to connect ssh samie@192.168.1.97 But I get this error ssh: connect to host 192.168.1.97 ...
0
votes
1answer
26 views

Guest VM as firewall for other Guest VM

Maybe you can help me a bit. I am new to VM player.. I have Host - win 7 and two Guests on VM player. Kali Linux and Windows xp. I have troubles with setting network connections. Task is to create ...
0
votes
0answers
8 views

Connecting local device to remote port

I have a remotely located linux system and windows machine which I use to login to my remote linux machine using PuTTY. I have an android device which I have connected to my Windows machine through ...
-1
votes
0answers
11 views

how to add application to initrd.gz

I have initrd.gz (from linux parag*n live cd). I want to edit the file inside and add app like apache,ophcrack,etc. So far I've done extracting by following these step ...
0
votes
0answers
6 views

Squid time based ACL

I've got time-based ACL's configured that I thought were working, but they're not. Here's what I have set: #### Time access ACLs #### acl weekday_access time M T W H 7:30-21:00 acl friday_access time ...
0
votes
2answers
64 views

Disable Root — what all issues will arise?

I have a linux server (Ubuntu 14) that I access using root and SSH keys (i.e. no root password). I have also created a non-root-user (and a corresponding non-root-user's-password) with sudo ...
0
votes
0answers
17 views

Dual Boot Lenovo ThinkPad L520, 32 or 64 bit for Ubuntu

I'm confused... Lenovo runs Windows 7 Professional 64 bits but I'm unable to dual boot any Linux Distro in 64 bits, only 32, system freezes in BIOS while it reads the USB Live Key (freezes at install ...
0
votes
1answer
25 views
+50

How to measure the transfer speed of an individual process?

One of the processes on our webserver that talks to an external email server is running really slowly. How can I find its transfer speed to/from the mail server? Needless to say I can’t just look at ...
0
votes
2answers
25 views

How do I manipulate a file that is named - (i.e. dash)?

I have a file named - I don't know where it came from, but I would like to look inside it to find out more about it. However, all of the Linux commands think I'm referring to standard input or they ...
0
votes
0answers
11 views

Scrolling in tmux over SSH (PuTTY) [duplicate]

I'm SSH'ing into my RaspPi (Raspbian) with PuTTY and I want to user tmux in order not to worry about a connection ending while I'm installing something. My Problem is, that when I call tmux from a ...
0
votes
1answer
57 views

Gitlab 7.10 install doesn't create proper ssh git user config?

I am setting up a Gitlab instance on my home VM lab and am baffled with the way SSH is configured in Gitlab so I would appreciate some insight into whether I am doing something wrong or is Gitlab ...
-1
votes
0answers
38 views

Funtoo vs Gentoo [closed]

What are pros and cons for gentoo and funtoo? From my reading I like funtoo more (git for portage tree, its networking, ...) but I read Now the Funtoo packages tend to be older and masked in a way ...
0
votes
0answers
20 views

Replace an installed program with a newer version

I have GCC 4.6 on my Raspbian installation, but I'd like to use GCC 4.9. I can of course do sudo apt-get install gcc-4.9 but then I have to use gcc-4.9 in order to use the newer version of GCC. I can ...
2
votes
2answers
21 views

start process from ssh and be able to close connection

I'm connecting to my RaspberryPi with Raspbian installed via ssh. My problem is that I can't let the RasPi do things (e.g., installing software, performing calculations) while my computer is shut ...
0
votes
0answers
21 views

Ubuntu Server 14.04 unresponsive / crashed after a while

I recently posted a question on ServerFault in hopes of getting some hints on where I might look to find the reason for my recent crashes. It was closed as off-topic (because I am an 'end-user' asking ...
0
votes
0answers
21 views

How can I access the internet connection on a windows machine via usb from a linux machine?

Suppose I have a laptop with a linux system with no internet connection, and a windows 7 pc connected to the internet. How can I use the internet connection of the pc on the laptop, connecting the ...
1
vote
3answers
41 views

Why I can't access to this directory after that I use the chown command?

I am not so into Linux and I have the following problem. I have installed a LAMP environment of an Ubuntu Linux system dedicated to the develop (it is on my PC and it is not a production server). So ...
2
votes
1answer
16 views

Select default network card

I have a laptop connected to the internet via Wi-Fi. It is also connected to a private network via LAN. If the laptop is connected to both networks it doesn't have internet connection. How can I tell ...
0
votes
1answer
25 views

How to correctly set writable the /var/www/ directory of an Ubuntu Linux system?

I am a software developer so I am not so into operating system configuration details and I have the following problem. I have installed a LAMP environment of an Ubuntu Linux system dedicated to the ...
0
votes
0answers
11 views

NullPointerException using the VisualVM launcher

I'm running Arch. I installed eclipse-java from the AUR and later installed visualvm from there too. After setting up the visualvm launcher, and creating a run configuration using it, I still get a ...
0
votes
1answer
49 views

Why does BTRFS seem to have comically large allocations for metadata? [duplicate]

I've recently discovered the marvel of a modern filesystem, btrfs. After playing with it for a few hours, I decided to dive straight in and converted my entire /home partition using the btrfs-convert ...
0
votes
1answer
23 views

Linux: routing table - Gateway column: 0.0.0.0 vs *?

I have found SO question about What does 0.0.0.0 gateway mean in routing table? but this is not exactly what I want to know. I have noticed that in some outputs (e.g. here) of Linux route -n command ...
1
vote
0answers
18 views

Script that search for a string in the ouptput of a command

This may sound a bit complicated but I do not see any other way. I want to create a script that will check after running the command 'cli ha' to search if a certain line contains a string = 'Active' ...
1
vote
0answers
19 views

Stop automatic comments in my crontab

I have added the bellow cron jobs in my crontab : 0 5 * * * /bin/systemctl restart gb_subagent.service 28 13 * * * /home/comment.sh &>/tmp/errorcron.log 29 13 * * * bash ...
0
votes
0answers
17 views

How do i remotely connect to linux box bu tunneling via windows machine

i have a windows machines which serves as jumpb box where it has access to other network behind the firewall and i can do RDP from my laptop(windows) to this windwos machine (JB) Now i need to ...
1
vote
2answers
18 views

How to keep the reverse shell open in Netcat?

As soon as the command prompt is closed on the target machine the reverse shell is closed on the client machine. Is there any way to keep the port open and Netcat working after the target machine ...
0
votes
1answer
35 views

Wake on Lan - Install a client on a Linux machine

this might seem obvious or stupid to somebody, but I can't find anything that helps me yet, besides the fact that I'm not a Linux user. I've got 2 NAS boxes (Iomega, now Lenovo) IX4-200D and ...
1
vote
0answers
27 views

How to move specific icons from message tray to top panel in Gnome 3.14?

I'm using Fedora 21 with GNOME shell 3.14. I found an extension called TopIcons which works well but it moves all icons, whereas I need only specific ones. I found an instruction but it seems to be ...
1
vote
0answers
21 views

Live TV streaming with Tvheadend works fine on laptop, but not on home server

I have a DVB-T TV tuner USB dongle (Afatech AF9013/AF9015) which I'm using in conjunction with the latest version of Tvheadened and the latest stable build of Kodi. I ultimately want my small home ...
0
votes
0answers
26 views

Plesk 12 PHP Cache options

On my Plesk 12 vServer I've installed multiple PHP versions: PHP 5.3 PHP 5.4 PHP 5.5 PHP 5.6 I'd like to enable a cache method (APC, Redis, XCache or Memcache) for all of those PHP installations. ...
1
vote
0answers
24 views

Setup default PHP version in Plesk 12

I've just setup a Plesk 12 CentOS6 vServer. I installed some PHP-versions like 5.4, 5.5 and 5.6. The customers can change the running PHP version in the interface. All is working fine, but I have one ...
-1
votes
0answers
17 views

How to boot the GRUB rescue prompt as i am unable to format the laptop

I installed Ubuntu in my laptop. After some days i was trying to format my laptop through the recovery mode given by laptop manufacturer. I went into the recovery partition by navigating through the ...