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
1answer
108 views

How do I see the size of all .XML files in subdirectories on Linux

This a stupendously simple question. How do I see the total bytes consumed by XML files in a subtree? I've tried ls -R *.xml but it says No such file or directory (I'm a Windows Engineer and C# ...
0
votes
0answers
60 views

Memory managemnt Linux 3.0+

using Ubuntu 12.04 with 2 Gb DDR3 ram with 3.2.0-39-generic free -k total used free shared buffers cached Mem: 2012040 1875968 136072 0 ...
0
votes
1answer
27 views

Issue with user creation in linux

I want to create two user with only read permission to their home folder. And other new user which can read write and execute the file in above two user folders.
0
votes
1answer
43 views

Why does 'which' give incorrect result?

I am executing on a Ubuntu 12.04 shell the following command: sudo bash -c "echo $PATH; which python" which displays something like ...
0
votes
1answer
104 views

Is it possible for linux to have a smooth booting process?

When I boot any GNU/Linux distribution (tried it with ubuntu and OpenSUSE), the booting process goes like this: POST grub ugly text dumping, usually loading dæmons splash screen tty prompt flickers, ...
0
votes
2answers
89 views

Create a network between 3 computers

I have to make a configuration like following: PC1 ---- PC2 ---- PC3 The point of this is that I want to send data from PC1 to PC3 but doing something with the data in PC2. I have 3 ubuntu ...
0
votes
0answers
184 views

Is it possible to set up a raspberry pi with an Active Directory account?

We are looking at various ways of giving our raspberry pis access to our network and I was wondering if it was possible to give a Pi an active directory account so it can log on to a windows network?
1
vote
0answers
174 views

how to convert dll.files into linux files

Installed Linux mint yesterday cause W7 does work anymore. Linux mint works OK. How can I convert my email history from emClient (dll-files) to linux-files. I tried importing in Thunderbird, but ...
3
votes
3answers
3k views

Pipe System sound to another computer

i have no speakers in my PC(Cent-OS 5.5) but there is a stereo speaker connected to the computer next to my Computer(Cent-OS 5.5). Both computers are networked. Is there any way to pipe my system ...
1
vote
2answers
450 views

Elegant solution for streaming media from home server

I recently moved (~65mi). I have all my files on my Linux Server at home. I want to find a way to have 2 Ubuntu Workstations (at my office/apartment) and Laptop to all be able to stream my media from ...
2
votes
1answer
2k views

Linux: set up media server to stream video via the Internet?

How do I set up a media server in Linux which streams video over the internet? Is it easy to do this? I want a server that will actually encode video in real time to allow it to stream over sometimes ...
0
votes
1answer
777 views

Cannot install net-snmp because of failed dependency

I have a server here that is running SuSE Linux Enterprise Server 11 (i586) patch level 1. I am trying to install Net-SNMP on the machine. I downloaded the net-snmp-5.4.2.1-8.2.i586.rpm file and ...
0
votes
1answer
170 views

Is it possible to have simultaneous multiple keyboard input on a single Linux machine?

Basically, I want the ability to connect one or more USB keyboards to a machine, and have each keyboard control a separate terminal emulator. Both keyboards would be in use at the same time. Mouse is ...
2
votes
2answers
2k views

Why is it quicker to switch between threads than to switch between processes and share data between them?

Why is it quicker to switch between threads than to switch between processes and share data between them? For example, in the apache web server running on ubuntu can use either the Prefork MPM ...
-1
votes
1answer
806 views

How to create bridge with hostapd

I want to bridge traffic between wired eth and WiFi interfaces in the same PC. WiFi interface I want to operate as access point. I use hostapd for it. Using brctl I create bridge and add eth0 ...
0
votes
1answer
171 views

Boot Ubuntu from Multi Partition USB drive

I have an USB that is of 3 partitions G:\, H:\ and I:\ Both G:\ and H:\ are write protected. I have recently installed Ubuntu 13 in I:\ drive using the USB Installer. I would like to Try Ubuntu ...
0
votes
1answer
423 views

Tar of Linux Kernel corrupted error while untaring

