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

1
vote
1answer
327 views

Copy existing Ubuntu drive to partition on new hard drive

I have a new laptop with two partitions, one is currently loaded with Windows 7, the other is blank. I'm pretty familiar with using dd to backup/copy drives, but I'm wondering how I will deal with ...
1
vote
3answers
6k views

fdisk can't find USB storage

A problem with USB storage in Linux has cost me more than one day: dmesg says USB is detected, but fdisk -l can't find USB storage. My kernel is 2.4.32. Infomation about this USB storage can also be ...
1
vote
1answer
2k views

Broadcom Wireless on Debian doesn't work

I'm running Debian Linux on a MacBook4,1 with the legendary Broadcom wireless chipset. Before updating the kernel to 3.2.0.1, following this guide to set up wireless worked like a charm. However, ...
2
votes
3answers
2k views

awk/sed + replace only the second char with one space

please advice how to remove only the second "." character from the version number with awk I need to fit the syntax for Linux & Solaris I write the sed "s'/\./ /g'" - but this syntax ...
3
votes
6answers
1k views

How to make “rm” require root privilege?

I often misuse "rm" for "mv"! I hope to make "rm" a command requiring root privilege, like "apt-get". How to do that, please? My system is Ubuntu 10.10.
0
votes
5answers
112 views

Linux find files

What could be a command to find all files owned by "abc" user, I guess that can be extended to finding all files with group 'def'. e.g. if I got result (ls -l) such as one shown below -rwxrw-r-- ...
3
votes
1answer
2k views

How can I get Terminal to repaint the contents when I resize the terminal?

A default terminal width might be 80 characters, however the output of a command might have been 100 characters (wider than the width of the terminal), so it spills over and puts 80 characters on one ...
2
votes
1answer
1k views

Multiple keyboard and mouse inputs

I have a linux laptop connected to an external monitor, keyboard and mouse. How can I have the laptop's keyboard and trackpad be independent from the external keyboard and mouse so I can keep them ...
1
vote
0answers
50 views

What happens if a linux kernel argument is passed twice with different values? [closed]

As the question states, what if I pass kernel /vmlinuz audit=1 audit=0 Will auditing enabled or disabled? Or will the kernel just freak out? Or is it undefined and will depend on the build of the ...
3
votes
1answer
401 views

SFTP with chroot in a folder that can not have root privileges

I have troubles with setup a SFTP with chroot in "public" folder. Each client on my server has 3 to X accounts. These three accounts are: USER - system account only for internal use, requires full ...
1
vote
1answer
3k views

Is it possible to broadcast ARP from the command line?

Would be possible to invoke an ARP broadcast from the command line when running Windows and Linux? If so what would the commands be?
0
votes
1answer
1k views

Getting error GTK when compiling although GTK is already Installed

I'm a linux newbie and trying to compile a software but getting an error; it is telling me that GTK is not installed checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) ...
0
votes
1answer
372 views

grep + match quantity and numbers

with the following command I can verify/match if param have numbers or "." param=2.3.1 echo $param | grep [0-9][.] but what I need to add in my syntax in order to verify also if I have at ...
0
votes
1answer
87 views

Can I make different tabs of (gnome) Terminal have different profiles?

I've seen that it's easy to have the terminal set up so it opens up my tabs as I wan't to have them, but is it possible to have a different profile attached to each of those tabs? I was happily ...
1
vote
0answers
481 views

Using Macbook Pro 5,1 Running Ubuntu to Create a Bootable Lion USB Installer (?)

I'm having a nightmare of a time attempting to create a working Bootable USB of OSX Lion from a Macbook Pro running Ubuntu. I have followed just about all the best guides online to format and image ...
1
vote
0answers
303 views

3G connection stalling after long periods of activity

I have a Huawei E1752 3G dongle that is connected to a machine running the latest stable Debian. My problem is that after a long period of use (in the order of days), the 3G dongle seems to stall and ...
21
votes
5answers
2k views

Are Linux commands interchangeable with Unix commands?

I find that some commands, for example, ls and pwd, can be used on both Linux and Unix systems. Is it that all Linux commands can be used in the Unix systems, and all Unix commands can be used in ...
2
votes
1answer
937 views

