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
2answers
404 views

How to unrar the STDIN?

What I have tried: cat archive.rar | unrar x - cat archive.rar | unrar x /dev/stdin cat archive.rar | 7z x - cat archive.rar | 7z x -si cat archive.rar | 7z l -si The unrar doesn't recognise the - ...
1
vote
1answer
296 views

Mounting ntfs subdirectories of device

I have an external hard drive mounted in arch-linux using /etc/fstab: dev/sda1 /mnt/share ntfs-3g user,users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 charles@arch ~ $ ls -l ...
1
vote
2answers
73 views

Echoing output to file while seeing it in console in the same time

So I echo output of my programs ran in terminal by command 2>&1 >> /path/toFile.txt It creates few limitations that I want to overcome: It "freezes" and gives no output in terminal - ...
1
vote
2answers
9k views

Windows 7 can't connect to samba share on Linux

I have three machines with Windows 7. Two of them can connect to my Linux server which is hosting a SMB share, while the third can't. I don't understand why this happens, because I connected once, ...
1
vote
2answers
104 views

How to make the system detect hard drives as a designated block? (e.g. /dev/sde)

If I attach a hard drive to the system, and I want the system to recognize this device as a /dev/sde device rather than the default /dev/sdb. How should I do that? Thanks.
1
vote
5answers
58 views

Make all changes by a user reversible on linux

Is it possible to safe all changes a user does in his home directory? The idea is to be able to recover a home directory if a file is deleted or overwritten. My problem is having an old family member ...
1
vote
3answers
133 views

Keyboard no longer works when entering BIOS

I am trying to boot from USB so I can install a couple different Linux distros. I can enter the BIOS, but as soon as I enter the BIOS the keyboard lights switch off (Num Lock and Caps Lock) and I ...
1
vote
1answer
3k views

Running remote scripts on Linux Servers from Windows

I'm on a Windows server, I'm looking for a way to run some scripts (through RSH?) remotely on Linux servers. Thing is, I have to do a lot of stuff manually on different servers whenever I want to ...
1
vote
1answer
70 views

Linux Virtual Machine for Windows 7 that will run Keryx?

I'm having a problem getting packages onto a Linux computer that doesn't have an internet connection. The accepted answer here suggests Keryx, which needs a Linux computer with internet to get ...
1
vote
0answers
19 views

Mounting a VBox shared folder as user [duplicate]

In my Windows host, I have an Arch linux VirtualBox guest. I setup a Windows folder as a shared folder in VBox. I then manage to mount the folder as type vboxsf in my guest (done in /etc/fstab), but ...
1
vote
1answer
6k views

airmon-ng shows empty results in Backtrack 5 R3

I installed VMWare Workstation 10 and Backtrack 5 R3 64-bit as a virtual machine on it. Currently, I am using Windows 8 64-bit. When I run airmon-ng in Backtrack, it shows empty results. I searched ...
1
vote
0answers
153 views

How to merge 2 mp4 files with 1 atom?

I'm merging two mp4 files for video streaming. the problem is, the merged file contains two atoms, 1 atom from each file and that is a problem when it comes to streaming. the client needs to wait ...
1
vote
1answer
465 views

Two partitions on USB drive

I want to have two partitions on my USB drive. First one mainly for all files, I decided to be FAT32 because it works on Linux and Windows. Second one for my Linux Mint backup and private files, ...
1
vote
1answer
1k views

Ubuntu 10.04 using ssh without entering my password

I know questions like this have been asked before, and I have read them all (that I found). The problem I have is that we have an embedded linux device that we can log into for debug purposes by ...
1
vote
1answer
82 views

Bootloader can't load Windows?

I am using Windows 7 and it's installed on Local Disk C. I also installed Linux on another Local Disk. Because of the lack of storage, I formatted the local disk of Linux and merged the space with C. ...
1
vote
1answer
905 views

How can a partition be full if du does not show it is?

On one of my systems, the root partition is full: snip:˜ # df -h Filesystem Size Used Avail Use% Mounted on rootfs 11G 9.3G 0 100% / devtmpfs 744M 36K 744M 1% /dev ...
1
vote
2answers
358 views

e2image restore file system metadata

