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
22 views

Slow LAN connection on one machine but not another

I am using the same ethernet cable on two different machines and getting two incredibly different results. The following tests were done on a Windows 7 desktop and a Linux laptop. On my laptop, ...
0
votes
1answer
11 views

Software to provide loopback at remote endpoint, and client software to test performance

NOTE: I'm not looking at using the lo loopback network interface. We're developing an embedded device that has its own internal Ethernet network, and a second network that is exposed to the outside ...
2
votes
2answers
122 views

How can I move a huge directory with MILLIONS of files?

I have a client that knows nothing about computers, and did a format and reinstall from the recovery partition of his old AMD Athlon II X4 desktop running Windows 7. This was his primary business ...
1
vote
1answer
28 views

Timeout does not work in expect script

I created the following expect script in order to automate logging into a VPN: #!/usr/bin/expect set PASS [lindex $argv 0] set timeout 10 spawn vpnc expect : {send $PASS\r} ...
1
vote
1answer
23 views

Bash script - Trying get abuse email using whois command

How can I get only e-mail address from output? $ whois $IP | grep @ | head -1 notify: albert@xxx.sig.xxx.tw
0
votes
1answer
31 views

Can I restore a Unix server by copypasting system directories from a backup?

I messed up a Ubuntu server with lots of installed binaries, settings, etc. I'm going to have to reinstall Ubuntu, but I have a complete backup, hidden files and all, though not bootable. I'm hoping ...
2
votes
1answer
23 views

Mounting disk(s) from RAID 1 array for data recovery

I'm having some problems with a Debian 7.5 stable (Wheezy) server. It is currently running at Rescue Mode. It has a 2 x 2000 GB HDD running in a RAID 1 array. My immediate priority is to be able to ...
5
votes
2answers
3k views

How to configure permissions for linux NFSv4 client with Synology NAS?

I have an established Linux server (Ubuntu 12.04) and a new Synology NAS and am having trouble getting correct NFS user permissions on the mountpoint. The server also mounts an NFS export from ...
0
votes
0answers
10 views

How can I make the run command prompt use my login environment?

I am running a new installation of Linux Mint and am wondering how I can make it so the Alt+F2 run command uses my login environment? I really just want it to use my PATH in order to be able to run ...
0
votes
4answers
540 views

Running virtual machines: Linux vs Windows 7

I have tried running windows xp development virtual machine under windows 7 and the performance was dreadful. I'm considering installing Linux and running the virtual machine from the Linux, but I'm ...
1
vote
3answers
617 views

Sharing an Internet connection with VirtualBox

I connect to the Internet using a WiMAX USB dongle. Sadly, the USB doesn't work on Linux. Can I, in principle, use VMWare or Virtualbox to install and run a Windows machine from Linux and connect to ...
-1
votes
0answers
11 views

Unable to run linux Angstrom on Beagle Board xM rev c

I'm trying to install Angstrom on my beagle board xM rev c, I followed a tutorial that i found on this site. But when i try to boot for the first time, i get the following lines : Timeout reached ...
0
votes
5answers
3k views

Cannot SSH log into Debian virtual machine from windows 7 via Putty

I have followed a tutorial from this website http://jtreminio.com/2012/07/setting-up-a-debian-vm-step-by-step/. I am up to the point in the tutorial where it says to login via SSH. I have installed ...
0
votes
0answers
23 views

Batch replace non-ASCII characters in filenames

I'm looking for a shell script that will recursively replace non-ASCI characters with underscore or just remove them. The issue is that a drive with files, created on Linux, has to be used on ...
0
votes
2answers
71 views

How to rotate enumerated filenames similar to logrotate?

I have a couple of files, let's say map-0.jpg (newest), map-1.jpg, map-2.jpg, ..., map-9.jpg (oldest). Now my cronjob downloads a new picture from the internet and should save it as map-0.jpg. All ...
-1
votes
0answers
23 views

Why Ii obtain this error when I try to compile and install a software on Ubuntu 14.04?