Any file system debugger similar to `fsdb` in Linux?

I'm now studying Linux file system and curious about how to read an i-node with a i-node # get from ls -i? Seems fsdb in Unix is such a tool but didn't find its correspondent in Linux. Thanks and ...
1
vote
1answer
111 views

Move all 3 GIMP's windows at the same time?

GIMP consists of 3 separate windows. So when I have to move it to another desktop in Ubuntu, I have to move all three separately. Is there a way to move all 3 at the same time? Right click on GIMP's ...
0
votes
1answer
43 views

KernelCheck inexplicably crashes during information retrieval

I'm using KernelCheck on Ubuntu oneiric and when I start it up, after entering the root password, I click on the button that reads "Get Kernel Information" and then it simply crashes. I have a ...
0
votes
1answer
51 views

yum to install fails on default empty server

I used to download Fedora from site X, for example, but lately the site has not updated itself with new packages, therefore commands used to install any of those packages report back with errors as ...
0
votes
2answers
700 views

ubuntu 10.04 command “# type php” returns nothing

I have 2 LAMP servers with ubuntu 10.04... both with php5 successfully installed. on server1 i run the command # type php in terminal and the response is: "php is /usr/bin/php" however in server2 I ...
2
votes
1answer
660 views

Scripted command line with redirection fails

The following works from the command line, but fails as script: gunzip -c /disk1/hadoop/gunzip_tmp/in/part-00006.gz >> /disk1/hadoop/gunzip_tmp/outfile.000 The following script lines: ...
2
votes
1answer
691 views

In Linux, what dot- files & directories should I back up?

At the moment, I am using rsync to backup my /home directory. At the moment, I am excluding some 'dot directories' like ~/.cache, ~/.mozilla, etc. The problem with this is that most of the time spent ...
1
vote
1answer
2k views

Gunzip redirection: “No such file or directory”

When I issue the following command: gunzip -c /disk1/hadoop/gunzip_tmp/in/part-00006.gz>>/disk1/hadoop/gunzip_tmp/outfile.000 I get the following stderr: gunzip: ...
1
vote
2answers
650 views

Arch Linux frame buffer changes?

I have an old computer running on P4 processor and ATI Radeon RV100 QY [Radeon 7000/VE] graphics card. Whenever I quit any window manager, the screen goes blank, but it still accepts input i.e. I can ...
2
votes
2answers
8k views

Linux/bash: How to get interface's IPv6 address?

What command can I use to get IPv6 address of an interface in a script? Update: Output of sed from one of answers. $ ip -6 addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 inet6 ::1/128 scope ...
1
vote
2answers
551 views

Which file-system is good for movable disk between many different OSs?

I often use movable disk (USB) to change data between different OSs, almost four kinds -- Linux, Windows, Mac OS X, FreeBSD. Obviously, VFAT is supported in all kinds of OSs. But the short is: It ...
1
vote
1answer
1k views

Debian - Unable to Create Files, Even as Root

On my Debian server I am running Apache. Today I found that I am unable to create files in all of the website directories. So for example I have /var/www/testsite. I change to that directory. Then ...
0
votes
2answers
545 views

What should I do when SSH on Ubuntu freezes?

When I'm using SSH to connect to an Ubuntu machine and it freezes, I'd just close PuTTY and re-login. Is there a better way to handle errors like this? (like Ctrl+Alt+Del in Windows)
1
vote
1answer
194 views

Why does my terminal have funny characters for the date field? Looks like Russian?

