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

4
votes
3answers
845 views

Emulating CP/M under Linux

I need to be able to run a very old piece of software -- the HI-TECH z80 C Compiler for CP/M. It has been released as freeware by HI-TECH. Alas, it only runs on CP/M. After a lot of Googling, I ...
2
votes
1answer
3k views

Sharing a Windows 7 wifi connection with a Raspberry PI

I have a Windows 7 PC that is using a Wireless network connection that I want to share on the PI. I have a working CAT 5 cable that I am using to connect the Win 7 PC to the PI. I have configured ...
4
votes
1answer
13k views

Disable journaling on ext4 filesystem partition

I'm running Linux Mint on an SSD. I've read how one optimization is to disable journaling. However, when I run the command: sudo mke2fs -t ext4 -O ^has_journal /dev/sda1 I get an error saying that ...
-1
votes
1answer
690 views

Can't get my Raspberry Pi to keep a static IP

I recently got given a Raspberry Pi and I would like to be able to remote into it using puTTy from my laptop so I don't have to sit next to my tv with a keyboard and mouse to use it. I am able to get ...
1
vote
3answers
2k views

“at” command not working

I wanted to schedule a job with at command and see this error: [root@labeir1 exm]# date Sun Dec 9 01:54:45 IST 2012 [root@labeir1 exm]# at 01:47 "df -kh" syntax error. Last token ...
3
votes
1answer
982 views

No space left on device, df shows 50%

I have done everything I know about, and now I'm completely lost. I'm getting an error on my Storage partition. The drive is a ntfs, and I'm using ntfs-3g, the disk is being shared between my Windows ...
0
votes
1answer
272 views

tar -rvf not working

I am trying to append a .txt file to my already created .tar archive file. But the following error is showing up: tar -rvf kits.tar example.txt tar: This does not look like a tar archive ...
-1
votes
1answer
83 views

Automate Restart Of Solr

