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

2
votes
1answer
133 views
+50

selinux doesn't have httpd_can_network_connect as an option on ubuntu 15.04

I installed Ubuntu 15.04 and then installed selinux by doing sudo apt-get install selinux. I then did setsebool -P httpd_can_network_connect 0 and got a "Boolean httpd_can_network_connect is not ...
0
votes
0answers
9 views

Move partitions from pen drive to unallocated space in hard drive

I have built and installed Chromium OS on a pen drive following the instructions on this page. I can boot into the pen drive and use Chromium OS as if it were installed on my computer, I'm able to ...
0
votes
1answer
4k views

ubuntu 13,10 “Failed to download repository information”

I have ubuntu 13.10- 64 bit version on my machine.recently i tried to install postgres for ROR development but i couldn't complete the postgres installation and found that my update manager always ...
12
votes
3answers
8k views

how to know if noatime or relatime is default mount option in kernel?

I was trying to know if relatime or noatime was set on a filesystem, but i didn't found the information, neither in /etc/fstab, neither in kernel boot options. First of all, it seems clear that i ...
0
votes
0answers
8 views

RT5572 can authenticate using WPA2, but can't get an IP address from DHCP

I have a system running open embedded Linux with the Ralink RT5572 wireless usb card. I have the driver installed along with wpa_supplicant and I need to be able to connect to a WPA2 secured network. ...
1
vote
2answers
32 views

What's the fatest way to calculate in command line?

Is there a faster way to calculate in command line the following: echo "4 * 5" | bc
0
votes
0answers
23 views

Cannot access server via SSH in terminal

When I try logging in via ssh root@server.org I am asked for my password, however when I enter it, it doesn't work. I can access the server by a different user then run su root and the password works ...
1
vote
1answer
78 views

keymap swap underscore and dash

I have noticed that when coding I type underscores much more often then dashes. Is it possible to swap these keycodes so I can type shiftless underscores? I am using linux (chromebook developer mode). ...
1
vote
2answers
4k views

Linux 64bit on Virtual Box with window 7 profession 64 bit

I have HP ProBook 450 G1 Laptop with Window 7 Professional. It is Intel Core i7 and it claim it has Virtualization Technology. But I can't find it in Bios to enable it. Now I installed Oracle Virtual ...
1
vote
0answers
108 views
+50

To set up BitTorrent Sync with Buffalo NAS Linkstation

I have been reading this page about setting up Bittorrent Sync embedded into the Buffalo NAS linkstation (my firmware version 1.56). It prefers to this page about Buffalo's settings. Here a detailed ...
1
vote
1answer
25 views

xrandr | grep “ connected ” give me more than one line but IFS=$'\n' read can't break it

I have something like this: declare -a DISPLAYS AUXILIAR="$(xrandr | grep " connected ")" IFS=$'\n' read -ra DISPLAYS <<< "$AUXILIAR" Why it isn't detecting line breaks if echo ...
0
votes
0answers
45 views

Using a displaylink adapter with the Xorg modesetting driver

I have a USB2 displaylink adapter connected to my machine so as to make use of that nice second monitor I have here. The primary graphics card is the dreaded Poulsbo, so there's no hardware ...
0
votes
0answers
11 views

How to recover Windows partition in dual boot?

I've installed fedora 21 in my computer, i've made the partitons correctly, appears the boot menu and starts correctly in fedora, but when i try to boot in windows appears this error: Windows Boot ...
0
votes
1answer
18 views

I want to take tar backup of the directory whose name will be variable

I am trying to write a shell script in which I want to take tar backup of the folders which are formed on daily basis. For example my parent directory name is "log" and under this directory a ...
1
vote
1answer
30 views

OpenVPN server forwards DNS and Traffic to private + WWAN

Intended: OpenVPN server allows clients to masquerade as its public IPv4 on the WWAN, as well as connect to other local servers within the private network, e.g. the internal DNS server. The private ...
1
vote
0answers
21 views

Cannot remove file from Linux filesystem

I have this file and I cannot get it removed from the filesystem: [root@ad Windows10]# ls -las total 16 8 drwxrwx---+ 2 root root 4096 Jul 30 10:19 . 8 drwxrwx---+ 12 3000024 users 4096 Jul 30 ...
1
vote
0answers
34 views

