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

What environment does an application run in if started via desktop shortcut?

I have noticed that the environment variables I export in my .profile or .bashrc files are not available to applications started via a desktop shortcut. At least to my IDE. They are available if I ...
0
votes
0answers
330 views

How to start init, but not startup scripts?

I specified rdinit=/bin/sh and manually booted the system (in chroot) from command line, complete with mounted filesystems, network services and X desktop. The init is still busybox's /bin/sh. The ...
0
votes
1answer
85 views

How to understand if a folder is in the right partition

I've just installed an ubuntu server (11.10) with two partitions, one is a ssd hard drive and the second one is a raid 1 drive. During installation process I chose to put the home directory inside the ...
0
votes
2answers
1k views

Can you do any damage with “rm -R *” on a Mac?

I just cd to "/" on a Mac and accidentally entered "rm -R *". I know the command means delete everything in "/" but I wasn't sudoing, should I reinstall Mac OS? Or does a mac protect against this sort ...
0
votes
1answer
109 views

unable to boot into my Linux

I am using ubuntu 11.04 (or rather was using it). I was following this tutorial. After I finished it, I shut down the computer and haven't been able to log back in. Basically what is happening is ...
1
vote
1answer
1k views

Auto enable Mouse Wheel Emulation for ANY mouse devices on Linux

I'd like to have the behavior that using ANY mouse device I can hold down the middle key(or a real wheel) and move forward and back or left to right to emulate the wheel behavior. I found a way to do ...
1
vote
1answer
745 views

command in multiple lines