I'm trying to recreate file system metadata on a virtual disk. I can save this metadata using e2image, and the e2image man page tells me I can use e2image -I to restore the file system. Unfortunately, ...
1
vote
5answers
278 views

Pre-authorise sudo? (So it can be run later)

I often set my work computer running some time-consuming computations before I go home in the evening. After they're done, I'd like it to shutdown. However, as shutdown requires root privileges, it ...
1
vote
3answers
184 views

Linux - Protection from ourselves (Root)

I love Linux and everything she stands for; however, unfortunately I grew up with Windows. Thusly so I have learned very bad practices (such as NT Authority will protect me). I have several Linux ...
1
vote
2answers
587 views

How do I configure a linux machine to ignore wifi when connected via LAN?

My laptop is set to automatically connect to my campus wifi network, which is desirable under most circumstances. However, in my office, the signal is quite poor, so I rely on a wired connection. ...
1
vote
2answers
2k views

How to chmod +x a file in Windows, for use in Linux?

I have a file that needs to be executable in Linux, which I'd do by using chmod +x when using Linux. My problem is: this file is compiled in Windows, and it's a pain to have to open my Ubuntu VM to ...
1
vote
1answer
1k views

iceweasel (firefox) browser re-installation

I uninstalled my browser (iceweasel) from Add/Remove Software option in Kali Linux.At the time of removal it asked for one dependent package also to be uninstalled that I don't remember. But now when ...
1
vote
1answer
655 views

Should I create an EFI Partition In The Debian Installer?

In the Debian Installer after you are done partitioning I was asked if I wanted to create an EFI partition. I do have Windows 7 already installed in EFI mode apparently (that was a mess up on my part) ...
1
vote
0answers
472 views

Reusing pre-installed Windows8 OS after installing Ubuntu Linux alongside it

