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

4
votes
1answer
56 views

Require user passwords on linux only on weekdays

Is it possible to make linux require user password only during specified time range, eg. from Monday to Friday? I want to set it this way on my Linux Mint, so that kids cannot access computer on ...
1
vote
1answer
2k views

Prevent auto mounting Android sdcard under Linux Mint

I recently obtained an older Android phone, so that I could test Android Apps on it. I've needed it because I have a Nexus 7 but not older Android versions, hardware, etc. to test on. I'm having a ...
-1
votes
0answers
9 views

centos 7 — removed log folder and now my php script will not run

I'm just a beginner in linux base opreation system. I delete a log folder(log folder and all the sub folder within log folder) under var folder because it take 19GB of my hosting. And here we got the ...
0
votes
0answers
2 views

What is the timeframe used, for TCPBacklogDrop value calculation in netstat

I'm interested in the value TCPBacklogDrop of the command netstat -s on linux. But what I don't know which timeframe is considered, when calculating it.
-2
votes
0answers
15 views

How can I download network-manager-gnome package with all dependencies

I have Windows and Kali on dual-boot. "network-manager-grome" is uninstalled and when I'm trying to install this package (after downloading it on Windows) on Linux some errors dependencies returned. ...
-3
votes
0answers
10 views

OpenGrok configuration in Linux - SEVERE: Error: No Exuberant Ctags found in PATH

When I tried running the following command in Linux Environment java -jar opengrok.jar -W /home/app/OpenGrok/opengrok-0.11.1/configuration.xml -c /home/app/OpenGrok/Ctags/ctags.exe -P -S -v -s ...
7
votes
3answers
4k views

How do you import an EPS file in Inkscape?

I'm using Inkscape, and I'm trying to import an EPS file to use it as a vector and eventually save it as an SVG. This link here mentions several methods: ...
0
votes
0answers
14 views

how to save iptables rules permanently?

I want to keep some iptables rules permanence, so I just only add the rules manually: /sbin/iptables -I OUTPUT -p tcp --sport 80 -j QUEUE I am sure that the command works, because I could see it ...
0
votes
0answers
12 views

How to isolate bluetooth device mfg and model when not listed in specs?

I am working on an HP Pavilion DV7-6166NR that has various potential matches from HP's driver section. I have not been able to find any actual enumeration or specification of what Bluetooth device ...
0
votes
0answers
3 views

grub-mkconfig doesn't detect /boot

lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 596.2G 0 disk ├─sda1 8:1 0 25G 0 part /mnt/arch ├─sda2 8:2 0 2M 0 part ├─sda3 8:3 0 4.5G 0 part ...
0
votes
2answers
3k views

Openconnect for Cisco VPN doesn't recognize private key file - asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag

I'm trying to use my Synology DS212 NAS box also act as VPN gateway to my companies VPN. Sadly, they only use Cisco ASA and to complicate stuff even further, we've got to use personal certificates ...
0
votes
3answers
35 views

Unix Command to grep a time range

I have a log file, saved with particular date. I wanna fetch log entries during a particular time and date range to another file. Ex: all entries from 2014-12-04 00:00:00 time to 2014-12-04 17:00:00 ...
0
votes
1answer
396 views

How to bridge tap to eth0 on raspberry pi?

I am using my raspberry pi as a openvpn cleint for my xbox 360 because at my college i get kicked off xbox live for either strict nat type or a connection limit. I can connect to the vpn just fine, i ...
11
votes
3answers
29k views

How to check if I have sudo access?

I recently got into trouble because of this. $sudo vim /etc/motd [sudo] password for bruce: bruce is not in the sudoers file. This incident will be reported. Is there a way to check if I have ...
0
votes
1answer
42 views

Use cloud-init with VirtualBox?

Cloudinit is used by many cloud images e.g. on EC2 to obtain their initial configuration, like IP address, ssh keys and the like. Is there a way of using it with VirtualBox in a similar way? I'm ...
10
votes
4answers
7k views

How long does badblocks take on a 1TB drive?

I'm running badblocks (or rather "e2fsck -c") on a 1TB drive and if the progress indicator is any indication (no pun intended), it's going to take almost forever to complete. Right now it says 0.01% ...
-1
votes
0answers
12 views