I have downloaded two versions of Linux kernel 3.9.9 and 3.10 from kernel.org. When I am trying to untar this file I am getting this error Lzma library error: Corrupted input data . I am not ...
2
votes
1answer
988 views

Virtualbox: is my partition dynamic or not?

I'm using Virtualbox on a macosx host and unfortunately my hosted system, a linux mint installation, has run out of space. I thought it was dynamic but evidently it is not. It is a vdi filesystem. In ...
0
votes
1answer
258 views

Will setting the processor affinity for Pyrit improve the rate at which it cracks a wireless key?

I have an Alienware i7 with Kali linux, and using Pyrit could try about 2000 keys/second. I configured the GPU (nVidia 9700) and that increased the rate to between 3k and 8k keys/second, but I feel ...
0
votes
0answers
105 views

OpenSSH over VPN (unable to bring up tun0)

I have a nerwork(10.1.2.0/24) where i connected OpenSSH server and OpenSSH client via a switch. I am following this guide: http://bodhizazen.net/Tutorials/VPN-Over-SSH/ I can successfully ssh to ...
0
votes
1answer
891 views

Logging incoming IP addresses on a specific port

I've tried tcpflow and iptables but I'm unable to do so. I believe someone is attempting to DDOS my open port which is a server, so that my clients are unable to connect. From tcpflow I'm able to get ...
-2
votes
3answers
1k views

how to transfer zipped folder from windows desktop to unix server without using tools like winscp

I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual ...
0
votes
1answer
73 views

Bash script: allow change of “environment/identity”

I came across this problem now several times and I would like to find a way to automate/script this things that involves a change of identity or environment (I am not sure how to call that precisely). ...
0
votes
1answer
275 views

How to install wine from the terminal in linux?

I'm installing wine from the terminal in Linux Mint 15 (Cinnamon). Here is the command I ran: sudo apt-get install wine When it gets to 100%, it shows this. I tried pressing Enter, but it did not ...
0
votes
2answers
151 views

Linux output line numbers where string match appears

what I'm looking to do is boost the command I already have to return line numbers of where the specified string appears: grep -r -l -n -w "ePKI" /home/websites/www/* > /home/keywords.txt The ...
2
votes
0answers
204 views

xev says Caps Lock remap worked but other apps don't see it

I'm trying to remap Caps Lock to Control. Before I modify anything, xev reports the following for a press/release of Caps Lock: KeyPress event, serial 73, synthetic NO, window 0x2600001, root ...
10
votes
4answers
12k views

How do I change the default startup directory in Cygwin?

Whenever I start cygwin, I need to cd several levels down to the only directory that I care about when using cygwin. How can I get cygwin to start in this particular directory by default...i.e., ...
2
votes
1answer
156 views

Reconfigure line-in as analog-out

I am trying to reconfigure my "line in" as another "analog out" and use it alongside with the default analog out port. I am using an onboard realtek sound card. It is very simple to do this in ...
0
votes
1answer
70 views

Python process has no traces after unix terminal session is closed or timed out

I have started a long running python script. It was supposed to be running for more than 4 hours. I have started the script in a background redirecting console output to some text file. I was ...
0
votes
1answer
296 views

How much hard drive space is needed for Linux and Windows

I want to install both Windows 8 and Linux on my PC and was was wondering what is the minimum amount of hard drive space that I will need to accomplish this. Also, are there any apparent pros/cons to ...
5
votes
3answers
2k views

Edit Windows startup applications from Linux

I'm dealing with a Windows 7 that has got a virus that starts immediately on startup, locking the screen. It also runs in safemode (even with command prompt only). Only option is to switch the ...
7
votes
4answers
18k views

How to know my wireless card has injection enabled?

I am playing around with aircrack. And was trying to see whether my wireless card on my laptop can pass the injection test And I end up seeing the following... does it mean my wireless card is not ...
1
vote
1answer
77 views

Storing SSH passphrases for a session

So I recently moved from Ubuntu to Debian and noticed that after I authenticate via typing in my passphrase for my private ssh key, I still need to enter it again if I connect elsewhere. Ubuntu used ...
2
votes
1answer
555 views

Minimal emacs24 installation on ubuntu

