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

3
votes
1answer
154 views

How to output a simple network activity plot in console in Linux?

There's tload that plots load average. There's iftop that network usage as bars. How to do something like this: # tcpdump -i eth0 --plot 'host 1.2.3.4' 13:45:03 | | 0 in 0 ...
1
vote
1answer
254 views

Compare two file systems between Solaris and Linux

I am trying a source to target file comparison between Solaris and Linux. - I have a large number of files > 3000 - Large number of directories > 600 - Directory structure remains same - I ...
0
votes
0answers
192 views

executing a command of a chroot outside of the chroot

I have a chroot environment on /data/workbench/mnt and I want to execute a binary which is inside the chroot environment (for example /data/workbench/mnt/bin/bash). I added the chroot library path to ...
1
vote
2answers
400 views

Resizing mysterious partition written by DDing an ISO file

I downloaded clonezilla and then wrote it to a USB flash drive with this: dd if=clonezilla.iso of=/dev/sdb I've confirmed that the system boots and clonezilla runs from the flash drive. I want to ...
2
votes
1answer
4k views

How do I get the current date according to an NTP server without setting it locally?

I want to get the current date and time according to a remote NTP server, using Linux. I don't want to change the local time as a result; I just want to get the remote date, adjusted for the local ...
3
votes
1answer
2k views

linux: per-process monitor, every 10 minutes, with history access

I really didn't know a better way to ask my question, hence you get a horribly named question. I will explain what i want to do, maybe that will help you help me. I would like to have my linux ...
1
vote
0answers
2k views

how to bypass this error : “port range not valid”?

I have a port number that I want to connect to it via net-cat. previously I was working with windows and it was working perfect; but now in Ubuntu when I want to run the Net-Cat it's show me this ...
0
votes
2answers
253 views

Linux side by side with Windows

I have a laptop with two partitions- one with a Windows 8 Pro, and the other with a BackTrack5 Linux OS. I can easily switch between the two, provided that I restart the laptop. Is it possible to ...
0
votes
0answers
59 views

Weird behavior of sudo

I use putty to log in to a remote LINUX machine. (Ubuntu 10) When I log in I have to authenticate myself, that goes on pretty smooth. Whenever I try to use sudo or su though, I experience ...
0
votes
1answer
158 views

rtorrent won't use .rtorrent.rc [closed]

I have looked around a bit on the web, and can not find a solution to this. As far as I know, I have the .rtorrent.rc file in the correct directory, but rtorrent refuses to acknowledge that it is ...
1
vote
2answers
4k views

Where is the visualVM executable for linux?

I'm trying to install the VisualVM plugin for eclipse, on my Ubuntu linux. I'm following the instructions here. So I've done the installation part, and the plugin is installed to eclipse. Now for ...
2
votes
2answers
2k views

How to scan an image and automatically crop it to the scanned content with a linux command line tool?

I need to scan lots of small items with quite similar, but not the exact same, size. What I thought I'd like to do is: Run a linux command line tool with the file name as a parameter which runs the ...
0
votes
0answers
87 views

I'm looking for a text-based web browser with support for user scripts

So far I've acknowledge lynx, links and elinks, but none supports userscripts. Is there any other that supports userscripts? What I want to do is apply a script that would format certain pages to be ...
1
vote
1answer
93 views

create and mount partition on running VM Linux system

I have an Ubuntu 12.04 machine running as a VM and I would like to create a 'data' directory with the unallocated space left on /dev/sda. I managed to create a /dev/sda3 partition on the available ...
0
votes
2answers
816 views

Error setting up Crontab

Trying to set up a cronjob: 0 12 * * * /usr/bin/mysqldump --all-databases > /backups/mysql/`date "+%Y-%m-%d"`.sql Getting error: crontab: installing new crontab "/tmp/crontab.fuly8s":2: bad ...
1
vote
1answer
281 views

DIY rack mounted server running Linux, where to start? [closed]

I want a "high performance" server where I can run perhaps MySQL and also different types of batch jobs. I want high performance CPUs (lots of cache, etc.) and as much RAM as possible (e.g., 64 GB) ...
1
vote
1answer
155 views

Cannot see dual boot menu