What is the CentOS 7 equivilent package for python's “rhpl” from CentOS 5 (textdomain_codeset)

I have legacy Python (2.4) code from a CentOS 5 machine, which I am porting to CentOS 7 with Python 2.7. The file "timeconfig.py" (used for setting system time and date "graphically" on a text ...
2
votes
1answer
4k views

Kali 1.0.5 Internet Connection Problems

I have recently installed Kali Linux and am having connection issues. It says I am connected to the network, but I am not able to access the Web. A Ubuntu 13.04 running on the same machine (dual boot) ...
-1
votes
0answers
11 views

Multi-OS bootable USB for Mac and Windows?

At the moment I have two usb's with different linuxes on them , Kali and Ubuntu. I recently found out that both were taking up little space, which means I could use one usb instyead of two, with extra ...
-1
votes
0answers
13 views

Giant Swap File fills hard drive to capacity

Today I had a most odd experience on our student computing server. Suddenly, you could not save a file and you got a "file system full" message. So I did a du -sh on all user directories to see what ...
0
votes
2answers
997 views

blocking port 80 via iptables

I'm having problems with iptables. I am trying to block port 80 from the outside, basically plan is we just need to Tunnel via SSH then we can get on the GUI etc. on a server I have this in my rule: ...
53
votes
8answers
27k views

Reload a Linux user's group assignments without logging out

When assigning a user's secondary group list using: # usermod -G <grouplist> <user> is it possible to force this group assignment to take effect without logging out all running ...
0
votes
1answer
23 views

from which file grep found match

when doing something like this: cat *.* | grep mystring is it possible to know from which file each match comes from? If not what would be the alternative?
0
votes
1answer
22 views

Raspi “Cannot find host”

I changed my hostname on my raspberry pi using this resource: http://www.howtogeek.com/167195/how-to-change-your-raspberry-pi-or-other-linux-devices-hostname/ -When I use the host name on the ssh ...
0
votes
1answer
270 views

Ubuntu wrong clock time (universal and local)

Local time and universal time are wrong. They are shifted to -2 hours to the real time. Setting the timezone didn't solve because the universal time is wrong. I'm running Ubuntu 14.04 and I have a ...
6
votes
2answers
703 views

What does the output of fdisk mean?

I've got a flash drive and I want to understand the properties of it as is outputted from fdisk. I inserted it and check the dmesg and I could see that it was mounted as /dev/sdb1 so I ran fdisk to ...
3
votes
2answers
3k views

What does an empty iptables mean?

I'm using CentOS and when type the command: iptables -L -v The output is as follows: Chain INPUT (policy ACCEPT 19614 packets, 2312K bytes) pkts bytes target prot opt in out ...
0
votes
1answer
24 views

Mount external drive as writeable for all users

Okay, the neat thing about Ubuntu is that it automatically mounts any extra drives as read/write for non-root users in /media. But, whenever I use mount from the command line on Ubuntu or any ...
1
vote
2answers
66 views

Is it safe to remove /var/cache to free space?

I am trying to free some disk space from my Ubuntu 12.04 installation before making an image of the partition. I was wondering if it is safe to delete the contents in /var/cache? Here are the top ...
0
votes
0answers
7 views

Setting up a zyxel dlsam without ppp server

Hi I'm trying to setup a zyxel IES-1000 dslam, it's networked to a router and I have an adsl modem connected to port 1 on the dslam. The line syncs ok but the modem doesn't get an ip address i've ...
2
votes
1answer
19 views

Copy file from remote host to another with scp/ssh tunnel

I want to copy a file from a remote host (remote1) to another remote host (remote2) via my local machine. I can only establish ssh connections from this local machine to either of the two remotes. ...
0
votes
0answers
6 views

BTRFS & F2FS userspace utilites cross compilation

Is there any weblink/document which describes the steps to cross-compile btrfs & F2fs user space utilities ? Any steps ? special tuning suggestion for arm based board.(AM335x) ?
1
vote
0answers
23 views

How to download certain elements of a web page, skipping long tag attributes

(formerly titled: Curl -- how to exclude certain elements) Background: I regularly use command line cURL (on linux) to retrieve web pages. Situation: A new page I have to get is heavily bloated with ...
0
votes
2answers
34 views

Can you see whats happening under the gui?

When I start application with gui from linux terminal, i am able to see whats happening iunder the gui in that terminal. And if it crashes, most of the time there is problem why did it crashed. So my ...
0
votes
1answer
23 views

Changing TCP sliding window behaviour

We all know that TCP's congestion control uses additive (linear) increase and multiplicative decrease when adjusting sliding window size. Is there a way to change it to "linear decrease"? When a ...
0
votes
2answers
40 views

du and ls report different directory size?

In trying to verify that a copy-operation completed successfully (or at least that it didn't skip any files), I ran du -b inside the source and destination directory and it showed a difference of ...
0
votes
1answer
20 views

Rename files do the tree folder name in terminal, shell mac or shell linux

I'm working with a tree of folders and files with the structure \ Stories \ 00 \ 0 \ 00000 \ temp.xxx \ Stories \ 00 \ 0 \ 00001 \ temp.xxx ... \ History \ 10 \ 5 \ 10552 \ temp.xxx \ History \ 10 ...
0
votes
0answers
2 views

Apache redirect awstats always to the same configuration

I configured apache to make a simple redirect for awstats: RewriteRule ^/awstats$ /awstats/ RewriteRule ^/awstats/$ /awstats/awstats.pl?config=domain.com [R] This configuration is inside a ...
0
votes
0answers
11 views

systemd user and system

I'm trying to understand a little better systemd by writing some services. I have difficulties in understanding the differences between those 2 services for instance, well I'd like to be sure I ...
0
votes
1answer
41 views

Beets, the geek's music organizer | condition output path based on genre

The library organizer i'm using is called beets. Here's an example of my library: ~/Music/$albumartist/$album/$track - $title ~/Music/Eminem/The Slim Shady LP/02 - My Name Is.mp3 When importing I ...
1
vote
1answer
77 views

How to create a partition on a shrunk LVM volume

I have a Linux LVM volume that is about 400 GB. I have shrunk it to 200 GB to get some space for a new NTFS partition on which I can install Win7. umount /local e2fsck -f /dev/mapper/vg00-lvol2 ...
0
votes
1answer
28 views

chkdsk /f /r alternative in ubuntu linux

In windows os chkdsk /f /r will fix a hdd error automatically.i have lost access in my laptop though i am able to live boot into my laptop using linux.I have live boot ubuntu 14.04 and i am in a need ...
0
votes
2answers
2k views

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

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

Automount ZFS zpool in Ubuntu 12.04

So, I've been told that ZFS for Linux has the ability to automatically mount a zpool on system startup in Ubuntu 12.04, but it doesn't work for me and I can't find any documentation on how to make it ...
1
vote
0answers
13 views

Copy files from GoPro over USB on Linux

I'm having a problem to copy files from GoPro over standard USB connection. I can copy tons of photos without any problem, but the connections break when I copy large (800Mb+) video files. In my ...
0
votes
1answer
83 views

How solve permission problems for docker in ubuntu?

I have installed docker as described here. I use Ubuntu Trusty 14.04 (LTS) (64-bit). Everything during installation was well. Also command $ sudo docker run -i -t ubuntu /bin/bash completes well ...
0
votes
1answer
15 views

Getting `du` to ignore size of `.` and `..` entries

Is it possible to have du leave out the size of the . and .. entries in each directory? I can't find a specific switch for it. Here is what doesn't work: du -S: doesn't change anything if there are ...
0
votes
0answers
15 views

Unable to open files with OpenVPN and samba (writing works)

I have setup a samba server and it works correctly from the local network. When accessing via OpenVPN both from Windows and GNU/Linux writing works but can't open any files. It just timeouts when ...
2
votes
2answers
723 views
1
vote
1answer
7 views

Telling 'Find' to exclude core system directories (“! -name -'*.svn'” doesn't work)

I'm trying to do a "search and destroy" on the copy of GHC that's currently installed on my system (so I can reinstall a new version). As part of locating any residual files which may be left over, ...