Strangely my terminal has funny characters in the date area that look like Russian. Does anyone know why it displays these characters? (I'm running Mac OS X Lion)
2
votes
3answers
2k views

Backing up DVDs on Linux

I'm trying to backup my DVD collection onto my Linux box. Usually dvdbackup or ddrescue work just fine. With some DVDs, however, dvdbackup and ddrescue fail, likely due to copy protections. I tried ...
1
vote
1answer
3k views

Executing lines of a file with xargs, using stdout redirection

I have a file that has lines that look like this: "http://api.domain.com/path/to/resource?format=json" > output.xml and I execute the following from my command line: cat file | xargs -L 1 -I {} ...
0
votes
3answers
232 views

Linux: tunelling an incoming connection

Setup: PC I (Ubuntu 11.10, have sudo), Mac T (OS X 10.7.2, have sudo), Smart device S (barely configurable). S can see to I on the local network, but can't see T. I and T can see each other. There ...
3
votes
2answers
2k views

How can I mount a tmpfs without root?

I'm on a managed machine but I'd like to create a folder stored in RAM for temporary storage, how might I do this?
12
votes
5answers
3k views

Which directory does path `//` represent in Linux?

When I want to go back to upper level directory in Linux by typing cd .., I typo-ed cd //. To my great surprise, no errors are reported. What's more the prompt becomes username@hostname://$. ls ...
1
vote
0answers
1k views

mdadm: hot remove failed

My RAID1 is degraded and I need to replace /dev/sdb. However, I could mark /dev/sdb5 (in /dev/md1) as failed and removed it, but I can't do the same with /dev/sdb1 (/dev/md0 which is mounted on /): ...
0
votes
4answers
10k views

Failed dependencies errors while installing MySQL on CentOS Linux

I am trying to install MySQL on Linux. And it seems that I'm confused which MySQL package I should use for my particular Linux environment. My Linux Details: Linux 2.6.32-71.el6.x86_64 #1 SMP Fri ...
1
vote
1answer
424 views

Magic Number of Linux partitions

I want to know the magic number of the current partitions and also the procedure of changing the magic number for the file system types.
0
votes
0answers
53 views

Sudo access in cygwin [duplicate]

Possible Duplicate: there's no sudo command in cygwin How to get root access in cygwin? I tried sudo it is not working and i also found this "$@" command. I am not sure how to use this. ...
0
votes
1answer
136 views

Access intranet from my home PC

I have a workstation that serves as my network's testing server for my web projects. This is where I keep all my updated webpages. I want to be able to monitor what changes have been made by my ...
8
votes
2answers
2k views

Is it possible to access files “shadowed” by a mount?

In Linux, is there a way to access files on a mounted filesystem that have been "shadowed" when another file system was mounted over a subdirectory? E.g. cd / mkdir /foo touch /foo/bar mount ...
6
votes
2answers
6k views

How do I load Ubuntu into RAM and boot from it?

The Problem I have a USB flash drive which, among Windows PE and other things, has an Ubuntu 11.04 system on a virtual (file-based) partition: <drive>/ubuntu/disks/boot.disk mount point ...
1
vote
0answers
875 views

What are my best options to recover data from a faulty SD micro card (used in an Android cell phone)?

My wife is having troubles while syncronizing the data from the SD micro card of her LG android phone to her portable pc. It keeps remaining stuck forever at a given photo (#21). I tried to access it ...
2
votes
1answer
173 views

Is there any tutor like the 'vimtutor'? [closed]

I find that the vimtutor is very great, is there more command to teach you other things too? Thanks.
1
vote
3answers
4k views

Installing emacs on red hat linux 5

I am very new to Linux , we are trying to install Emacs editor on linux which is Red hat Linux5. We setup VMWare and installed linux on that , i tried google a lot and couldn't find any tutorial on ...
2
votes
2answers
3k views

Android emulator performance on linux

I installed the android SDK and eclipse plugin on my laptop, but I was surprised to find out that the emulator eats up 100% of one of my cpu cores. I have exactly the same setup on a desktop machine ...
0
votes
1answer
764 views

How to change permissions in files in subdirectories in linux?

I have a main music folder and within that folder are the various albums that I have and in those albums are the various song files. The permissions on these are set incorrectly on my FreeNAS server ...
0
votes
1answer
10k views

Is there a Chrome extension like DownloadHelper for Firefox? [closed]

I search something like DownloadHelper, a tool to download Flash videos. It should work on Chromium (Linux). Any link?
5
votes
2answers
7k views

ddclient updating to local IP instead of public IP

I'm trying to setup ddclient on my ubuntu server to update my DNS records on zoneedit for when my public IP changes. It's updating fine, the problem is that it's giving zoneedit my local IP instead ...