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
1k views

Using fg with screen

I have a running job in a ssh terminal on an external server. I can pause it with CTRL + Z and resume it with fg. But I would like to pause it, run screen screen -S my_job and get it back in front ...
0
votes
1answer
183 views

Where to ppp username and password to initiate a PPP session?

I am using RedHat Linux 5.4 and I would like know where should I update the PPP username and password sothat I can connect to the ISP?
2
votes
2answers
6k views

How to use SSH over a proxy in Linux

I'm trying to use SSH from a bash shell (Ubuntu 11.10) to connect to my home university via a proxy at work. When I use PuTTY in Windows from the same place, I can put in the proxy details in the ...
1
vote
0answers
102 views

Command line Linux any document format to PDF converter? [duplicate]

Possible Duplicate: How do I convert this filetype to pdf? I am looking for tool to (similar to ooffice) convert to PDF. I know where from .odt can be converted to PDF. How about .doc or ....
1
vote
2answers
647 views

VNC from Windows XP to Ubuntu host using SSH

I am trying to use Putty and VNC Viewer on the client to connect to a Ubuntu host which has X11Forwarding yes and X11DisplayOffset 10 set in the SSHD configuration. I have enabled X11 Forwarding and ...
10
votes
3answers
8k views

Unable to resolve .foo.local domain names

My workplace has an intranet with domain names like server01.foo.local, server02.foo.local, etc. I recently booted the Fedora 16 live environment to test it out and discovered that these domain names ...
2
votes
3answers
14k views

How do I switch to a higher resolution in Centos 6 installed on a virtual machine (VirtualBox)?

I have installed Centos 6 on a virtual machine (virtualbox). Maximum available screen resolution is 800x600. How do I get higher resolutions?
2
votes
3answers
1k views

Logrotate Error

When using logrotate from a cronjob, I am getting this erros: error: unable to open /var/log/mylog.1 for compression Does any one know what does it mean and how can I fix it ?
2
votes
2answers
1k views

Utility to cat/gunzip a list of files

Is there a commonly-installed Linux utility that will take a list of files and cat or gzip -d (==zcat) them based on whether the file is compressed? An example of where I just needed this is when I ...
6
votes
3answers
4k views

Keep mplayer open after video playback

Is it possible to make mplayer freeze in the last frame of the video instead of closing? I am using CLI version of mplayer in linux.
0
votes
2answers
127 views

Is there a portable (non-su) file sync application for linux?

On my own machine, I use unison, but I need a different solution for my machine @work. I have no superuser permissions and dropbox et al. are blacklisted. The only thing I can use is a USB stick. ...
8
votes
3answers
13k views

How do the '-s', '-t', and '-c' options of the tr command work in Unix?

I am confused regarding the way -s, -t, and -c options work in the tr command. When I do echo I am a good boy | tr good bad I get the output: I am a bddd bdy This is quite understandable, since ...
0
votes
2answers
193 views

Why the startup of a new application causes system stuttering

All modern operating system are supports multitasking. So, each running app would get a certain amount of time slice from cpu for their operation(depending on their demand). The questions is, if the ...
11
votes
2answers
1k views

How can I prevent or interrupt accidental copy/paste in the terminal?

When I paste into the terminal, sometimes what is in the clipboard is not what I expected. Specifically, it is sometimes pages and pages of text from a website. When this happens, the terminal goes ...
1
vote
1answer
70 views

Is it possible (and if so, how) to have a terminal open on x-screen 1, execute a command on that terminal, and have an application open on screen 2?

Let's say you have two monitors hooked up to the same machine, running gnome (let's call them 'A' and 'B'). Each has its own, independent x-screen. Our goal is to type a command into a terminal on ...
69
votes
6answers
55k views

How to have Linux ls command show second in time stamp

Something annoying about ls -l command is it shows only hour and minute for a file(like 08:30). How can I see the second portion(like 08:30:44)? man 1 ls and search for 'second' does not give any ...
7
votes
1answer
9k views

dd_rescue vs dcfldd vs dd

What are the main differences between dd_rescue, dcfldd, and dd? In what situations would you use one over the other? Why are there three different yet simliar programs?
0
votes
1answer
38 views

Can files be recovered from an encrypted linux disk, if it gets formatted to ntfs?

