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

2
votes
2answers
6k views

Xorg configuration file on Debian Testing

I cannot find the Xorg configuration file on my newly installed Debian on my tablet-pc, so I followed this tutorial http://wiki.debian.org/Xorg and ran the command "Xorg -configure", to which I got ...
4
votes
2answers
2k views

Minimize VirtualBox Hard Drive disk

I have Ubuntu Server 10.04 TLS installed on a Virtual Machine in a VirtualBox. The size of the Hard Drive is dynamic growing hard drive and the maximum is 32GB. At the beginning i had 4GB on the Hard ...
0
votes
1answer
1k views

Is it possible to configure Okular to open a given file at the position where it was closed?

I am using Kile + Okular to create Latex documents. Okular has a nice feature that if you open the same document again, it will go to the same position as it was last closed. However, it can detect if ...
3
votes
3answers
242 views

Explaining Git to someone new to revision control

I've recently decided to jump into the whole world of revision control to work on some open source projects I have. I looked around (subversion, mercurial, git, etc) and found that Git seemed to make ...
45
votes
4answers
44k views

How to wget a file with correct name when redirected?

So after some time of searching on Google and Super User (and scanning man pages) I was unable to find an answer to something that (I think) should be simple: If you go here: http://www.vim.org/...
4
votes
3answers
700 views

What programming languages can I assume on a random Linux server by default?

There are many Linux distributions out there and all have different packages installed by default. What languages are generally installed by default? I know it is possible to install new packages ...
0
votes
2answers
816 views

Net boot from debian server using directly connected ethernet cable

I have a computer with grub installed, and nothing else. I'd like to install Debian on it without having to burn a CD. (and I don't have any flash disks.) It has a nice ethernet card, and I have ...
9
votes
2answers
4k views

Which twitter client can synchronize unread tweets?

Right now I'm forced to read all the tweets in a single client on a single device (TweetDeck on my Android phone). If I would switch to another device and/or client, I would need to search for the ...
4
votes
1answer
3k views

How can I configure Mutt to work properly in Cygwin?

Every time I try to run Mutt in cygwin I get the following errors: Error in /home/JJR/.muttrc, line 4: smtp_url: unknown variable Error in /home/JJR/.muttrc, line 5: smtp_pass: unknown variable ...
5
votes
3answers
594 views

How do I detect when I a terminal gets focus in Linux?

I want to be able to time how long I spend in front of a terminal. I'm thinking the best way will be to have some sort of timer that starts and stops when the terminal gains/loses focus. And it will ...
0
votes
1answer
796 views

How to refresh htop after sorting (via Shift+m)?

I love using htop, but I have noticed that whenever I sort by a parameter (for example, Shift+m for sorting by Memory usage), the htop stats stop dynamically refreshing. Is this intended? I also ...
3
votes
1answer
1k views

Unable to connect to Github for the first time

This is my first time with Git and I'm trying to set it up on my box. I added my key to my profile in the Github web interface. When I try to connect... : max@linux-vwzy:~> ssh git@github.com The ...
5
votes
3answers
341 views

Unix/Linux program that can handle all popular compression/archiving formats (e.g.tar, gzip, bzip2, zip)?

I sometimes get confused by the varying command line options I need to run common Unix archiving and compression software (e.g. gzip, bzip2, zip, tar). Is there a program out there that can just Do ...
10
votes
1answer
2k views

Baby monitor with netbook and smartphone [closed]

We're shopping for a baby monitor, but it seems like a waste to pay $150 for something when we already have both cameras/microphones (netbook with built-in webcam is the most mobile one) and remote ...
1
vote
1answer
1k views

Stop flicker in Ubuntu when mouse travels back using synergy/Make xset -dpms permanent

After upgrading to Ubuntu 11.04, now when my mouse travels back from my windows synergy client to the ubuntu synergy server, my Ubuntu monitor blacks out for a second or 2. I know that xset -dpms ...
1
vote
1answer
121 views

Formatting my $PS1 to x amount of character

I'm looking for a way to force my PS1 variable to a certain number of chars. It currently looks like: $PS1="\W $" and I'm trying to keep the same number of characters regardless of the length of ...
4
votes
1answer
451 views