Memory Usage of `yum update`

I was updating a slightly out of date server with yum update and ran into memory issues. It appears that yum requires enough free RAM to download each package. Updating single packages was not a ...
1
vote
2answers
39 views

Concatenate csv-files with the same name from subdirectories

I found some scripts concatenating text files from different subdirectories, but all of them produced output files like "output.txt", but didn't keep the original file name. Structure Folder_A ...
0
votes
0answers
6 views

proftpd ignores HideGroup [on hold]

I have an interesting problem when hosting a proftpd on a SL6 x86_64. When I compile from source, proftpd executable ignores the HideGroup feature. However, when I install an older version from epel ...
0
votes
0answers
9 views

To recover Calibre library from backup?

Assume your OSX's SSD broke but you have backup in Time-machine and your spare computer is now only Linux, for instance Debian 8.1. I opened a thread about the issue also to Calibre's forum here. How ...
3
votes
2answers
618 views

Fastest way to delete a non empty directory in Linux

I use the command rm -rf directory but i came across the following article : Article That suggests that rsynch to an empty folder is the fastest way? rsync -a –delete empty/ a Why is this the case ? ...
90
votes
13answers
57k views

How to reliably keep an SSH tunnel open?

I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken. If I could at ...
1
vote
2answers
6k views

How to make a desktop icon on centos 7?

I am new to Linux and this may sound very dumb but I need to make a desktop icon on centos 7 but I don't know how to do it. I tried googling but I can't even find Launcher. Need help
1
vote
4answers
32 views

Capitalize “FILE name.TXT” to “File Name.txt” in Linux Bash

I need a oneliner to rename all files in a directory from SomeThing.TXT NOT A FILE.ogg sensitive lalala.doc to Something.txt Not A File.ogg Sensitive Lalala.doc Most existing questions seem to ...
0
votes
4answers
631 views

Is Linux or Windows better for learning Network Administration? [on hold]

I am currently studying for my CCNA, and while the textbook I have uses Windows throughout, is it better to learn it through Windows or Linux for Enterprise Network Administration? (By "better" I ...
0
votes
0answers
10 views

After formating a pen drive, the drive appears full of undeleatble garbage files

I'm trying to format a pendrive, under linux (Debian). I insert the pendrive and do not mount it. I log in as root and write: mkfs.vfat /dev/sdb This gets me the error: mkfs.vfat: Device ...
1
vote
1answer
46 views

Installing a systemd service from an RPM?

I've been creating RPMS (using CMake's CPack) which install everything into /opt, and then the postinstall script copies the service definition files to /etc/systemd/system. I've toyed around with ...
2
votes
3answers
2k views

How can I stitch 2 video files using ffmpeg?

I've created some time-lapse videos from photos, using this command: ffmpeg -i IMG_%03d.JPG -s 1440x1080 -sameq video.MP4 And it worked great. Now I want to join several of these time-lapse videos ...
79
votes
12answers
141k views

How to wipe free disk space in Linux?

When a file is deleted, its contents may still be left in the filesystem, unless explicitly overwritten with something else. The wipe command can securely erase files, but does not seem to allow ...
0
votes
0answers
3 views

Xorg not working properly in arch linux

New to Arch Linux and having problems getting any desktop environment or window manager to work properly after a clean install. After I installed the Nvidia graphics driver for my laptop I installed ...
0
votes
0answers
12 views

How can I run ssh without required dash options to run in background and open a new terminal

Similar to this and this question I want to ssh as a different user to a different host and run an interactive command. At the same time the ssh connection should drop to the background. The added ...
0
votes
3answers
3k views

Unable to connect to samba shared folder via windows

im new to linux and Samba. Aim Create a called Shared_folder which can be accessed by ALL users (group name = users). Therefore, in order to map the drive in windows, the user is promoted to enter ...
0
votes
1answer
75 views

Installed windows 10 and Linux, how to safely remove the Lenovo recovery partitions without messing up the boot?

Please look at the following screenshots. Is /dev/sda1 useful at all (Windows says it is a Recovery Partition)? Can I remove it? It is only 1000MB and removing it seems no use, so the best I can do ...
0
votes
0answers
12 views

ethtool or mii-tool support for kernel 2.6.24