I sent in my laptop to gateway for a LCD repair, with instructions not to format the hard drive. They saw that I had ubuntu installed and formatted it, installing windows 7. My hard drive was ...
5
votes
3answers
681 views

How to continue using GNOME2 with Ubuntu or a derived distribution?

I am currently using Ubuntu 11.04 with GNOME2 instead of the new default, Unity. I heard that in a newer Ubuntu version there is no GNOME2 aka Ubuntu classic desktop anymore. Which Linux ...
1
vote
1answer
1k views

How can I backup a Ubuntu system and restore it on another maching with completely different hardware?

I just completed my Ubuntu installation. It contains all packages I need and I configured my apps correctly. I would like to backup this installation and be able to restore it to different computers ...
0
votes
2answers
3k views

Partition is missing in /dev

I'm having a strange problem since I moved from Centos5 to Centos6. I have three disks, first two are used as a RAID1, and third one is a stand-alone backup disk that is not listed in /etc/fstab (it ...
0
votes
1answer
799 views

How to make system wide Gnome menus with alacarte?

When I have edited the Gnome menu with alacarte as root, I do #!/bin/sh mkdir -p /etc/my-gnome-menus rm -rf /etc/my-gnome-menus/* cp -r /root/.config/menus /etc/my-gnome-menus/ cp -r /root/.local/...
6
votes
1answer
2k views

Is it possible to remap the Back/Forward keys of a Thinkpad USB keyboard on Linux?

On my Thinkpad laptop I can easily change the Back/Forward keys to something else (I usually map them to PageDown/PageUp), as they have their own keycode (166 and 167): xmodmap -e 'keycode 166=Prior' ...
11
votes
2answers
8k views

On the Performance of TCP implementations of Linux and Windows

I understand the implementation of TCP stack in windows and Linux are different. Windows uses a congestion control algorithm known as the TCP Reno while Linux uses Cubic. How do the 2 protocols ...
0
votes
1answer
474 views

List all SVN repository URLs from a folder in recursive mode

We are looking for a script that will traverse in recursive mode all subfolders and list all SVN repository URLs and the path where it was found. It will be used on /home folder of a user.
1
vote
1answer
618 views

Can I tell if Root / Sudo has been used/accessed

Would it be possible to check if the root user (or sudo) has been accessed on my server. I ask this because I am creating a server monitoring tool and I wanted to know if there was a way to check ...
0
votes
1answer
891 views

gnome 3 sound volume applet + hotkeys

I have installed today gnome 3 (debian wheezy). when I use hotkeys to change sound volume ugly applet window appears my computer slows down while this applet renders. 1 frame per second. geforce ...
5
votes
2answers
24k views

Linux: How to automatically run commands on SSH login?

Whenever I login to my Linux server I'd like to have several commands run automatically (set some variables, change location, etc.) This needs to be done on user login, not on system start. How can ...
1
vote
2answers
433 views

How can I install Windows XP after having removed Fedora 13 from my laptop?

I have Fedora 13 on my Dell Inspiron 1545 laptop. This is the only OS on my machine. From tutorials I am able to remove Fedora from my machine. However when installing Windows XP on my laptop, it ...
4
votes
1answer
1k views

Are there any linux distributions similar to RedHat 5 Enterprise?

I want to install RedHat 5 Enterprise Edition server on my home PC. I will install servers and clients on virtual machines using Virtual box and study server-client structure at home. But RedHat EE is ...
1
vote
2answers
5k views

Remove Linux GRUB and keep Windows boot loader

My operating system was Windows 7, and recently, I installed Zorin OS (linux based on Ubuntu). At first, when I turned on my laptop Windows started automatically. I used a program to make the Windows ...
8
votes
2answers
11k views

Setup routing and iptables for new VPN connection to redirect **only** ports 80 and 443

I have a new VPN connection (using openvpn) to allow me to route around some ISP restrictions. Whilst it is working fine, it is taking all the traffic over the vpn. This is causing me issues for ...
2
votes
1answer
63 views

Using a smaller drive to mirror a larger server to an offsite backup?

Say I have a 10TB array that I wish to backup to another 10TB array that is off site. I have a 500GB portable drive that I can use to move the data around. The data is static. How can I copy it ...
2
votes
2answers
1k views

GUI for tail for Linux