I've bought a laptop which came pre-installed with Windows8 (UEFI enabled). I've read in many places that if I install Linux alongside it, I could run my Windows8 virtualized (instead of using dual ...
1
vote
2answers
315 views

Grub boot loader uninstallation

The laptop I use is Acer 5733. I've partitioned my HDD as AHCI and IDE modes and installed Red Hat server in AHCI and Windows 7 in IDE. Now I want to remove Red Hat, how do I do this? Thank you in ...
1
vote
1answer
347 views

Is there a way to limit maxdepth for ls -Rhal?

Is there a way to limit maxdepth in a ls -Rhal command? I am aware of find . -maxdepth, but I want to be able to get the file information that comes with ls -Rhal.
1
vote
6answers
30k views

Can't Boot from USB - even with Bios set correctly

I can't boot from USB even though the BIOS is set to boot from USB first. Windows Boot manager somehow seems to be taking precedence. I have Windows 7, Linux Mint and Ubuntu installed on my ...
1
vote
2answers
527 views

How do I restore windows 8 / hard drive after hard drive overwrite?

So I have been a bit of an idiot... I was installing fedora and I clicked through the partitioning without much attention assuming that fedora would be installed in dual boot. It seems to have ...
1
vote
1answer
535 views

I accidentally deleted my /root folder and now my shell string is different. What gives?

I stupidly managed to delete my /root folder on CentOS. I re-created an empty /root folder and set root privs to it, but now my shell string in PuTTY is different. Whereas it used to say ...
1
vote
2answers
166 views

How do I list every other file extension using regex on Linux?

I have the following command which lists all files that have the extension .swf however I would like to return a list of every file that does not have the extension .swf find . -maxdepth 1 -regextype ...
1
vote
2answers
237 views

Processors cores over processor speed [closed]

Dual 5520 Quad-Core Xeon 2.26GHz with HT & Turbo(2.53 GHz) -vs- Single Quad-Core E3-1240v2 (3.4 GHz to 3.8 GHz) I run web hosting. I'm just wondering which would be more ideal. Personally, I am ...
1
vote
4answers
82 views

Catalog of programs listed in bash

In bash (or any other shell), when you type "firefox" or another command, how does bash point it to its actual location (/usr/bin/firefox)? Also, where is the "catalog" for bash autocomplete?
1
vote
2answers
1k views

On a linux shell, what is echo $? supposed to do?

I came across a shell script where echo $? was used. What does this mean . How can we use this in a shell script. Are there any references for this.
1
vote
0answers
301 views

How to install reliable/flexible GRUB for multi-boot (Windows, Linux)?

This question must've been asked a billion times, but I haven't found a real GRUB-related solution. I need to install GRUB on a machine that'll have both Windows and Linux (Fedora) installed. It must ...
1
vote
2answers
1k views

List subdirectories one level down that do not contain a certain file

How can I find all subdirectories in a directory (only 1 level down) that do not contain a given file ?
1
vote
2answers
742 views

IPv6 tunnel from behind an ISP-level NAT

Previously, at a different location, I set up a Hurricane Electric IPv6 tunnel, which worked fine, allowed me to access IPv6 only sites and test the native IPv6 connections on my remote servers. ...
1
vote
1answer
243 views

Routing issue with bridged connection

I had a problem setting up a wired to wireless bridge on my Raspberry Pi box - but that is now fixed - Wired to wireless bridge in Linux - but the consequence seems to be that the squid proxy server ...
1
vote
1answer
632 views

Debugging “clogged” TCP connections

I'm having trouble with an internet connection that seems to randomly "freeze" arbitrary tcp connections when they have not been used for a while. The connections stay established, but no data is ...
1
vote
2answers
220 views

LVM without stripe

I want to use LVM to have a partition that spans over multiple drives. I know that there is a down side in that if one drive fails all the data in the array is lost. Is it possible to have LVM not ...
1
vote
3answers
592 views

Difference between xargs /bin/ls and exec ls?

Hi this may be a very newbie question, but why doesnt the xargs /bin/ls work in this case? I thought it was supposed to be faster? Also what are those /fd/3 directories? sh-3.2# find / -name 'GOALS*' ...
1
vote
2answers
4k views

How to automatically change permissions for files copied to a directory?

I would like to automate changing permissions for files copied to a directory. For example, any files copied to folder X should have mode 755, and any files copied to folder Y should have mode 700. ...
1
vote
1answer
5k views

Sharing Wifi-internet access via bluetooth

I'm on an extremely strict wireless network, which locks down one machine to one account. [Hotel wifi] Is there a way that I can share the Wifi connection with my android tablet via bluetooth? ...
1
vote
1answer
360 views

lshw tells me my processor is a 64 bits but my motherboard has a 32 bits width

Recently I noticed lshw tells me a strange thing. Here is the first part of my lshw output: bpetit-1025c description: Notebook product: 1025C (1025C) vendor: ASUSTeK COMPUTER INC. version: x.x ...
1
vote
2answers
2k views

Running Linux commands in the background: ampersand (&) or screen

Running an app in the background can be done by adding ampersand (" &") at the end of the app or via screen (by opening a screen session) if the app needs input now and then. Is there any other ...
1
vote
1answer
558 views

Restrict mouse from moving to secondary monitor

I have two screens connected to my system and I am working in Ubuntu Linux. Is it possible to make the mouse work only on one screen and to make it stop going in the second one?
1
vote
1answer
72 views

Printing: Different pages from different feeds (pdf)

I've got a pdf document and want to print it about 100 times with a Kyocera fs 4020dn printer. I'd like to have the first page on colored paper. Is it possible to tell the printer to take the first ...
1
vote
1answer
598 views

How to make VirtualBox headless answer on rdp port?

I'd like to run windows xp on RDP: $ VBoxManage modifyvm winxp32 --vrdeport 3389 $ VBoxHeadless -s winxp32 -v on Oracle VM VirtualBox Headless Interface 4.1.18_Debian (C) 2008-2012 Oracle Corporation ...
1
vote
1answer
1k views

Can I run a minimalist web-server on my router without rewriting the firmware with DD-WRT?

I read this article on Nezzen.net that says that you can make a web-server on your router providing that you rewrite its firmware with a free DD-WRT, Tomato, or equivalent. Leaving apart the fact ...
1
vote
1answer
118 views

How to view LuraWave images on Linux?

I have a number of images I compressed as LuraWave before I knew about advantages of open formats in general and Jpeg2000 or c44 in particular. What is the simplest way to view *.lwf images in Linux? ...
1
vote
2answers
1k views

Boot iso images from bootable USB

I'm trying to figure out an universal solution to have a multi-boot usb memory stick. I have some ISO images like: knoppix, debian, ubuntu, etc. Is there any way to do the following procedure: List ...