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

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 ...
0
votes
0answers
4 views

Only certain ubuntu 14.04 images accept ssh on parallella board

I'm hoping someone will have some specific insight into this problem even if they have no experience with the Parallella board itself. The Parallella is a microcomputer that's basically a number ...
1
vote
1answer
30 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
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
2answers
31 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 ...
1
vote
4answers
23 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
594 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
8 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
44 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
140k 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
2 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
9 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
36 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
10 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
5 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
10 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 ...
0
votes
0answers
13 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
12 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
15 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
825 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
348 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
48 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
7 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
3answers
31 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
7 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
236 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 ...
0
votes
1answer
291 views

option -f for linux command

this is the content of test file: this this this that is that a that MAP that map that when I do uniq testCase -f1, the result is: this this this that which is reasonable, but ...
2
votes
0answers
49 views
+100

How do I make my Lenovo Y50's subwoofer work on linux?

I have a Lenovo Y50 laptop which has a subwoofer integrated that works on Linux Mint 17.2, only if I download HDA Analyzer and change with it: PIN 0x17 -> Widget Control -> Check OUT and Uncheck ...
0
votes
0answers
15 views

What is the best way to create a local development environment in a linux machine without being in sudoers

I use a workstation for my development but it does not include all the libraries for my case. I like to install them for my use without any system wide effect. How should I proceed this is a linux ...
0
votes
1answer
347 views

How can I write my CPU temperature into a file on Linux?

Recently I installed lm-sensor for monitoring my CPU temperature. I am monitoring it by this command in the terminal: while [ true ]; do sensors; sleep 1; done But I need to access my temperature ...
0
votes
0answers
15 views

Debian Linux Desktop Environment breaking

I have recently started using Debian Linux as part of my project regarding Cubieboard PCs (Basically, a Raspberry Pi clone, identical hardware). One Cubie board has a Cubian X distro up, another ...
27
votes
8answers
41k views

How can I keep a process alive after closing the putty session?

I am using putty to interact with Linux server. I have started a process using putty. The process is running and will take 5-6 hours. I want that process to keep running after I close the putty ...
0
votes
0answers
8 views

Adding a windows partition to an existing Linux GPT/UEFI drive

I have a working Linux system that boots from a GPT/UEFI drive. I would like to add a windows partition to this drive, without destroying the existing boot system in the process. Theoretically, I ...
0
votes
0answers
4 views

dropbear dbclient + scp, equivalent to openssh “-oStrictHostKeyChecking”

Using dropbear's dbclient and scp implementation, is there a way to get the same behavior produced by openssh when using the scp option "-oStrictHostKeyChecking=no". In other words, can I make ...
0
votes
3answers
2k views

Dual boot linux mint 14 partitioning

I have 2 primary partitions installed: 100MB system reserved (NTFS) and 230GB Windows (NTFS). Can I make a linux /home partition so that different distros can point at it and use it's files? And will ...
0
votes
1answer
47 views

Where are Chromium extensions stored on Ubuntu Linux?

I'm using the Google Chrome Dev Editor app as a Chromium extension. My platform is Ubuntu 14.04 (trusty) with the LXDE desktop. I need to change some basic configuration such as the indentation size ...
0
votes
3answers
35 views

how to insert a text file in hosts.allow or hosts.deny?

So I read in man page of hosts.deny that i can input files in /etc/hosts.allow or hosts.deny to input ip addresses which i want to block or deny. So i tried doing this in hosts.allow sshd: ALL ...
0
votes
0answers
22 views

Using two persistence partitions on Debian 8 to increase storage

I use Debian Jess 8.0 with a persistence partition but no other permanent filesystem. I boot the live-cd from an SD card. Here is my persistence.conf file: /bin /sbin /boot /etc /home /lib/modules ...
1
vote
0answers
12 views

Configuring WebDAV for folders with index.php

I'm trying to setup a remote server for webdevelopment purposes. We want to use WebDAV for connecting our Windows-systems with this Linux server, which is working great now - the server is attached as ...
-1
votes
0answers
22 views

What are the posible solutions for maximum partitions achieved

Good day to you first. After solving a problem with rercieveing a file from my problem at this topic - Extracting files from windows to linux on a same partition i formated my C: (dev6) partition ...
1
vote
1answer
105 views

Whitelist USB drivers(kernel modules)

I am looking for a way to configure a whitelist of allowed usb drivers on Fedora. All other USB drivers should not be loaded. What's the simplest way to do so? I know how to blacklist drivers using a ...
0
votes
1answer
559 views

modprobe -k -q (missing parameter)

well, I got the following modprobe scripts modprobe -k -q streams what does the -k parameter mean ?. is it exist in older modprobe ? I don't see -k parameter in recent modprobe. Thanks for your ...
2
votes
1answer
5k 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) ...