A family of Unix-like 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
2answers
94 views

Loading and running remote applications with Linux. Not ssh

I am wanting to load an application from a remote Linux pc and run it on the one that I am sitting at. My goal is different than just using telnet or ssh, because by doing that I would still be ...
0
votes
1answer
403 views

Problems with sound and flash in Ubuntu 12 [closed]

I'm having these problems: a) I can't have music playing and at the same time watch a video en youtube. If music is playing, flash is muted, and vice versa. b) Sound has too much bass. I partially ...
1
vote
1answer
2k views

Changing network computer name

I can't find a simple tutorial how to change my computer name under which is it visible on the network (Ubuntu 12.04). It's quite simple on Windows 7 but it looks like there's no such an option on ...
15
votes
1answer
30k views

How to disable Auto-Mute Mode?

In alsamixer, there is an option called "Auto-Mute Mode", and it's enabled by default. But now I want to disable it. I've tried different keys but failed. Any idea? 0_0
4
votes
3answers
7k views

Rsync as another user (www-data)

I usually use a graphical SSH client to sync a local and remote directory. And I have to set the ownership of all the files from root to www-data. Can I do the same with Rsync, only that I do it as ...
3
votes
3answers
8k views

How to monitor bandwidth on a Linux router by LAN IP

There are plenty of ways to monitor traffic on a specific interface or even by port. But if I am on a router and suspect one of the workstations is using more bandwidth then others, how to check?
0
votes
1answer
375 views

“shell not found” on start of backtrack 5

I am using backtrack5 in VMware on my system. I was trying to change my default shell to ksh. After executing the 'chsh' command. On restarting the OS, it shows "Cannot execute ksh: no such file or ...
1
vote
1answer
545 views

How small can/should I make my partitions, on a dual boot with a shared middle drive?

My machine is currently split into 3 user partitions (plus however many Windows and Linux have decided to slyly create) Which are C: Windows 7, D: Data, and E(?): Ubuntu. I'm considering wiping my ...
2
votes
2answers
801 views

Is there a way to remove root requirements for a specific command in linux? If yes, how so?

I'm using Ubuntu 12.04 LTS, and I'm trying to make it so that the specific command dhclient doesn't require root privileges. I've done some research that leads me to believe I could unlock an "su" ...
2
votes
1answer
138 views

Linux “find -regex” doesn't handle binding

I have the following files, and need to match them like: ./foo.bar1.sh -match ./qux/foo.bar2.sh -match ./foo.sh -match ./baz.sh -no match ./foo.bar3 -no ...
0
votes
3answers
620 views

vim is slow, even on console without X running

I'm using Arch Linux and I installed vim from the official repos. It runs OK, but when I have syntax and cursor highlight turned on, it is extremely slow. I already trying running only the 'core' ...
1
vote
1answer
270 views

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop?

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop? How about the normal top? So, if my cpu is stepped down to 800mhz with a full speed of 2ghz, does 5% used ...
1
vote
1answer
5k views

Ubuntu LiveCD/LiveUSB Default Login Credentials

I've just downloaded Ubuntu 12.04, created a USB startup drive, and booted. What is the default username and password for the live USB. Thanks.
2
votes
1answer
5k views

Unable to mount device on Linux (XFS)

I am unable to mount a device on my server due to error when mounting, the device is type XFS. The mount command returns message: "mount: structure needs cleaning" I've tried using xfs_check and it ...
0
votes
1answer
3k views

How do I configure fstab so that a partition can be used by different users simultaneously?

My intent is to set up a drive that any user can read to, write from, and execute on. Moreover, the users must be able to use the drive at the same time. I have my fstab entry set up like this: /...
1
vote
1answer
397 views

Java Applet Console

Can anyone tell me how to access the Java Applet Console in Chromium for Linux? I assumed there would be a Java application packaged with the JRE that would give me access through the command line, ...
1
vote
1answer
4k views

How can I install python-dev without sudo?