I need a minimal emacs 24 installation for distribution in a virtual box. When I try to install emacs-snapshot from synaptics I get tons of stuff installed like ghostscript and imagemagic and various ...
0
votes
2answers
244 views

Linux Log off Script on Pardus

I'm trying to run a script when user logged out. My linux distribution is Pardus that uses KDE. How can I do this? I've heard about "/.bash_logout" but I couldn't implement that. Where should I ...
0
votes
1answer
59 views

what is the significance of “tui”

Both system-config-network and system-config-network-tui seem to do the same thing. I've come across other similar commands as well. What is the significance of "tui"? Should it always be included ...
2
votes
1answer
487 views

ubuntu - mount iso case sensitive

I got a ISO which contains case-sensitive file/directory-names. When mounting it on my Ubuntu 12.04 system using mount -o loop, all filenames are lowercase. There is an option called map=off, but ...
1
vote
2answers
229 views

Preventing copying from hard drive

Is there any cross-platform solution for preventing the computer's hard drives from copying to external media? I'd like to secure work machines so that data can't be transferred anywhere else (or at ...
1
vote
2answers
2k views

`adduser [options] user group` fails ubuntu 11.04

I'm want to use adduser However it doesn't seem to work if I provide the second argument for the user's group root@a:~# adduser rick staff adduser: The user `rick' does not exist. The group exists ...
1
vote
2answers
755 views

Is there a way to reduce a motherboard chipset load in Linux?

I'm interested in reducing the load on the motherboard chipset, or at least, finding what causes the overheating... I have an HP ProBook 4720s with Ubuntu 12.04, which is slightly overheating. The ...
0
votes
2answers
1k views

Dual-booting Ubuntu and Pardus with GRUB2…Pardus no show?

I have Ubuntu 10.10 installed and used to dual-boot Fedora, but I replaced Fedora with Pardus. After the install, I went into ubuntu, and did a sudo update-grub. It detected my Pardus 2011 install ...
0
votes
0answers
133 views

Linux Red Hat fails to mount encrypted USB stick in exec mode

I'm having trouble with an encrypted USB stick. In order to view the encrypted partition, software on the stick must be executed, but as soon as the stick is plugged in, it is mounted with executable ...
1
vote
2answers
244 views

Is there any way I can add alternative key binding to a feature in compiz?

I was wondering is there any way to add additional, alternative key binding to a particular feature in compiz? I am using Wall plugin and on my ThinkPad it is convenient to switch between horizontal ...
1
vote
2answers
67 views

Running a command on all files in Linux

Say I want to run a program or transfer files over the network using scp, and I create a screen and run those commands in the screen using * to indicate that I want the command to apply to all files ...
0
votes
2answers
410 views

Postgresql on linux ami

I'm a newbie to aws and postgresql I've launch an instance with quick wizard of linux ami 2013.03.01 It says that the instance include a repository access to postgresql - I thought that means that ...
0
votes
1answer
382 views

Network Manager stopped recognizing wired connections

I'm using OpenSuse 12.3 with a Gnome interface. I am able to connect to any wireless network but my network manager just stopped recognizing wired ones. I'm not even show the "wired connection" menu. ...
0
votes
2answers
92 views

ls command thinks directory is file

I have a directory brothers which contains files John.txt and Max.txt. I can cd into and out of directory brothers with no problems. However, when I'm in brothers superdirectory (one level up) and I ...
1
vote
2answers
850 views

Find directories containing a certain number of files

Was hoping I would be able to do this with the find command but I can see no test in the manual for doing what I want. I would like to be able to find any directories in the working directory that ...
0
votes
1answer
283 views

ssh: execute privileged command when a non-root user logs in?

I am trying to run a command/script that requires root privileges when a non-root user logs into ssh This unfortunately means I cannot use ~/.bashrc or /etc/bashrc I also tried /etc/ssh/sshrc but ...
1
vote
1answer
1k views

How do I safely kill xscreensaver from a script/the command line?

I'm using a Linux (RHEL6) workstation. I have a small script I wrote which locks and unlocks the screen via xscreensaver when I connect or disconnect my USB thumb drive, which effectively turns it ...