Could someone recommend a graphical tail kind of document viewer? So that I could open a document, scroll up and down, etc. and that the document would refresh itself automatically (without prompting, ...
1
vote
1answer
161 views

Execute script when RAM is almost full?

I'm looking for a way to execute a script as my RAM fills up, right before my machine starts swapping heavily and blocks my mouse, keyboard and other input devices for some minutes. The thing is that ...
1
vote
1answer
109 views

Ignoring path while archiving with TAR

I have a file that contain list of files I want to archive with tar. Let's call it mylist.txt It contains: /path1/path2/file1.txt /path1/path2/file3.txt ... /path1/path2/file10.txt What I want to ...
2
votes
1answer
579 views

Moving Win7 partition to other disk using Linux: how can I have win7 boot again?

I recently got a new notebook which came with Win7 preinstalled. I'm not a Windows guy (all Linuxes here) but I decided to keep it just in case. The problem is that the notebook came with a 5400rpm ...
6
votes
2answers
3k views

What is the correct way to prevent non-root users from issuing shutdowns or reboots

Let's say that you have set up a multi-seat system for use in a school or library, allowing GDM to launch multiple X sessions to run simultaneously with different users/keyboards/monitors. By default ...
1
vote
1answer
142 views

Debian 5.0 belocs-locales vs locales

On Ubuntu, to add a locale to the system, I would edit /var/lib/locales/supported.d/local, add the locale and then run dpkg-reconfigure locales. I tried that on a Debian 5.0, but I discovered that ...
3
votes
1answer
404 views

What is the difference between the Linux distros?

What is the difference between the several GNU/Linux distros like Ubuntu and Fedora? Before brickbats fly for asking an oft repeated question, I am talking of differences related to the internal ...
2
votes
0answers
178 views

detect the start of Flash videos

I like to turn my music off when I start watching Flash videos. It used to be that Flash videos were cached in /tmp, so I could watch for them with inotify: sorghum:~% incrontab -l /tmp IN_CREATE /...
6
votes
2answers
2k views

Why do “ls” in UNIX and “dir” in DOS have different names?

Why do they have different names for the same command, listing a directory? Surely, they could have talked to each other and agreed on one common name, such as for example cd which is the same for ...
0
votes
4answers
5k views

How do I get my Linux servers accessible via http://hostname/

I have two Linux servers on VirtualBox Virtual machines. One is Ubuntu Linux and another is OpenSuse Linux. The hostname of Ubuntu server is "ubuntu-server" and hostname of open suse server is "suse-...
2
votes
1answer
2k views

How can I get Linux to not thrash and just kill processes?

Firefox (and flash) tends to chew up memory at random times, causing my computer to thrash, and it drives me crazy waiting for the oom_killer to kick in and kill processes,[1] while I can't do ...
0
votes
1answer
367 views

Providing access to a user of 'only' on svn repository

I have multiple svn repositories on my server. For example: /var/svn/repo1 /var/svn/repo2 /var/svn/repo3 I wanted to give access to a client to the repo2 only so I created a user 'client' and ...
3
votes
1answer
2k views

Ubuntu heating my laptop

I'm using Ubuntu 11.04 (classic). The laptop is getting very very hot and often it shuts down due to over heat. When I use Windows on the same laptop (dual boot) its fine and heat is almost ...
1
vote
3answers
3k views

How can I switch off IPv6 ND RA transmissions in Linux?

I am working on Ubuntu 11.04. I want to switch off the IPv6 ND RA transmissions. How can I do this?
2
votes
0answers
798 views

Authentication fails when using BackTrack 5 under VirtualBox, on Airport Express

I've got BackTrack 5 running in VirtualBox on my Mac. The airport is recognized by VirtualBox as a bridged connection. BackTrack 5 is picking up the airport, and is displaying available wireless ...
0
votes
0answers
44 views

Moving Files internally on a Linux Server via Samba [duplicate]

Possible Duplicate: Moving files on samba-connected NAS I have a problem with my Linux Server I just set up. I installed Samba and configured it and it all works fine. I access it from a ...
0
votes
1answer
1k views

Remotely installing a linux distro on a PC I cannot plug keyboard and/or monitor to

I have to install a linux distro (any Debian-based, or Debian itself, fits my needs) on a machine that I have physical access to (I can insert a CD in its drive), it is connected to my LAN, but... I ...