I am trying to install python package (scikits.learn) on my user directory (on a ubuntu server for which I don't have sudo permission) but I am getting error: Python.h: No such file or directory It ...
0
votes
0answers
107 views

App for text and image pop-up

Does anyone know any application for Linux which is simply for popping-up images and text on the screen, whereas interval/duration/position of the images/text are customizable?
2
votes
3answers
505 views

How to substitute multiple lines between delimiters

Given the text example: .... text ,.. {{{python string1 = 'abcde' string2 = '12345' print(string1[[1:3]]) print(string2[[:-1]]) }}} .... text ,.. The [[ and ]] also appear outside of {{{ too. ...
1
vote
3answers
671 views

Use sudo command for script SSH server

I have to do following steps on several servers: log in with my username type in sudo su - type in amCLI -l 32/1 | grep Firmware So I would like to write this all in one script, my idea was: #!...
7
votes
1answer
6k views

Powering down external hard drive, flash drive, etc using the command line in Linux

I always thought that to safely remove a device that had been mounted was to use the umount command and until recently when I switched to Ubuntu 12.04 LTS, I noticed that there was the ability to ...
2
votes
1answer
304 views

Can tar be forced to exit on the first error?

By default, for many kinds of errors tar prints a message to stderr and then continues on its way -- the errors it calls "recoverable" errors, typically errors that relate to a single file or archive ...
0
votes
1answer
2k views

Fedora 17 keeps using fedora 16 kernel

I did run preupgrade to upgrade my Fedora 16(x64) to Fedora 17. And it seemed to work fine. So I got the new gimp 2.8, gcc 4.7.0 and so on. But the system keeps using the old kernel from fc16. Uname -...
1
vote
3answers
2k views

Output only “long pings” / Log connection interruptions

I'm on a connection that sometimes gets interrupted for a while, and I'm trying to determine exactly when using ping, which generates output like this: 64 bytes from 192.168.0.1: icmp_req=1196 ttl=64 ...
0
votes
1answer
1k views

Compare content of directories in Linux

In Linux, if I have two directories, how I can see the differences of content in these directories? Now I use this command: diff <(ls -d dir1/*) <(ls -d dir2/*) Any other idea?
0
votes
1answer
210 views

Openbox fails on login

X throws this error: Xsession: unable to launch "/usr/share/xsessions/openbox.xsession" Xsession --- "/usr/share/xsessions/openbox.xsession" not found; Falling back to default session. But a trip ...
1
vote
2answers
4k views

Software to control bass in sound?

I moved from Windows to Ubuntu, and now the music I hear with the headphones sounds with too much bass, like it is set to max. I looked into alsamixer and pulseaudio, but I can't control bass there. ...
5
votes
2answers
18k views

How do I clear all data in a MySQL database while maintaining the table structures?

Using MySQL CLI, how can I remove all data in a given MySQL database without changing any table's structures?
0
votes
0answers
926 views

Wireless disconnect randomly with wpa_supplicant reason=2

I installed ubuntu-server 12.04 on my PC , and I use an usb wireless card to join the network. It works ok when I boot up my PC , but the wireless disconnects after a while. I pkill ...
2
votes
2answers
354 views

Which filesystems has first class support on both Linux and Mac OS X [duplicate]

Possible Duplicate: Which file system to use in between OSX and Linux I'm replacing the optical drive on a Macbook with an HDD and plan to use half of the new drive for Linux. The other half I ...
1
vote
1answer
3k views

How to restrict SSH root login, but allow some exceptions

in openssh, you can restrict root login (PermitRootLogin no) but can it have an exception?
2
votes
2answers
887 views

how to check all available characters in a font file?

I have some truetype fonts which support UTF-8 characters. I can use "fc-list" to find certain font. How can I check all available characters in some font? Such as how many characters supported in "AR ...
0
votes
0answers
93 views

A lightweight linux operating system? [duplicate]

Possible Duplicate: Lightweight GUI Linux distribution for really old computer Running Linux on Old PC I currently have with me installed Windows XP. It works fine, it's just that I have ...
12
votes
4answers
4k views

What is the reason for rmdir(1) and rm(1) to co-exist?

I use BSD and Linux every day, I have never had a circumstance which I must use rmdir(1) rather than rm(1). What's the purpose of rmdir's existence?
0
votes
1answer
450 views

How to reinstall sound?

I'm not even sure if sound was working after the install, I have installed things and 'apt-get upgrade' since then. When I realized I had no sound, I tried installing 'emu10k1' from this list: http://...
5
votes
2answers
11k views

Could I add an item in `/etc/fstab` to bind an old directory with a new one?

I have a problem with binding two directories. The problem comes that storage on hard disk is almost run out and I install another disk moving files in ~/Documents/ into one folder of the new disk. I ...
20
votes
9answers
35k views

Simple mdadm RAID 1 not activating spare

I had created two 2TB HDD partitions (/dev/sdb1 and /dev/sdc1) in a RAID 1 array called /dev/md0 using mdadm on Ubuntu 12.04 LTS Precise Pangolin. The command sudo mdadm --detail /dev/md0 used to ...
0
votes
1answer
210 views

Dummy Linux user for installing programs

I have a separate home partition, so I want to install some software from source in a different hierarchy – not in my user account, preferably in /home. To rephrase, let's say I have my home ...
0
votes
3answers
118 views

Can you move files prioritizing small files?

Is it possible to move files by order of size? Like: mv /path/to/x /path/to/y Where x and y are directories. However, smaller files are moved first. Or bigger files first. Also, is there a reason ...
2
votes
2answers
5k views

QNAP NAS 509 (LINUX) - how to unmout busy volume and find physical disk?

On my NAS QNAP TS 509 I do have a technical issue. I need to run e2fsck. This works fine for me on md0 (see below), but how can I unmount the busy devices md9 and sda4 in order to do the same. ...
1
vote
1answer
99 views

How can I install Ubuntu on my computer?

I have tried windows 8 cp in my past. I want to install linux ubuntu on my computer for now. I have uninstall win8 but I am not sure about if they have affected my boot setting. actually I am using ...
2
votes
1answer
301 views

How can I set the CD audio volume in Linux?

In Windows 7 Control Panel -> Sound -> Sound Properties window there's an slider for setting CD Audio volume: And it's pretty strange that I can't find corresponding one in generic Linux mixers: ...
2
votes
4answers
836 views

After Windows installation, no Linux bootup choice?

I have been setting up my computer for work, which runs Linux Ubuntu, and we use a lot of programs etc. so it has taken a day or two to get it all ready. I was going to have a dual boot with a ...
1
vote
2answers
5k views

How to login as root from the logon screen?

How do I login as root in fedora after the fedora boots? When signing in by specifying username : root and password : xxxxxxxx fedora says unsuccessful login attempt. This is the same password I ...
0
votes
2answers
677 views

How do you create a user with read and write access to another user's home directory

I am new to Linux and need some help how I can create a user with some special rights. I have read a few articles and "how Linux permissions work" but have not yet understood how it works in practice....
1
vote
2answers
169 views

How to delete everything in folder?

I've tried executing sudo rm * and it does not remove everything. (I probably have lots of objects in there which I don't need.) I'm not asking whether it is OK to remove everything in /tmp, I'm ...
1
vote
1answer
101 views

Securing the Linux bootloader

In CentOS 6.0, we can change the root password even if we don't know it (or if we forgot that password). This is the method: At the boot loader menu, press "e" to edit the kernel Select the second ...
1
vote
3answers
315 views

How to share a folder if home is encrypted and 700?

Note: I'm using Ubuntu 12. I'm not a complete noob (I can set up a hardened web server and that kinds of things) but now that I'm trying to use it as a desktop I feel like I never learned the basics. ...
-1
votes
1answer
3k views

SCP send Lost connection

scp file.txt user1@10.57.111.44:/W/ Each time when I issue this SCP command, I get Connection to 10.57.111.44 closed by remote host. lost connection. Why is this happening??
1
vote
3answers
415 views

bash script to remove select files

I have a series of files that are named according to field.%d.vtk and are generated when I run a C++ code. The codes does a series of computation inside a for-loop and dumps the output whenever i%N == ...