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

2
votes
1answer
3k views

How do I install SSH in Ubuntu?

I am using Ubuntu 12.04 and am trying to install SSH using the below command: [root@avi ~]# sudo apt-get install ssh However I am getting this error: Reading package lists... Done Building ...
5
votes
2answers
8k views

How do I convert an .img file to vhd?

I have an image file (linux based image) and want to convert it to VHD so that it can be used to create hyper-V VMs. I used "qemu-img convert" to convert raw to vpc format, but vpc doesnt work for ...
1
vote
0answers
160 views

Samba Share: smb doesn't set group id bit

I have some problems with a smb share. Every subfolder should get the group id bit. If I create a directory local on the machine with: $ mkdir local the bit is set, but if i create it via the smb ...
2
votes
0answers
200 views

Making gnome see xkb changes

This is on Oracle Linux 6.3, but I bet it applies to any Gnome based distros. I have edited /usr/share/X11/xkb/symbols/ru, to add a layout section: partial alphanumeric_keys xkb_symbols "stdwin" { ...
1
vote
2answers
98 views

Linux commandline (outputting text pattern from files)

I am trying to output the line containing a certain pattern located in specifically named files in a unstructured directory hirearchy. Each file I'm interested in is named "foo.xml". The pattern I'm ...
3
votes
1answer
5k views

Delete all files inside a directory over FTP with BASH

I try to delete all files from a directory on a remote FTP server with BASH. I was only able to delete the files and the folder, but not just clearing a folder out.. :/
1
vote
4answers
478 views

How to escape newline in the commandline?

I need to do this: $ echo ' File Contents ' > my-file The problem is that the resulting file contains a newline at the beginning and at the end. I tried this but didn't work: $ echo '\ File ...
1
vote
2answers
99 views

kde start menu flip from search

I am using KDE 4.8.2 and I want to know if there is a simple way to go from the search bar, in the start up menu, to the results. It's really annoying not being able to just press the down key and get ...
1
vote
3answers
656 views

How to browse through directories in a tree like structure in linux terminal?

Is there a program to browse through directories in a tree like structure in the linux terminal? Example: Suppose I was at /home/username/mysite and typed command_I_am_looking_for then I would get: ...
1
vote
3answers
310 views

Unix tar compressed folder not opening on windows

I used command tar -cvzf upload.tar upload to compress my upload folder, but when i'll extract it on widows using 7-Zip it shows up as just a single file, not folder. And the uplad folder isn't ...
2
votes
2answers
857 views

Timezone in Windows and Linux

On the same machine I am using Win 7 and Debian Linux (KDE). I have issues with the timezone settings. Both systems are set to London time, but the clock in Windows (before it gets adjusted over the ...
5
votes
2answers
2k views

Pretty print folder structure using linux terminal?

How can you pretty print a directory structure with all subdirectories to the deepest level in the linux terminal(ubuntu)? This is an example of such a pretty print output for a mysite folder: mysite ...
1
vote
1answer
167 views

Buffersize when using x-terminal-emulator

Does anyone know how to configure the x-terminal-emulator so that I can increase the buffer/scroll back size of the window in ubuntu ? Thanks,
4
votes
2answers
452 views

Linux cal command not showing proper output

If you type cal 9 1752 in a Linux terminal you will get strange output. For example: [max@avi ~]$ cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 ...
3
votes
3answers
522 views

Copy Linux server software (Ubuntu)

We have a private server set up by a stranger. Now I'd like to make a server with exact same configuration and software (for localhost virtual machine - VirtualBox). Is there any simple way to ...
-2
votes
3answers
793 views

How to change $PATH?

I am not able to find 'ifconfig' command, So I need to modify $PATH variable. Can you provide the best way to modify $PATH varible, whenever I logged-in. [aaa@cyclrtp10 ~]$ ifconfig ifconfig: Command ...
1
vote
1answer
144 views

Is there a way to know the font type used by console and its location in linux?

Anyone knows how to trace this? I'm learning the way font works by doing this BTW.
0
votes
2answers
2k views

Archlinux/atheros WLAN configuration troubles

I'm trying to config archlinux to use my wireless network adapter. It's quite troublesome. From what I've gathered, it's an atheros network adapter, using the ath5k driver/module... I can't get it to ...
0
votes
2answers
2k views

how to install privoxy on centos 6

okay I have googled, but...I am unable to find anything on the net on how to install privoxy on my centos machine. I have tried yum install privoxy, I get: No package privoxy available. I dont know ...
5
votes
3answers
4k views

How to install ant & ivy?

I've installed ant... and I've installed ivy (both from synaptic), but ant can't find ivy! When I run ant to build 'october-chess-engine' I get the following: BUILD FAILED ...
1
vote
1answer
860 views

Creating usr/local/bin symlinks for things in usr/bin good idea?

I have a Linux production server and development machine that runs OSX. Stuff that is in usr/local/bin on development is installed into usr/bin on Linux. That creates some problems and I always have ...
1
vote
1answer
8k views

How to copy files from a usb pen drive to my linux box?

Here I wanted to ask that how to copy files from my usb pen drive to my linux box if my system is entirely in CLI text based with no graphical interface? I have some Linux packages to install. I ...
1
vote
1answer
77 views

tmux pane continuation

I would like to have a very tall virtual display to browse code in vim. Is it possible to split tmux into two column panes, so that the right pane continues the left pane? So that I can scroll in one ...
3
votes
1answer
3k views

Matching a number sequence in grep

So I'm trying to match a year number sequence with grep and this should be easy. I'm just a bit stumped that my simplistic regex isn't working. What I'm doing is running a tool which archives some ...
0
votes
1answer
489 views

Is it possible to add directories under cron.d?

I wanted to partition a single cron file into separate logical units and place them in subdirectories. One folder under cron.d would have all crons associated with say, removing certain types of ...
1
vote
1answer
646 views

New files in /var/www have the wrong permissions

My web root, /var/www, is owned by my personal user on the system, however I have also set up an FTP user with /var/www as its home directory. If I put new files in /var/www via SSH logged in as ...
2
votes
1answer
316 views

How do I run a Linux application in Windows?

I need to run a Linux application under Windows. Is there an application like Wine (which runs Windows applications under Linux) that will do the job?
0
votes
1answer
123 views

How to get alias working on server that is connected via ssh?

I connect to another server using command: ssh -Y server1 On server1 I add an alias in .bashrc file: alias gousr='cd /opt/user/myuser' When I try to run gousr command at server1 xterm, it says ...
0
votes
1answer
272 views

Failure to boot / install Linux

I have a very strange problem. I tried to install Linux on an old computer, but no Live CD would boot except Knoppix. After several attempts, I got to nearly booting Linux Mint Debian edition, and ...
5
votes
1answer
3k views

Sierra Wireless AirCard 313U (AT&T Momentum 4G) on Ubuntu Linux

I'm trying to get a Sierra Wireless AirCard 313U (more specifically, the AT&T Momentum 4G) working under Ubuntu Linux. I've looked at a number of pages so far: How to connect internet using ...
2
votes
2answers
915 views

How do I prevent USB flash drive from getting a new Linux device name after wake from sleep?

I'm booting Linux from a USB flash drive on my laptop. Everything runs fine until I put the laptop to sleep. When it wakes up, suddenly the USB flash drive gets a different device name, and ...
1
vote
1answer
391 views

How to stop my laptop from throttling my CPU?

I have an AMD TL-60 mobile processor. I've noticed that often when I watch videos, I get a really jerky playback. I can fix it if I run the following command: echo 2000000 > ...
1
vote
1answer
2k views

Configuring different SSH ports for each host remotley monitored by Nagios

I've completed the Nagios install and setup on three servers so that the instance on server A also provides reports for servers B & C (via NRPE). SSHD is purposefully listening to a different ...
7
votes
3answers
2k views

How to run Vim command from the shell?

This might be a dumb question, but bear with me. I'm automating some of the usual stuff I do when setting up a new work environment, and would like to automate the Vim command :BundleInstall (for ...
0
votes
1answer
3k views

Where are cookies are stored in Iceweasel on Linux?

My question is similar to Where are cookies of Firefox stored in windows? but, I am using Iceweasel (on Linux) which, supposedly, is almost the same as Firefox. Where are the cookies stored, how ...
2
votes
1answer
1k views

Move /usr to other disk

I have an Ubuntu 12.04 installation on a machine with two harddisks, /dev/sda and /dev/sdb. /dev/sdb2 is mounted on /. I would like to move /usr to the second harddisk as it is very fast (but small). ...
1
vote
0answers
445 views

What could cause a disk read speed of ~5MB/s? [closed]

My harddisk seems to have a very low read speed of only ~5MB/s. [root ~]# hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 14 MB in 3.02 seconds = 4.63 MB/sec Also, after going into ...
0
votes
1answer
303 views

Ubuntu 12.04 flash player graphical glitches when minimized

I have a bit of an issue where when I am playing a flash video in a minimized window the video will bleed through completely black pixels, especially in conjunction with transparency. My flash is ...
0
votes
2answers
148 views

How to copy a linux to a portable hard drive

I already have a linux running on my laptop.Is it possible to port the entire system to a portable hard drive by copy all the file to the hard drive with the existing folder structure and reinstall ...
0
votes
1answer
157 views

Looking for a gtk equivalent of ark

Does there exist a GTK equivalent (or improvement) of the Linux archiving tool known as Ark? If so, where might it be found; and if not, how well-received might be a new project which acts as a ...
2
votes
1answer
368 views

Directory of dereferenced symbolic link?

In shell script, how can I dereference a symbolic link and get the directory of the file it links to?
4
votes
2answers
1k views

What are the limits of whois command on unix?

All whois services i've used on the web have some limit on number of queries per day or per hour. However, the limit of whois command on unix doesn't seem to be specify anywhere.
1
vote
3answers
332 views

Ubuntu server remote connection from ubuntu desktop

I'll start out by saying that I'm very very new to Linux and I want to use it for MySQL cluster. I installed 2 Ubuntu servers on different machines that have no GUI. My question is: Is there a way ...
2
votes
1answer
729 views

Udev rules failing to pass parameters

Linux newbie on Gentoo here. I am trying to write a udev rule that would run a Python script and pass some information whenever a usb device (specifically a usb modem) is inserted. I have: ...
1
vote
1answer
29 views

On Linux where should I store non-subversion files for a web site? [closed]

I've finally upgraded to a VPS. I'm planning to run about 4 - 6 sites off it each with a fairly sizable files directory. That is, user uploaded media content such as images and video clips. I ...
5
votes
2answers
7k views

Use VirtualBox to boot a physical drive/partition

I have two partitions on my hard drive, one for Windows and one for linux. I would like to use VirtualBox in Linux to boot the Windows partition as a virtual machine. How can I acheive this?
0
votes
3answers
711 views

Is Windows defragmentation recommended before installing Linux?

I want to have both Windows and Linux installed on one HDD. I always install Windows first because GRUB recognizes Windows and auto-configure its config files. So I installed Windows, installed some ...
5
votes
3answers
836 views

How can I receive phone calls on a Linux server and script stuff depending on the numbers pressed?

I live in France and the ISP I've subscribed to provides a regular phone line along with my Internet connection. Here's a simple schema of my setup: Since I don't use this phone line I would like ...
2
votes
2answers
580 views

How do I strace the whole system?

strace allows you to monitor the activity of a particular program. How can I monitor the activity of all programs (expect for sshd/bash/strace_itself)? Currently I'm using a hack like this: function ...
3
votes
3answers
4k views

“chmod” doesn't want to work

I wrote a /bash script and to execute it I decided to set all the rights, so I tried chmod 777 * //I had 3 text files in the directory, so that's ok Then to check the result I typed ls -l But ...