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

0
votes
1answer
131 views

I installed LinuxMint on my Macbook Pro and now I want OSX back?

To be really honest, I was really stupid and retarded. I went ahead, one day and completely clean installed LinuxMint on my Macbook Pro. All of sudden, I seem to want OS X back. I tried making a USB ...
6
votes
2answers
4k views

Linux mint 10 seems to corrupt ntfs filesystem

I have linux mint 10 and windows 7 installed on the same hd. First partition is linux, then swap, then the windows system partition and finally an NTFS partition for commonly used data i would like ...
0
votes
1answer
109 views

Reallocate some free space to another partition

I'm at the moment in this situation: and I'd like to take likely 10GB from /dev/sda1 and add them to /dev/sda3 is it possible without damaging other partitions? It's like an hour I'm struggling ...
2
votes
1answer
99 views

vim: how run external app on a file if filename in register or variable

If I issue the Ex command :!xv file.png all is well, and xv starts and displays the file. But if file.png is in a register or variable, which is necessary as I wish to do this in a script, ...
4
votes
2answers
3k views

Change Behavior of Linux Power Button

I have a headless linux mint machine that I use for a file server and other things. It's been working great for me for a few years, but there's one issue - my cat likes to hang out on top of it, and ...
0
votes
2answers
146 views

What's wrong with this configuration of sudoers file?

I have to execute a shell script as another user, but without being prompted for a password. I've edited the /etc/sudoers file with visudo, adding the following line. _www localhost=(otheruser) ...
0
votes
2answers
445 views

Delay in FTP when transferring to a network storage

I'm having trouble with an FTP server, the FTP server is running on CentOS. The FTP server being used is VSftpd 2.0.5 ( I believe this is the default server that was installed with CentOS ). Prior to ...
0
votes
1answer
189 views

SSH from Ubuntu to embedded linux

I'm a beginner un networking. I'm trying to connect an embedded linux to my Ubuntu 12.04.3 LTS by Ethernet. I have configured the embedded system to work with a static IP adress (192.168.9.119). ...
37
votes
5answers
17k views

How can a linux kernel be so small?

An ordinary stable 3* kernel is about 70 mb now. But there are little linux distributions of 30-10 mb with software and other stuff running out of the box. How can the linux kernel be so small in ...
1
vote
1answer
417 views

Linux Messenger program to communicate with Windows 7/8 MSG.exe utility

I have found out that NetSend has been taken out of Windows 7/8 and replaced with Msg.exe. This is great and all, but if I want to send a message from Linux with smbclient to Windows without the ...
1
vote
1answer
143 views

Rename multiple files, exclude pattern

I want to rename multiple files using the command-line, removing a pattern from the filename while retaining the rest. Original output: $ ls Versailles - Holy Grail (2011) Versailles - Jubilee ...
1
vote
2answers
1k views

Redirecting output from syslog to own log

I'm following this tutorial: Using Fail2ban To Block Wrong ISPConfig Logins, but rsyslog won't redirect the output from a file to another: /etc/rsyslog.d/12-ispconfig.conf: if $programname == ...
10
votes
1answer
3k views

How to prevent SSH from disconnecting if it's been idle for a while

I have a ssh connection to a machine which gets disconnected by that machine after 30 minutes of no user input. However, if I start something like top, the connection stays alive. Since this is a ...
1
vote
0answers
257 views

Remote desktop - “taking over” a big screen TV w. Raspberry Pi

here at my workplace we have a 60" tv that's used for monitoring stuff. A laptop PC is connected to it at all times. I have experimented with replacing this laptop with a Raspberry PI unit. But it's ...
-1
votes
3answers
6k views

Software for controlling Windows 7 PC from Linux Mint over WLAN [closed]

I have two computers one running Linux Mint and other running Windows 7. I want to be able to control the Windows PC using Linux Mint. They are generally connected over LAN or Wifi using a router. I ...
1
vote
1answer
429 views

Linux: Random kernel oops in mmap functions

For the last month or so I've been getting seemingly random kernel oopses. I've started to notice a pattern: from looking at the traces, the call trace always involves mmap functions. Whenever one of ...
2
votes
2answers
1k views

NFS shares on OS X