I have a embedded system that has kernel version 2.6.24. I want to use ethtool or mii-tool in this system. I cross compiled ethtool package for powerpc mpc8250 cpu. when i use ethtool, I get ...
1
vote
2answers
6k views

SSH error ssh_exchange_identification: read: Connection reset by peer

I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
0
votes
0answers
7 views

How can I change the startup options on a (L)Ubuntu bootable USB drive?

I'm trying to install either Lubuntu or Ubuntu on an old Dell Netbook which has a 32-bit processor and 1 GB of RAM. I copied the Lubuntu ISO to my USB flash drive using a 3rd party program called ...
0
votes
1answer
16 views

How do I view the tab completion function for a command in bash?

I ultimately want to alias screen -r. I mostly want to do this because that command has an awesome tab completion feature that shows me the current GNU screen sessions. I want that power with the ...
0
votes
0answers
14 views

How to send the Escape Key inside VirtualBox “vi” session?

When using a "vi" session within VirtualBox, how can I send the Esc key to change modes from input mode to command mode? I have tried many combinations which do not work: Ctrl + Esc Alt + Esc ...
1
vote
0answers
16 views

Apache 2.4.16 fails to start in XAMPP stack “No space left on device: AH01760: failed to initialize shm”

At first everything appears to work fine; running sudo lampp start prints Starting XAMPP for Linux 1.8.3-4... XAMPP: Starting Apache...ok. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...ok. ...
3
votes
1answer
5k views

wifi p2p between ubuntu 14.04 and android

I attempted to make a wifi p2p connection between Ubuntu 14.04(kernel 3.13) and Android 4.4 Kitkat(Samsung Galaxy Note 2) In Ubuntu I use wpa_supplicant v2.1 which is built in to Ubuntu ...
0
votes
1answer
22 views

Can I create a virtualbox server that manages all lan traffic and only when running?

I'm running a Windows 7 host and a Linux Mint guest vm in Virtualbox using a bridged adapter. I have multiple web sites set up in the guest os. Currently, I can only access the page at var/www/html ...
6
votes
4answers
2k views

How do I extract all the external links of a web page and save them to a file?

How do I extract all the external links of a web page and save them to a file? If you have any command line tools that would be great.
2
votes
2answers
826 views

Grep default color option

grep is one of the most commonly used command in linux. It feels to me that its basic feature to highlight the string you searched for on the output lines. this can be achieved by --color option. ...
0
votes
1answer
28 views

Run command when a specific ssh config connect fails

This is a bit of a long shot, but what would be the best way of getting ssh to, if a connection fails, run a command, and then retry to connect. To share my use case, I am ssh-ing over an ssh tunnel ...
0
votes
2answers
349 views

What is the use of option -u in the Linux cat command?

In the man page of cat, -u means (ignored) [raj@localhost zzz]$ cat file1 hello world 1 2 3 4 5 6 7 8 9 0 ! @ # $ % ^ & * ( ) _ + ~ ` ; ' , .{ } [ ] = | \ / - [raj@localhost zzz]$ cat -u ...
1
vote
1answer
50 views

lubuntu - change default window manager (awesome wm)

I'm using Lubuntu 14.10 and trying to change the default window manager to awesome. I installed awesome with: sudo apt-get install awesome Per the awesome wiki, I tried editing the ~/.xinitrc file ...
0
votes
1answer
13 views

Restrict sybase command stop_iq to certain linux users

I want to restrict access to stop_iq database shutdown utility to authorized users only under Linux, for example to the user 'dev' that belongs to group 'grp_dev'. I know the command is under this ...
0
votes
2answers
32 views

zero a large block device with parallelized dd

We have a sixty terabyte block device which we want to zero using dd. Is it possible to parallelize this operation in order to reduce the amount of time it takes? I've tried running the following ...
1
vote
0answers
9 views

Need help setting upo Fedora (or CentOS) networking where VMs are bridged to external network cards

I have a RedHat style linux machine (currently running Fedora 21) which is host for a variety of virtual machines with variety of guest operating systems. It is essential for my purpose that the ...
1
vote
2answers
372 views

Would a Windows 10 install overwrite Linux/Grub?

I'm currently multi-booting Windows 8.1 and Ubuntu. Next Wednesday, I plan to upgrade Windows to version 10, but before I do that I'd like to replace Ubuntu with Arch Linux. Is there any point in ...