I installed linux mint 14 a few days ago(With windows XP sp3). And yesterday i uninstalled linux because of low disk space. After uninstall Linux i entered in recovery console and typed "fixmbr". ...
0
votes
1answer
203 views

Free Space not shown in partiton even after extending it through gparted

I have a Ubuntu machine running 12.04 LTS on it. I had a very small "/" partition at the beginning, say of 16 GB. Now i added a 50 GB to it which i split from another partition and added to the "/". ...
3
votes
1answer
3k views

how to install a old version of gcc compiler from software manger and use it with plain “gcc” command?

I am struggling with the problem of Matlab mex compile. It needs specific old version of gcc compiler 4.4.6 . But in manager there is only 4.4 version. How could I specify it as 4.4.6? Or is it ...
0
votes
1answer
398 views

Trying to make a custom Arch-based Linux distro with larch

I'm all set up with a spiffy Arch installation in a virtual machine, and now I want to turn it into a live ISO. When I heard about larch, I thought it would be the perfect tool to turn my existing ...
1
vote
2answers
1k views

Assign values or string to a variable in linux scripting

I am trying to assign the output of the basename command of a file to the variable "filename". paths is a file that contains the path location, e.g /root/home/david/mynote $FILE is = mynote. grep is ...
0
votes
1answer
380 views

Windows host terminal to Linux VirtualBox guest

Given Ubuntu 12.10 running in VirtualBox on a Windows 7 host, is there a way to set up a terminal such that the terminal is running on Windows but connects to Ubuntu by telnet/SSH/whatever?
3
votes
2answers
3k views

UTF-8 locale portability (and ssh)

I spend a lot of my time sshed into various machines, all of which are different (some are embedded, some run Linux, some run BSD, &c.). On my own local machines, however, i use OS X, which of ...
1
vote
0answers
718 views

Webcam stream doesn't work on Logitech E2500

I'm currently trying to get webcam streaming to work on a Logitech E2500 with ffmpeg. Running the command gives me some kind of buffer length error. pi@raspberrypi ~/ffmpeg-dmo-1.0 $ sudo ...
2
votes
1answer
333 views

Able to ssh but not able to browse centos server

I recently installed the CentOs server on the VM and I am using a Host Only Interface, and have set the IP address of the host and Centos. I am able to SSH from the terminal of the host to Centos but ...
2
votes
4answers
482 views

How to save and restore file's created/modified dates?

I've copied a bunch of files from one server to the other, and now the files' dates are reset to current. How to backup files' dates on old server and restore the them on the new one (without ...
1
vote
1answer
486 views

Is it possible to run a Windows Visual C++ program in Linux?

I am trying to run this code on PAGE 7. of this document, and successfully ran it on Microsoft Visual Studio 2010 for Windows. The problem is that I need to get this code working on linux. I read up a ...
0
votes
2answers
475 views

Why I can decrease the process's priority by using nice() function with a typical user permission(except ROOT) in linux?

As I understand every user in linux can change the every process's priority by using nice and renice commands. Also I know that the all users just can increase the priority of processes and the only ...
2
votes
0answers
483 views

xawtv/streamer webcam snapshots are “wrapped”, but streaming works

If I take a snapshot with my webcam, either through right-clicking in xawtv or through streamer -o snapshot.jpeg, the image is distorted. The simplest way to explain is through an example pictures: ...
1
vote
1answer
152 views

How to autostart multiple commands within one?

I want to autostart a program with multiple commands within one. Here are my 3 separate commands: sleep 3s cd /home/user/programdir/lpfw/ gksudo ./lpfwpygui My command is sleep 3s;cd ...
1
vote
1answer
601 views

Update single kernel module / driver

I needed a newer version of a Kernel module in an quite old kernel. How can I replace a single kernel module of the mainstream linux kernel and compile only this module?
0
votes
0answers
42 views

firefox bug with history

I noticed the following unwanted behaviour (bug) on the latest firefox for linux: go to youtube.com click on "trending" click on any video (the first one for example). click on the firefox 'go back' ...
5
votes
2answers
7k views

How to power off a Debian Linux box via console

Brand new to Linux. I need to turn my box off and put it in my server room. The help here and everywhere seems not to work for me: http://debianhelp.co.uk/shutdown.htm I get: ...
4
votes
1answer
451 views