I am trying to connect the NFS version 4 share on my Mac OS X 10.7 with no success: $ pwd /Volumes $ mkdir NFS $ sudo mount_nfs -o resvport,vers=4 192.168.0.1:/var/teterevkov /Volumes/NFS mount_nfs: ...
-1
votes
1answer
93 views

Can we install two kernel on same hardisk and on same partition?

I have a single hard disk. It has 6 partition and on the 6th partition i have installed Linux kernel-3.10.26 . Linux kernel-3.10.26 -> (hd0,sda6) Now i want to ask whether can i install another ...
1
vote
1answer
560 views

LXTerminal shortcuts work but also output to console

I installed a netinst of Debian 6, xorg, lxde and lxterminal. When I press Ctrl+Shift+T in the terminal, I get a new tab as expected, but the new tab also displays ^T before the prompt. The same for ...
2
votes
1answer
168 views

Gnu Parallel hangs as one process is “sleeping”

I am running a command in parallel using Gnu Parallel, which has two parameters as input, a directory and a conf file: parallel --gnu my_command ::: (ls -d dir*test) ::: properties.conf I run it on ...
1
vote
3answers
455 views

How can I know how much memory a program has used under Linux?

Get process memory consumption this question is about getting the memory usage of running program. I need to know how much RAM a program has used after it has finished. Say I am compiling a C++ ...
0
votes
1answer
85 views

Rename files from in1.jpg, in2.jpg, in3.jpg, etc to out0001.jpg, out0002.jpg, out0003.jpg etc using perl script `rename`

I would like to rename a large number files with names in1.jpg, in2.jpg, in3.jpg, etc to out0001.jpg, out0002.jpg, out0003.jpg, etc. Grateful if somebody would suggest a solution using the perl script ...
0
votes
1answer
77 views

Can one redirect too much data?

I am working on a Linux system that runs on Kernel 3.2.0. On this system I wrote a program that in the end will generate roughly 50GB of data that it then would send to stdout. This output I want ...
2
votes
2answers
321 views

Is there any linux server with public ip on the internet? [closed]

Im learning Linux but not always in home. Is there any Linux server on the internet with ssh and remote terminal enabled for testing and training?
2
votes
4answers
405 views

Version of Linux with a command prompt?

What is the name of the software for Linux which has a command prompt (terminal)? I am trying to download Linux with command prompt so that I can run it on VMWare, using a sandbox.
5
votes
2answers
2k views

How to make GNOME 3 use suspend-hybrid?

How can I make GNOME 3 use pm-suspend-hybrid instead of pm-suspend when closing the lid or using suspend from the menu?
0
votes
2answers
78 views

Is it possible to get SSH to forward empty arguments?

I'm trying to execute a remote script with SSH, and this script changes its behavior depending on whether or not a specific argument is empty. Here's a minimal example, where I created a simple tmp.sh ...
0
votes
0answers
152 views

Centos release 6.4 - files transferred via samba are corrupted

I routinely transfer files to remote linux machines via samba. On one particular machine, every file that I transfer becomes corrupted. For example, the example file 'test.txt': testing testing ...
0
votes
1answer
34 views

Disc light comes on when pressing keys in Iceweasel Preferences? Is this malevolent?

On Linux,I'm using the Iceweasel web browser (it's effectively Firefox), and in Edit/Preferences/General/Startup, when I type a URL into the "Home Page" box, the hard disc light comes on for EVERY ...
0
votes
1answer
78 views

Remapping XF86_Back/Forward to Control/Alt in X

I'd like to rebind the XF86_Back and forward keys in X to control and alt respectively. However, it seems that running xmodmap -e "keycode 167 =Alt_L" xmodmap -e "keycode 166 =Control_L" ...
1
vote
1answer
202 views

iptables detects clients behind NAT?

I'm setting up a server that I want to protect from DoS attacks, by setting a limit using iptables: iptables -A INPUT -p tcp --dport 80 -m limit --limit 25/minute --limit-burst 100 -j ACCEPT (default ...
1
vote
4answers
2k views

Linux, find all files matching pattern and delete

Looking to find all files (recursively) which have an underscore in their file name and then delete them via command line.
0
votes
1answer
125 views

Is there a way to loop a console command in Linux?

The Problem: I'm trying this (as root) in Fedora 19's console: yum install httpd All it returns is this: loaded plugins: langpacks, refresh-packagekits Error: Cannot retrieve metalink for ...
1
vote
1answer
118 views