User supposedly not in sudoers file, but already is!

I'm running Ubuntu Server 11.04. It came time to add User to the sudoers file: so I decided to simple add User to the admin group: usermod -a -G admin user Then I used visudo to check if admin users ...
8
votes
1answer
206 views

Is there a `grep`-like utility to match strings instead of lines?

I'm using grep to extract lines that match a regular expression. How to get only the matches and not the whole line?
0
votes
1answer
728 views

How to copy data files from one Linux server to another, online, automatically, daily, using a script?

How to move a data files from one Linux server to another in an online Internet environment, automatically daily, using a script?
3
votes
0answers
161 views

Why is nano ignoring the first line in files?

I've sshed into Server A and Server B from Windows Vista. I've sshed into Server A and Server B from Windows XP. In all 4 cases, when I edit a file with nano, the first line does not show up in nano ...
9
votes
2answers
72k views

How to mount a folder from a Linux machine on another Linux machine?

I want to mount a folder from a Linux machine on another Linux machine. How do I do that? Do I need to update /etc/fstab or /etc/export? My target is to mount /tmp from the other Linux machine. I ...
2
votes
2answers
186 views

Firefox: Autoupdate from 4 to 5 on Linux

I am using Firefox 4.01 on GNU/Linux x86_64. Is there any reason why there is no autoupdate? In fact, when I look at the "About Firefox" dialog, it just says "Updates available at http://www....
61
votes
4answers
34k views

How to analyse disk usage in command line linux?

du and df are nice, but I don't know how to filter the data they provide the way I do with SequoiaView. I would like to know which are the largest folders and the largest files in a glance.
0
votes
1answer
140 views

Start linux programs from within Wine?

I'd like to start bash from within Total Commander (which itself is running within Wine). Any ideas (if there are any at all) how I could do it?
5
votes
4answers
7k views

Problem with resizing Subwindows in Eclipse Xming combination