I am not yet a Linux guy and I am going crazy trying to install a software compiling it on Ubuntu 14.04. This are the only provided instruction to install it: Debian First, make sure that ...
0
votes
0answers
11 views

fuse + encfs, can mount but cannot unmount with fusermount

I created two directories in home, and mounted them with default configurations with encfs. That worked well enough, the file system is mounted and encrypted fine. The odd part now is that I cannot ...
1
vote
2answers
51 views

unable to remove file and directory

i'm trying to remove directory from my external hard drive that i mounted to the file system i'm using the rm -r command but i got the the strange error : rm: cannot remove `Lundu ...
1
vote
0answers
14 views

Is there a way to use a “hardware fingerprint” to automatically mount an eCryptFS directory on boot?

I would like to have an eCryptfs directory "securely" automatically mounted on boot without logging in. My scenario is this: I have an embedded ArchLinux server (ARM-based) that uses a removable ...
2
votes
1answer
2k 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 ...
-1
votes
0answers
13 views

VMWare Server 2 No ideal replacement? [on hold]

I have a couple of servers running vmware server2 and I love it. Why? Because it's a headless installation, the machine itself can be used for lots of other tasks like dhcp,dns,apache2, samba server. ...
0
votes
3answers
58 views

How to copy whole file from command line without changing destination creation time

I want to copy one file's content to another file without replacing the destination file. Because I need to retain the destination file's creation time. It is fine if its modification time gets ...
1
vote
1answer
235 views

ubuntu linux - visible bell or screen flash

I'm using Ubuntu Linux with Gnome. Is it possible to create a visible bell, or a screen flash? I often run programs in terminal that download files or some other process that takes a half hour or so ...
9
votes
3answers
620 views

Figure out what non-symlink path would be?

On Linux, if I've cd'd around and am now in a directory, is there a way to figure out what the real path to that directory is if I had not used a symbolic link to get there? Consider: $ pwd ...
0
votes
1answer
26 views

Bash script analyse apache log

I need help with this script This script analyses apache_access.log through a filter.txt, if exist the term in filter the script will do something. My problem i think is in the first command "for", I ...
2
votes
0answers
8 views

How to use DVD+RW (UDF) both in windows and linux?

I have dvd+rw disk. I would like to create UDF file system on it to use with windows 7 (and newer) and gentoo both. How must I prepare media and what commands should use to mount it in linux? What I ...
86
votes
15answers
41k views

How to execute a command whenever a file changes?

I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with ...
1
vote
0answers
17 views

Documentation: server diary [on hold]

I would like to log what was changed on server and share it with my colleagues who should be also able to add their changes. We should be able to add manually comments and we would like to store ...
40
votes
4answers
73k views

How to decompress a .bz2 file

I have a file as: filename.bz2, but I can't figure out how to decompress it. I tried several methods, none of them seems work. I have tried the command: tar xvjf filename.tar.bz2, but it didn't work ...
2
votes
8answers
9k views

How to find the index of a word in a string in bash?

In bash script, I have a string which contains several words separated by one or more than one spaces. ie: Name Age Sex ID Address If I want to find any of the word, for instance I want ...
1
vote
4answers
7k views

Removing MySQL completely on Linux

I'm fairly new to Linux, when I first installed MySQL it was during an LAMP setup on personal machine with a Ubuntu Setup. ATM, I'm trying to get a fresh, clean install of only MySQL. I've been to ...
1
vote
2answers
2k views

RedHat Network - Unable to register

I'm trying to register my RedHat machine to my RedHat Network account but when I try, I get this error: Problem registering system: Error Class Code: 70 Error Class Info: All available ...
0
votes
2answers
25 views

How do I view the content of a very large file at position in Linux?

I've got a file containing JSON data that is about 90MB of size and has one line. I need to go to position 99376229. Unfortunately vim and less both crash when I try moving to that column. How can I ...
1
vote
2answers
35 views

Execute a previous command in a shell and get the command directly after

Once, a colleague of mine shown me a very useful method (shortcut?) on a shell (bash? csh?) to, after executing a previous command, automatically show the command after in history. For example, ...
0
votes
2answers
25 views

Linux lsblk output

If I run lsblk the following is my output. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 698.7G 0 disk ├─sda1 8:1 0 500M 0 part /boot ├─sda2 8:2 0 5.8G 0 part [SWAP] ...
-1
votes
1answer
35 views

Customizing the Terminal

I am using Elementary OS (based on Ubuntu 12.04) and i would like to change the coloring scheme for Pantheon Terminal window. Here's what i have tried- Elementary Tweaks Dconf Editor shell ...
0
votes
0answers
15 views

Comparison of the system performance in virtualization using different operating systems [on hold]

One of the great advantages of Linux is when you're setting up a system, you can strip all of the bloat except for only those components that you need to support whatever you plan to run on the box. ...
1
vote
1answer
30 views

devmem: can't open '/dev/mem': Permission denied

I have 2 phones (Samsung Galaxy S4 LTE I9505, Android 4.4.2 Kitkat) which I already rooted and have root access to the phones. Previously, on my rooted Samsung Galaxy S3 LTE I9505 running Android ...
0
votes
2answers
140 views

xwindows working but not unity desktop

I'm running Ubuntu 13.04 64 bit w/ unity desktop What I'm experiencing: When I turn on my computer, the Ubuntu loading screen appears but disappears in wake of a shell which I can log into. Once ...
0
votes
0answers
13 views

Fedora 20 - Wireless and Secure boot issue

Note, that the wireless does work when Secure Boot is disabled. However, though, when Secure Boot is enabled, modprobe wl returns something to do with not having a key. Obviously, that has something ...
-2
votes
1answer
15 views

wget doesn't match patterns with wildcards

I'm trying to download certain url's which I would like to match with the next pattern using wildcards: http://example.org/subtitles?q=NUMBER_en&format=srt where NUMBER = [0-9]* the output of ...
0
votes
1answer
24 views

“Bad Password” Message in WICD-Curses

I've been trying to use WICD-curses to connect to my Wi-Fi network. I thought it would be simple: I went to the config page for my network, entered the password at the bottom, hit F10, and waited for ...
3
votes
3answers
3k views

phpmyadmin symlinks error after ubuntu upgrade

After the upgrade of my ubuntu server to 13.04 my phpmyadmin is no longer reachable. the browser reports 500 (internal server error) and in the error.log it says: PHP Fatal error: require_once(): ...
0
votes
1answer
18 views

I need guidance on creating a symbolic link for JDK

I am about to configure database schemas using Oracle Repository Creation Utility, but am hitting a snag. When I run ./rcu, terminal returns the following error: Exception in thread "main": ...
1
vote
1answer
473 views

noVNC in ubuntu not working

I cloned noVNC to my local vm: $ git clone git://github.com/kanaka/noVNC then I just ran what they said on their README.md Use the launch script to start a mini-webserver and the ...
0
votes
1answer
37 views

How can I efficiently transfer a large file using a smaller external disk?

I need to transfer a large (multi-terabyte) file from one Linux computer to another. I have a 1TB external SSD drive that seems like it's the fastest way in terms of bandwidth. My best guess right now ...
1
vote
0answers
16 views

Changing bluetooth device name

How can the friendly device name of a remote Bluetooth device be changed (using a command-line tool in Linux or similar)? I have looked at some of the software included in bluez-tools such as hcitool ...
2
votes
3answers
130 views

what is the best way to transfer games from a linux server to a lan of windowsXP [on hold]

samba service on linux and.. copy folder? keep games as .rar at samba and extract them on the fly? rsync daemon at the server? ftp them from the server? anyone has any benchmarks or previous ...
0
votes
1answer
33 views

Detect file size decrease

I am saving streams from browser cache into my home folder. I wrote a script that takes the specific data type and saves them into disk, and names them as data.1, data.2 , data.3 and so on, creating ...
-1
votes
1answer
23 views

Do lots of files cause OSes to slow to a hault?

I have a Mac OSX machine that is almost at a stand still. The only thing I can notice is that there are a TON of files. mostly small ones and if I stick the USB drive to another machine is takes ...