Here is an example code from a book I need to type on terminal > db.users.update( {username: "smith"}, { $set: {favorites: { cities: ["Chicago", "Cheyenne"], movies: ["Casablanca", ...
0
votes
1answer
514 views

How to know the free space on system login by ssh command?

see i am logged in another system by ssh command Now i want to check how much free space is available on that system then how can i check that? i have just command line interface so is there any ...
0
votes
1answer
626 views

Replace failing hard drive on Linux server

I'm working with a Linux server with a failing drive, and am interested in the best/easiest way to transfer the existing data onto a new drive, and reboot with the new hardware. The server is running ...
1
vote
5answers
1k views

top command in linux

I want to see all the java processes & see the details of it in linux. I'm using top command & it shows me all processes along with java. But I would like to know if there is any way top ...
4
votes
1answer
1k views

Updating BIOS for Linux

Does anyone know a reliable guide to reinstall or update BIOS from flash drive having a computer running under Linux OS?
2
votes
4answers
857 views

Use gnu-screen and X instead of desktop environment?

I have a HTPC with Debian currently installed on. I would like to run applications which got a gui but without using a desktop environment such as gnome, kde etc. I was wondering if running X would ...
3
votes
1answer
538 views

Checking if any data exists on a presumably empty storage device

So, say you've completed a full pass of: dd if=/dev/zero of=/dev/sdX bs=1M Then, you'd like to make sure the destination has been really zeroed out (ignoring the confirmation messages from dd ...
3
votes
2answers
10k views

Rescuing a hdd with bad sectors: dd vs gddrescue

Somewhere on the internets I read that gddrescue is superior to dd at least in terms of being able to distinguish between the amount of disk reads performed on a troubled sector. Is this really the ...
0
votes
2answers
6k views

connect Internet via Terminal linux

I want to write a script-Ubuntu_OS- would connect to a wireless Internet so I need to know how to connect Internet via terminal in Linux. I tried many suggestions on the Internet but nothing at all
5
votes
1answer
2k views

Bind Ctrl-Tab to cycle through windows in tmux

I'm trying to figure out how to bind ctrl-tab to cycle through all open windows, I've tried: bind-key -n C-Tab select-window -t :.+ which says Unknown key. What am I missing? Note: I don't want to ...
7
votes
2answers
6k views

Tree command list one level all files

How can I use the tree command to list current directory as a tree? If I do tree -L 1 It only lists the directories, how can I get it to show the files as well?
1
vote
2answers
1k views

“No such file or directory” error while installing MySQL for Python

I'm getting this error while installing MySQL for Python. running build running build_py copying MySQLdb/release.py -> build/lib.linux-i686-2.6/MySQLdb running build_ext building '_mysql' ...
1
vote
2answers
6k views

bash script while loop if variable is true

I have the following bash script: while [ $loop == "true" ] do //do stuff done but it says error at [. Also this runs as a daemon, when the stop argument is passed to the script...the ...
0
votes
1answer
582 views

Add old top and bottom panels on Gnome 3 without downgrading

I am testing Ubuntu 11.10, I am using Unity so far but I am not 100% convinced I want to use this desktop. I also installed gnome 3, but I find Unity easier to use than gnome 3. But I would like to ...
1
vote
1answer
893 views

wireless is disabled by hardware switch

I am using Ubuntu 11.10, Every thing was working perfectly fine. After an update is installed my wireless network is stoped working. I am using HP ProBook 4530s The network indicator on right top ...
3
votes
4answers
422 views

Switching to Linux and Keeping Windows With VirtualBox

I'm currently running a Vista machine, but would like to switch over to Linux, Ubuntu in particular. My question is can I switch over to Ubuntu, keep my Windows partition and use VirtualBox to access ...
1
vote
1answer
977 views

Theme problems Themes & Login screen on xfce

I'm using Linux Mint Debian 201109 (Xfce) version. I added debian repositories to apt and updated whole system. And now I have a problems with styles/themes on some applications(they use standart ...
1
vote
0answers
2k views

Configuring nullmailer on Linux?

I'm setting up a new Linux Mint 12.0 installation, and oddly enough, it doesn't come configured with any sort of local mail. What it has, instead, is nullmailer — a daemon that does nothing but ...
1
vote
2answers
384 views

VMware workstation. Windows host, Ubuntu guest. Guest VM stops responding

I have a frustrating problem with VMware and Ubuntu. I have a desktop running Windows XP 64 and VMware workstation 6.5.4. I really don't do anything directly on the host except run VMware. I have ...
2
votes
4answers
131 views

What happened to my graphics card?

What happened to my graphics card? It happens after a while, and more in QT applications than in GTK. Lines don't disappear after moving the window or hiding it (forcing it to redraw). My ...
0
votes
3answers
61 views

How to virtualize hardware (the other way around)

Generally questions about virtualization means putting more virtual computers on 1 physical computer. What my question is about is the other way around. Namely: how to make from different physical ...
2
votes
2answers
335 views

Copy information from iCal to Google calendar

I am using OSX Leopard and would like to sync iCal with some other system so at home, on a Linux box, I can see the calendars. I thought about Google calendar, is it possible?
0
votes
1answer
133 views

Linux FHS & Best Practices

I'm new to Linux (Ubuntu) and the FHS standard is a little confusing. Also, because its a standard and not a strictly-enforced system, I see many applications installing files to the various FHS ...
4
votes
2answers
15k views

Can't change owner (user or group) of directory which I have all rights on?

TL;DR: Why am I getting the Operation not permitted? And how can I resolve this? I'm facing a problem which I can't resolve. I'm creating a directory as user a:group a), which I want to change to ...
1
vote
0answers
46 views

what are commands for tc shaping,queueing and scheduling?

I have 3 virtual machines and i fixed them as a team and in 1 local host now they can ping each other and see each other now how can I write a command to see shaping using traffic controller (tc)? is ...
0
votes
1answer
2k views

/dev/sda1 or /dev/sdb1 i should write my iso? If i do wrong what will happen, can i reverse back?

I did a mistake and realized i would have choosen /dev/sdb1 instead of /dev/sda1. My own system i did something. But how can i reverse back? (i am sure if i reboot my system i wont be able to login ...
6
votes
3answers
8k views

Open source command line subtitle converter

Are there any open source, command line, subtitle converters - preferably for Linux?
3
votes
3answers
196 views

Should I not be using Firefox 3.6?

In Ubuntu the version of Firefox that gets downloaded through apt-get is 3.6.2.4. But Firefox is up to version 9.01 already. Why does apt-get only get version 3.6? Why is Firefox already up to ...
1
vote
1answer
1k views

Instant reverse HTTP proxy from a Linux command-line

There is a nice trick to instantly serve contents of a current working directory by HTTP locally: $ python -m SimpleHTTPServer This command launches HTTP server at *:8000, serving $PWD contents. ...
5
votes
3answers
1k views

Is there a better mplayer command line interface, or another good CLI music player?

I generally prefer to do things on the command line when I can. Mplayer is a great tool for playing all sorts of media, but the command line interface sucks. Some things I'd like to see in a CLI media ...
7
votes
2answers
18k views

Is it possible to resize a QEMU disk image?

Like the title says: Is it possible to resize a QEMU disk image in Linux? And if so, what happens to the partitions within it? Are they automatically resized as well (doubtful) or is there just a new ...
0
votes
1answer
1k views

Wildcard for /etc/hosts & Apache VirtualHosts

I have following structure of my web projects on my hard drive in /var/workspace/www/ firstdomain_com \- www \- anysubdomain seconddomain_com \- dev \- api \- www I need to run all these ...
8
votes
1answer
2k views

Configuring sysrq in linux

The file /proc/sys/kernel/sysrq contains a single number, such as 1 (enable all sysrq commands), 0 (disable all), or a base-10 positive integer which functions as a binary bitmask, enabling a subset ...
5
votes
5answers
1k views

Recommend me a good video format to encode my video

I recently got a helmet camera for my motorbike and was able to make videos, however it stores it in Motion JPEG, which is very space inefficent. 30 minutes of 640x480 takes up 2GB. I can convert that ...
-1
votes
1answer
475 views

Open a linux port without using iptables in Centos? [closed]

just a quick question, is it possible to open a port on linux Centos without using iptables? If so, how do I do that from the command line?
0
votes
0answers
107 views

Single key combination to clean text input in Linux

In Linux, is there any way I can put cursor inside some text input, like browser URL/quick search box, and just clear it? Right now I have to select all (Ctrl-A) and press Del. It does seem easy but ...
1
vote
1answer
412 views

Giving a user permission to the /home directory

I am using CentOS 5.x. I would like to give a user permission to write on the /home directory. Do I have to make it a sudoer? Or is there any other better way for that?
0
votes
1answer
226 views

Sharing Eclipse using NFS - Issue?

I am sharing Eclipse with another gentlemen over a Network File System. Strangely, when he started using it, the make tool did not properly work. I suspect this is because the server cannot handle the ...
0
votes
1answer
168 views

Alias settings not “sticking” when running Fedora in Parallels

Recently set up a Fedora 15 installation using the latest version of Parallels. Everything seems to be working fine, save for a particularly odd quirk. Whenever I set up an alias using something like ...
0
votes
1answer
98 views

How share internet (linux)?

How route (masquerade) internet on Sabayon 7 (Gentoo base distro)?
2
votes
1answer
322 views

GNU Screen: Visual indication of copy mode

When I enable copy mode in a window, I see "Copy mode ..." in the bottom line of the terminal. I configure screen to show the list of windows on the bottom. Now, when I switch to another window and ...
0
votes
1answer
889 views

Linux CentOs: Setup ssh & sftp

I have a desktop server which has CentOs 5. When im on the same LAN with the desktop server, i'm able to ssh but not when i tried to ssh from the public IP. How do i setup ssh and sftp for public IP?? ...
0
votes
1answer
125 views

How to moved folders from one domain to the other in the same server

Hello very one I need help to find and moved all .wmv files in many folders in my server to just one see what I have so far scp -P 1122 "*.wmv" -type f /home/user/public_html/HOTVIDEOS \ ...
3
votes
4answers
3k views

“watch” the output of a command until a particular string is observed and then exit

I'm looking for a way to programatically watch the output of a command until a particular string is observed and then exit. This is very similar to this question, but instead of tailing a file, I ...