I'm running Eclipse on a Linux server and I'm displaying it locally through xwindow forwarding using xming. Whenever I create something like a subwindow (like opening project properties or the Project ...
1
vote
1answer
365 views

On the command line, 'find' reports back an illegal time value

I want to run the following command. find . -mtime -60s When I do, I get this output instead: CLIENT% echo `date +%s`-1308741881 | bc 5152 CLIENT% find . -mtime -`echo `date +%s`-1308741881 | bc`s -...
0
votes
0answers
1k views

Atheros LAN card driver, Linux compiling problem

I have installed openSUSE 11.4 to my new workstation. It says that there is Attansic ETHERNET controller on board. But no devices seen. I typed: lspci and it returned: atheros communications device ...
1
vote
1answer
2k views

Two Ethernet cards (different subnet) and unable to ping eth1

I have been trying to solve this problem in weeks but am unable to do so. I am running RHEL5.3 and have two network interfaces (dhcp). I'm having problems accessing eth0 via ping or ssh when i'm in ...
0
votes
0answers
752 views

Microphone not working in Ubuntu Natty

Problem: I can hear myself speak in the mic but Ubuntu is not recording/capturing the sound. Actions Taken: I followed all the steps listed here for the Alsa update script I've also tried changing ...
1
vote
2answers
1k views

Networking packet sniffer for Linux that captures the application names?

I tried Wireshark. It shows the source and destination IP address, port number, and packet contents, but nothing about which application is using the packets. Apparently tcpdump is similar; network ...
1
vote
1answer
3k views

Dual Boot Windows 7 + Linux on 2 separate SDD + Data HDD

I'm about to build myself a new machine (to replace my old Celeron, yes you can laugh :P) and I want to be able to dual boot on Windows 7 (mostly for games) and Linux (development/programing). I'm a ...
3
votes
2answers
716 views

Is rsync --delete safe in case of disk failure

I have two data hard drives on my Linux server and I use second as a backup for a first drive. I use rsync for that purpose. An example would be: rsync -r -v --delete /media/disk1/ /media/disk2/ ...
3
votes
1answer
9k views

Use xrandr to set the absolute position of the screen?

I am running XFCE on Fedora 15. I use xrandr to set the secondary display (HDMI-0) to be to the right of the primary (DVI-0), however it is always at the top-right. Is it possible to set the absolute ...
13
votes
5answers
37k views

How to use rsync from Windows PC to remote Linux server?

How do I use the rsync command from a local Windows 7 machine to a remote Linux server? What software is needed on the Windows 7 machine to use rsync? The remote Linux server is using Amazon's Linux ...
28
votes
2answers
10k views

Maximize window in tmux

tmux shows screen like this: [root@wpc-fc2 init]# |············ |············ ...
9
votes
6answers
16k views

Linux command to find files changed in last n seconds.

I would like a Linux command to find files changed in last n seconds. Is there a shell script or other tool that I can run from command line interface or gui?
3
votes
2answers
3k views

How do I use the -ne flag for echo in a shell script?

I'm trying to create a shell script to take an argument and use it to name a terminal tab. So if the script's name is tabnm, tabnm "test" should rename the current tab "test" This is my code: #!/...
10
votes
7answers
20k views

Can I increase the sound volume above 100% in Linux?

I am running KDE 4.6 in Debian Testing. Is there a way to increase the sound (i.e. more than the standard 100%)? The current settings with my speakers seem a bit too quiet in some cases. I found a ...
3
votes
1answer
4k views

How to ssh into a remote host that is hidden behind a NAT router?

I can use TeamViewer to get into this remote host. It has sshd running. I would like to ssh to it. But it gives the system's IP as 192.168.xx.yy. How do I ssh into it?
2
votes
1answer
2k views

RHEL Desktop Recorders… Do they exist?

I've been searching a lot for a desktop recoder on RHEL 6 lately (for tutorial videos about how to use RHEL desktop for non-linux users) But unfortunately, I didn't find anything... Just some desktop ...
24
votes
3answers
64k views

Which command in the Linux/UNIX sh shell returns my current directory?

Using the sh shell (not bash), which command in Linux/UNIX prints out my current directory? $ *showmewhereiam* /sys/kernel/debug $
1
vote
1answer
482 views

How to add big file to linux livecd

I have a linux live-cd linux.iso(600Mb), two files foo.sh(1Kb) and foo.img(1.3 Gb). How to add files to live-cd and create live-dvd?
8
votes
3answers
16k views

How can I find out processes are using swap space?

I have a linux server top reports about 9GB of swap used: But I cannot figure where's it use swap, some google results said that top - O commad follow by p will show swap usage by process. But as ...
52
votes
5answers
52k views

How can I recursively copy files by file extension, preserving directory structure?

At the Linux command line, I'd like to copy a (very large) set of .txt files from one directory (and its subdirectories) to another. I need the directory structure to stay intact, and I need to ...
23
votes
4answers
27k views

Clear terminal using keyboard shortcut

I was curious if there is a way to clear the terminal buffer/output through some keyboard shortcut. I am using Ubuntu. I am aware that Ctrl + L clears the terminal, but you can still scroll back to ...
6
votes
7answers
598 views

Can I shorten my directory commands in Ubuntu?

When working on a rails app I like to open all of my files through the command line like so CD my_app gedit app/views/user/show.HTML.erb Is there a way that I could shorten this so that I could ...
1
vote
2answers
155 views

Attaching some code to session start and end in Linux

I'm trying to execute some code (let's call it login.java) when I log in and out of my linux machine. Is there any way to do this? I'm looking for perhaps a way to trigger the code? I've thought of ...
0
votes
2answers
1k views

How to make VLC act as a Kiosk

I'm thinking of using VLC in a Kiosk type application I'm designing, and I have a couple questions. I need VLC to start in fullscreen mode (easily done) but not allow the users to open new files or ...
10
votes
5answers
9k views

How to find out from which folder a process is running?

In *nix you can use ps to see which process are running. But if an executable has multiple homonimous files in a device, we can't figure where it was invoked from. This is slightly different from my ...
2
votes
4answers
387 views

List of groups a user is a part of

In Linux, how do I get a list of all the groups a particular user is a member of?