I have 3 instance of solr running using tomcat (in shell u will find something like -Dcatalina.base=/usr/local/apache-tomcat-6.0.35 -) suing tomcat_1 (in shell u will find something like ...
1
vote
2answers
169 views

Hard linking directory structure somewhere else

I have one directory where files appear in. I want to run a script regulary that finds all files in that directory that have only one link to them, and hard link them in another directory. However, I ...
0
votes
1answer
2k views

PPTP: Linux clients unreachable

I have setup a PPTP server on a CentOS 6 box. Several clients (Windows and Linux) connect to this server. All clients use the same subnet. All clients (Win or Lin) can surf the Internet using the VPN ...
1
vote
3answers
577 views

Merge two Foldes (Backups from my Files) on Windows 7 or Ubuntu 12.04

I have yearly backups of all my files on the harddrive. The problem is that the Backup from 2007 contains files which don't exist in 2008. And I need both Versions of the Files, when they are ...
1
vote
2answers
283 views

What would I need to do to clone a Linux install to another machine?

Basically, I want to make an image of one Linux install I have, and distribute it over similar (if not identical) spec machines on a network. I know it is possible, however am unsure of what needs to ...
1
vote
0answers
45 views

How to terminate a program on a BSP when default kill (-9/all) options do not work

I have written a program for basic file reading/writing. When I added lseek, a function new to me it did not terminate. I have tried to use the following commands to get it to do so: ctrl kill PID ...
7
votes
1answer
2k views

Verizon USB551L 4G Stick on Linux

I have been trying to get a Verizon USB551L 4G USB Stick working on Debian Linux. I have been able to get it to connect, but it always disconnects after 10 secs to 2.5 minutes, then it cannot connect ...
0
votes
1answer
160 views

Weird ssh behavior when listing folder

I was trying to get a file from my home PC using SSH, from my Android phone - connection went fine, but directory listing hanged. I've tried then using a PC with ubuntu, in nautilus - hang again when ...
0
votes
1answer
308 views

installing MySQL 64 bit community edition on linux production server from an newbie

Currently i am having command sudo apt-get install libmysqlclient-dev mysql-server I don't know whether it's going to install 32 bit or 64 bit mysql. Currently i am looking command for installing ...
2
votes
2answers
991 views

Tool for diffing large files

When I use "diff" to find the difference between two large data files, diff A.txt B.txt > dif.info it is output: diff:memory exhausted or add the argument "-H" diff -H A.txt B.txt > ...
0
votes
2answers
1k views

PuTTY + Ubuntu 12.10: why do I have no colors unless I use screen?

I am accessing a new Ubuntu 12.10 installation via PuTTY. I am attempting to get my shell to display in color. Color works fine in interactive applications like vim, but I want to get color in e.g. my ...
1
vote
1answer
2k views

How To Investigate/Restore MySQL Permissions? MySQL ERROR 1045 (28000): Access denied for user

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Debian. mysqld is listening on 3306 supposedly Telnet to 3306 works Also tried binding it specifically yo ...
0
votes
1answer
621 views

Linux history old commands

When I enter history | more in Ubuntu terminal I see a list of 1000 - 2000 old commands. How do I view even older history i.e., before 2000?
2
votes
1answer
194 views

terminal tools and logs for debugging TCP issues

I have a server which I am testing for functionality (not load, not stress) with tsung. 50 users / second, 100 total users. Judging from tsung (tsung is the testing framework) graphs, there TCP ...
1
vote
0answers
87 views

to measure throughput of testing device connect to server via AP

Description of project-> I have a test tool to which DUT connects. The test tool has an access point in it and once DUT get connected to it via mac address we check RSSI and some other features ...
2
votes
2answers
77 views

Create zipfile from changed files in 2 directories

What I'm trying to do is create a zipfile (or some different archive) which contains all the changed files from 2 provided directories. The path of the files should be persisted in the archive, so the ...
5
votes
2answers
4k views

“Bake” an SVG image into a PNG at a given resolution?

I'm on Linux and I'd like to take an SVG file and bake it into a PNG file at a given resolution (scaling). Is there a way to do this quickly and effectively from the command line? I'm looking for ...
0
votes
1answer
227 views

First connection to debian server slow

I have a running Debian web server with ispconfig. The problem is that whenever I make a first connection it takes about 1-2 seconds to connect, after this 1st connection everything runs smoothly. I ...
-1
votes
3answers
487 views

make command for installing in linux give it a directory

I want to install bedtools (i.e., a c++ source code for manipulating certain types of files). In order to install it the installation instructions says to download the tar file, untar the file, go to ...
3
votes
2answers
3k views

How to create a RAM disk - Fedora 17

How do I create a true RAM disk? I don't want a virtual file system with loop devices, I would like a mountable filesystem that is stored completely in RAM. I am using Fedora 17, linux ...
2
votes
1answer
2k views

Installing Ubuntu to dual-boot from mSATA

I'm about to recieve a 2012 Dell XPS 15 with 128GB mSATA and 1TB 5400rpm HDD, it should come with Windows 7 Pro 64-bit. I understand that Smart Response Technology (SRT) in the Intel Rapid Storage ...
0
votes
1answer
256 views

Windows 7/8 can't connect to an N Router

I have a router running OpenWRT backfire, with N and A/B/G being broadcast. A linux laptop, and a Mac laptop can see the N network and connect to it (or at least they could last weekend). But there is ...
1
vote
1answer
182 views

Archiso build failing due to dbus and dbus-core conflict

I am trying to build an ISO with archiso (releng), and even after running pacman -R dbus and pacman -Syu the build fails with the following error: looking for inter-conflicts... :: dbus and ...
3
votes
2answers
486 views

Bash autocomplete for different directories

I've played with bash autocomplete now for a while, but couldn't find a solution for my problem. I have a project directory with subfolders like this: projects/ruby/project1 projects/ruby/project2 ...
0
votes
1answer
368 views

wget timestamp alternatives

I have a script that works in a loop and checks for mysqlbackup copies on another server. couple of times a day wget downloads the file even though no change has been made. what I've tried is using ...
3
votes
4answers
1k views

How can I use SSH to tunnel to a port that's open on the machine I have access to but not open to the outside world?

I currently use SSH to tunnel my internet connection, using ssh -p <port> -ND <local port> <user>@<ip address>, and this works great. However, I'd like to bind a local port to ...
1
vote
0answers
359 views

USB Mass storage driver as CDROM in Windows & MAC

I am in the process of enumerating a Hybrid ISO image which will show up as CDROM in Windows & MAC and encountered with the following problem. Hybrid ISO image is created with the following ...
2
votes
1answer
173 views

How to enable the bash history only caching commands that are acutally in path?

Having a bash history enabled is a security risk, because when you accientally enter your password into the bash the password gets stored in the bash history. To prevent this a good solution would be ...
3
votes
1answer
1k views

NFS: Network disconnect causes Gnome Nautilus to hang / Jumping progress bars

I mount NFSv4 export via /etc/fstab and mount and use the shared folder in nautilus. There are two issues: When I copy a large file (around 4 GB) to the NFS server, the progress bar rapidly goes to ...
1
vote
0answers
1k views

Current sound configuration (integrated Realtek ALC662) on Ubuntu 12.04 plays everything as mono. How to fix it?

All music files play as mono on my Ubuntu 12.04 installation.System soundcard (integrated): nVidia MCP61 High Definition Audio (Realtek ALC662). Did anyone have the same problem? What's the solution? ...
0
votes
1answer
289 views

Test USB-connected SD card reader

I'm running a Linux system, so I'm asking a solution that can run on Linux, better if via terminal on a command line. I have a laptop with an integrated SD card reader, which is connected to ...
5
votes
3answers
2k views

logging RAM memory high-water mark of a Linux process

I would like to log the RAM memory high-water mark of a Linux process (kernel 3.2.0-36) by the time the process finishes. I am calling the process inside a Perl script. Something like: my $cmd = ...
0
votes
1answer
466 views

How to create drive symlink with colon for NTFS-3G symlinks in “.NTFS-3G” folder

The official documentation of NTFS-3G states that you need to create a mapping for drive-spanning NTFS symlinks because it obviously can't map Windows drives to Linux mount points: Another option ...
0
votes
1answer
322 views

Cronjob does not work

I tried to set up a cronjob on my server. Actually this command should execute a java programm every hour. But somehow this didn't worked. I googled and tried to set up a test-script that should run ...
0
votes
2answers
940 views

Cannot execute java command on Ubuntu

I am using Ubuntu 12.04, installed JDK and interestingly have the following error. Why do I have this error though java file exist in there? appuser@securexmlgw-db:~/Downloads/jdk1.7.0_04/bin$ ls ...
2
votes
1answer
897 views

Incremental/Differential backup of VMWare Workstation VM?

I need to take an incremental or differential backup of a Linux guest OS running inside VMWare workstation. How do I achieve that? I can take a full backup when the virtual machine is down, but I ...
1
vote
1answer
129 views

Why does newline come before space in the output of hexdump?

Using hexdump, printing these characters in the "canonical" format gives the output that I expect, while the default format throws me off. $ echo " " |hexdump # Reversed? 0000000 ...
0
votes
2answers
420 views

Why does redirecting “sudo echo” stdout to a file not give root ownership?

I'm pretty new to using Linux heavily, and I'm trying to learn more about file ownership and permissions. One thing that I stumbled on just now was exactly what the title says, running: ...
2
votes
1answer
655 views

How do I change the default python version in Red Hat 6?

I've recently installed Enthought Python Distribution, after which it gave me the message: As the last step, you should edit your .bashrc or prepend the EPD install path: ...
5
votes
2answers
1k views

How to list files owned by me for quota checking?

On Linux (RHEL 6) what is the best way to list all the files and sizes that are counting against my quota on a given filesystem? We have a projects directory and everything I am currently doing is ...
0
votes
1answer
191 views

What is the difference between :::: and 0.0.0.0 from the netstat -an output?

I just want to understand the difference between :::: and 0.0.0.0. I believe both are same which let connection from outside if any processor is listening to that port. udp 0 0 ...
0
votes
1answer
58 views

Excute for loop in subfolder

I have this command : for i in $(svn st | grep \! | awk '{print $2}'); do svn delete $i; done I would like to execute it to a subfolder without making a cd command. Is it possible ? Thanks !
3
votes
1answer
617 views

rsyslogd: how to send messages to user pseudo console

I set up my rsyslogd.conf setting so: auth,authpriv.* username but username does not get the messages (in (all) his pseudo-terminals i.e Gnome terminals). My questions related to ...