Find the largest file in directory without size in output

I need to find the biggest file Only one file should be listed Search should work in given directory and subdirectories Output should display absolute path to the file with filename find "$PARAM" ...
0
votes
1answer
614 views

Windows 7 Laptop can`t reliably connect to my Linux SMB shared directory

I have asked this before, and everytime I think I found a solution it still will not work reliably, so here I go again. :( I have several Windows 7 machines in my network and a linux server which ...
3
votes
3answers
4k views

How to recursively list all files with timestamps and full path?

I want to recursively list all files in a given directory, with their full path and their timestamps. Something like this: 10:30 Dec 10 2010 /tmp/mydir/myfile I've tried with: find . -type f -exec ...
1
vote
1answer
277 views

Linux CPU energy saving hacks

I have a quad core CPU (Phenom II 945), because sometimes I need performance, but most of the time, 4×800 MHz (the minimal frequency) is still overkill for most usages. So, three questions ...
2
votes
1answer
4k views

Avoid errors from tar failing to restore directory permissions

I observe the following behavior with both tar 1.26 and 1.27.1: $ mkdir a b a/diffowner $ sudo mkdir b/diffowner $ sudo chmod a+w b/diffowner $ echo foo > a/diffowner/foo $ tar -C a -cvf test.tar ...
2
votes
1answer
1k views

How can one change a Firefox config setting from the CLI

My objective is to be able to automate changing of a config setting without having to restart the running Firefox instance. In particular I want to change the Network Proxy Type. So for example the ...
0
votes
1answer
53 views

How does a boot USB treat a deleted file?

I created a Linux LiveUSB from xubuntu. I boot into it, and understand that it’s running in RAM. My question is, let’s say I created a folder on the Xubuntu desktop (not the C: drive or an external ...
0
votes
0answers
65 views

Disable access to another Hard Drive Disks on Linux

I want to install some Linux disto into SSD disk, but I have another SSD with Windows, which I want to disable/unmount during running on Linux... Is there are some configs where I can set 1st SSD ...
0
votes
1answer
1k views

Route traffic from one address to another on one interface and to everything else through another interface

I have a small embedded computer running busybox. It has a wired eth0 interface, which is connected to an on-board wlan-module's wired interface by a cable. Also there's an 3G module on ppp0. I need ...
2
votes
2answers
85 views

Linux terminal single command resource usage

I cant find way to monitor single linux terminal command. I want to monitor this command: php index.php parse The problem is this process works too short to get pid so I hope there is something ...
0
votes
2answers
106 views

How to hide the destination of a symbolic link

Say for instance I want to link the following two directories with a command like this: ln -s /home/usertwo testdir When I click ls, in the directory where this link is created, i will see ...
-1
votes
1answer
245 views

copy files from one directory to other in loop

I am not bash expert. I need to write a script to copy latest (by date) file from one folder to another as following from /test/a/date1.bak /test/a/date2.bak /test/a/date3.bak /test/b/date1.bak ...
3
votes
1answer
9k views

How to install “mail”

I'm trying to install "mail" on a Red Hat 4.1.2-48 box. I tried: yum install mail It prints out: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.anl.gov * ...
1
vote
1answer
637 views

Default gateway is lost

A weird thing is happening here. I am using TPLINK WDR3600 as server, which is connected through Ethernet with a modem in bridge mode. I use 2 PCs and a cell phone on my LAN. Something is happening ...
2
votes
1answer
162 views

How to keep up with a changing block device, without unmounting and remounting?

So, I am running Arch on miniature system (the BeagleBone Black). On this board, I have the SD card (/dev/mmcblk1) to pass-through over USB to the host computer with the g_mass_storage kernel module. ...
0
votes
0answers
489 views

dhclient “Can't bind to dhcp address” error

I keep getting the following error message from dhclient upon starting of the Network Manager: Can't bind to dhcp address: Cannot assign requested address. Please make sure there is no other ...
3
votes
3answers
6k views

How to Right Click Using the Keyboard from Ubuntu on a Mac

I'm running Ubuntu on a Macbook Pro. How do you right-click using the keyboard in this setup? I've read that holding down the command key simulates pressing the "context menu" button on a Windows ...