New to terminator on linux. Why aren't scrollback searches highlighted?

I'm using terminator on linux/ubuntu. When I do ctrl+shift f, I get a prompt to enter a search key to search my scrollback (terminal output). However, as I go through the search results one by one, ...
0
votes
2answers
2k views

Ubuntu reset network configuration

When I boot up my ubuntu server, it cannot connect to my wireless network anymore. It says "waiting for network configuration" for 60 seconds, boots up, but no wireless. I suspect it's because of the ...
0
votes
1answer
170 views

Is there a race condition when two computers have the same remote directory mounted over NFS

I am seeing some very strange results in a filesystem where I have one machine that creates a directory in a mounted NFS filesystem, does some work it in, then makes a remote call to another machine ...
0
votes
0answers
163 views

1:1 NAT IP address using iptables

Suppose I have 2 internal networks: 1.1.1.0/24 and 1.1.2.0/24 I would like to NAT a specific IP address from one network to the other, in which the new address would be obtained via DHCP. For ...
1
vote
1answer
2k views

How to address an alsa “mixer_device” in mpd config for a second sound card?

I run mpd on a system with a built in sound card and a second card that I plugged in via USB. Adressing the second sound card in the mpd.conf was easy: change: device "hw:0:0" to device "hw:1" ...
0
votes
1answer
273 views

static name for a wireless interface on ubuntu/debian machine

I use ubuntu 12.04 on a beagleboard-XM. I use wireless dongle on the board for wireless interface root@ubuntu:/# uname -a Linux ubuntu 3.2.0-23-omap #36-Ubuntu Tue Apr 10 20:24:21 UTC 2012 armv7l ...
1
vote
2answers
10k views

Setting up PostgreSQL gives error sudo: initdb: command not found

Step 1: I installed PostgreSQL using sudo apt-get install postgresql-9.1 as recommended on the PostgreSQL website Step 2: I tried to run postgres. It's not found. For whatever reason, the install ...
0
votes
1answer
107 views

ssh tunnel stopped working

Suddenly my call to ssh -f -vvv rdp@corn06.stanford.edu -L 2025:corn06.stanford.edu:55576 -N stopped working. It prints the output at the bottom of this post, and then the process terminates. Yet it ...
3
votes
4answers
12k views

How to combine tar command with find

Find command giving this output [root@localhost /]# find var/log/ -iname anaconda.* var/log/anaconda.log var/log/anaconda.xlog var/log/anaconda.yum.log var/log/anaconda.syslog ...
1
vote
2answers
851 views

How to delete a file containing dots and backslashes in Fedora 17

I'm using Fedora 17 and I generated a folder named .\data\ from code How can I delete this file from the command line?
2
votes
1answer
479 views

Operating systems on SD cards

I was getting some wild ideas the last days, like putting some operating systems into SD cards rather than on my hard drive. I'll go further into details now and explain what lead me to consider this ...
1
vote
1answer
436 views

How can I create persistent symlinks to my other drive?

When I create soft links within my /home folder to my other hdd (sdb) they no longer work when I restart my system. Do I have to mount my hdd to say /mnt/sdb on boot?
-1
votes
1answer
360 views

How to read the route table?

Host: win8 ip: 192.168.1.102 Virtual Machina: gentoo ip:192.168.1.108 I type the command route -n to see the route table. The route table is : root@gentoo-jl ~ # route -n Kernel IP routing ...
2
votes
3answers
127 views

Looking for Linux text editor

I'm looking for VIM replacement. My key points are: Extensible in sane language (such as Python, Ruby, or even Lua, after vimscript everything will do). Also GUI part should be extensible too, so no ...
1
vote
2answers
94 views

Home directory issue on two different machines

I am accessing two Linux systems (Ubuntu) with the same username (let’s say userU) and password, let’s say their names are system1 and system2. If I change my password on one system it is also ...
2
votes
1answer
4k views

How to remove systemd services

If I install a new service then decide I don’t want that application anymore and delete it, the service is still listed in the output from systemctl as error. Where is this coming from and how can I ...
1
vote
3answers
1k views

How can I get the unique items in a bash list?

If I have a list in bash L="11 22 11 33 22 44" Is there a clean way to get to "11 22 33 44" ?