2
votes
4answers
2k views

Anacron job complains “Gtk-WARNING **: cannot open display”

I'm trying to make a simple weekly Anacron job that backs up my computer if I click yes on the dialog. The script I wrote works fine if run manually, but when Anacron runs it, nothing happens and I ...
4
votes
4answers
327 views

Good free intro to Ubuntu? [closed]

So a friend asked me if I knew of a good Ubuntu tutorial or book. I remembered one from a while ago: the Ubuntu Pocket Guide, but it turns out it's from 2008, so it's not really ideal any more. Are ...
6
votes
1answer
6k views

apt-get doesn't stop on Ctrl-c, what to do?

Occasionally I have connection problem with apt-get (typically because I use it behind a proxy and try to install/upgrade flash). I have been trying sending Ctrlc but it would not stop. I thought it ...
8
votes
1answer
1k views

Dual network connection

I have a usb cellular modem and a Home LAN connection on my Ubuntu 10.10 box. Both work independently. I want to know how to have both connected at the same time, and be able to specify which ...
6
votes
3answers
201 views

What can I do when apt-get/aptitude doesn't create a menu item for an installed program?

Obviously, this question is specific to Debian-based setups. I find that, often, packages I install using aptitude or apt-get only say that a menu item has been created. No menu item actually ...
1
vote
1answer
131 views

Xorg partially working for a font error

in my Debian stable, when I execute: startx as normal user the Xorg server begin to work, but after some second I recive in console this error: FreeFontPath: FPE "/usr/share/fonts/X11/misc" ...
4
votes
1answer
957 views

Tunnel through a NAT

I have a router that provides internet connection to a single client device via a wireless cellular data network. This network provides non-public IP addresses which gets natted. I would like to get a ...
2
votes
1answer
924 views

sbopkg is not working with proxy

Sbopkg used to work on my computer untill the network admin started to make a compulsory for the user to use proxy before connecting to the Internet. So, when I tried to sync to slackbuilds, I'm ...
6
votes
4answers
1k views

Why do I need to hit enter to get my shell prompt after my init.d script completes?

I had to write my own CentOS init.d script for celery because it only ships with one for Debian. You can see the script I wrote when I answered my own stack overflow question 3989656. But there's a ...
6
votes
3answers
347 views

Should I install an antivirus?

Are builtin security features allied to secure user behavior enough to protect a Linux system? Or should I install an antivirus software?
7
votes
2answers
2k views

What is the most complete MS Word alternative? [closed]

I need to edit *.doc and *.docx files on Linux. What should I use? Emulation + MS Office OpenOffice OpenOffice variants Alternatives?
21
votes
1answer
4k views

How do I get bash completion for command aliases?

I am looking to get tab-completion on my command line aliases, for example, say I defined the following alias : alias apt-inst='sudo aptitude install' Is there a way to get the completions ...
3
votes
1answer
8k views

How to install Fedora from an ISO on a USB?

I have a Fedora 14 x86_64 iso image and I want to install it using a USB stick. How do I get this stick to boot up, and use the image to start the installation? I'm running Debian.
22
votes
2answers
7k views

What is the difference between a job and a process?

What is the difference between a "job" and a "process"?
1
vote
1answer
459 views

How to mount external hard disk every time the server is restarted?

I have a server which the date will be backup to a external windows server hard disk which is mounted. But problem is every time the server is restarted I will need to mount the disk manually. How do ...
5
votes
1answer
363 views

What is the typical file limit of a folder on *nix file systems?

Obviously, if you stick a lot of files in one folder, the efficiency of various file operations is going to go down (e.g. ls takes a lot longer). However, what's the limit for how many files you can ...
1
vote
1answer
845 views

SME server install from USB crashes with “IOError: [Errno 30] Read-only file system”

I managed to make my 8.0GB USB flash drive boot the current SME Server 8 beta ISO image. The installation program starts when I boot from USB, and configuration of install options worked fine. After ...
8
votes
1answer
783 views

How can I write a new syntax highlighter for gedit?

Some times I wish the particular language I happen to be writing in had syntax highlighting. How can I add that?
18
votes
3answers
3k views

FreeNAS grub2 booting ISO

I've got usb-keys setup to multi-boot different Linux images. I wouldn't mind adding FreeNAS, and there's a doc with samples to add to grub.cfg menuentry "FreeNAS-8.0.4-RELEASE-x64" { insmod ufs2 ...
3
votes
1answer
137 views

How to make my linux-2.6.24.4 to identify a hard disk with serial mode on intel 3201 mainboard

How to make my linux-2.6.24.4 to identify a SATA hard disk on an intel 3201 mainboard? I have pre-load modules libata.ko ahci.ko scsi_mod.ko sd_mod.ko, but it doesn't work on intel 3210 mainboard. On ...
18
votes
1answer
2k views

Is there a way in bash to redirect output and still have it go to stdout?

Okay. If I wanted to redirect the output of a program to a file, I'd do something like this prog > file If I wanted to redirect both stdout and stderr to that file, then I'd do prog > file ...
7
votes
3answers
682 views

Temporary .vimrc

Is there a way to read a .vimrc file for only a single ssh session? That is, when I log in I perform some operation so that vim uses say /tmp/myvimrc until I log out? I do not want to permanently ...
31
votes
8answers
33k views

What is /usr/local/bin? Came across it in an script installation for Applescript but would like to know more

Before today, I've used Terminal to a limited extent of moving in and out of directories, changing the dates of files using the touch command, but had realised the full extent of Terminal after ...
5
votes
2answers
2k views

sort output by column

I'd like to take this command find -maxdepth 1 -type d | while read -r dir; do printf "%s:\t" "$dir"; find "$dir" | wc -l; done ( from here ). which has an output of basically ./kennel: 11062 ...
8
votes
1answer
231 views

Is it possible to name windows in emacs

I would like to be able to name a window in emacs, and specify that window when opening and creating new buffers. I've looked through the manual but all I can find is find-file-other-window, which ...
2
votes
0answers
65 views

Hanging install blocks new installations on WebOS [closed]

I tried to install an application via AppScoop. From that point on no further installs were possible because of a hanging install (see picture). Can you please advice how to cancel the hanging ...
6
votes
1answer
285 views

Automounting plugged devices in linux

Auto-mounting seems to be a bit of a messy thing in linux. The options to automount ranges from autofs, udev, hal or even filemanagers. What is the best-practice method to enable automounting on ...
4
votes
2answers
433 views

How to find files with names having a long string after the first dot

My Samsung Galaxy S doesn't like files where the name contains a long string after the first dot. I guess some part of the software has a too short buffer for the file extension. How can I find all ...
5
votes
2answers
2k views

OpenBSD: 32 bit or 64 bit

I would like to use the 64 bit version of OpenBSD, but I'm not really sure how good it works. Are there any known problems? Is the 32 bit version more recommended for productive environment?
8
votes
3answers
465 views

Why do tar and gzip files usually have a file extension?

File extensions are not necessary on unices, still every tarred, gzipped or bzipped file I encounter has a file extension like .tar, .tar.gz or .tgz. Is there any special reason for that or is that ...
1
vote
2answers
131 views

How would you create a user with the HOME_DIR field in /etc/passwd completely blank?

Closest I can come is: useradd --home / -r --shell /sbin/nologin someuser But this creates an entry into /etc/htpasswd that looks something like this: someuser:x:100:100::/:/sbin/nologin I want ...
3
votes
5answers
1k views

Does $SHELL store the path to the default shell in Linux?

My administrator says that my default shell is set to bash, but $ echo $SHELL /bin/csh $ Is the default shell related to the SHELL variable at all? Is not, what is the variable used for?
9
votes
3answers
682 views

GVim compiled from source opened via SSH -X does not copy paste on selection

I'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim ...
2
votes
1answer
209 views

Resource needed to manage cert.db7 files for AIX

On AIX to get LDAP authentication working it has wanted to store the LDAP SSL certificate's trusted root in a cert.db7 file. Mozilla stopped supporting it in NSS (Netscape Security Services) a while ...
9
votes
3answers
2k views

What are the benefits and downsides to use FuseFS filesystems?

I know some filesystems present themselves through Fuse and I was wondering about the pros and cons to this approach.
3
votes
1answer
657 views

How to have correct permissions of files from usb disks?

Does anyone have the following problem? I have an Ubuntu box at work and also one at home. I always copy folders/files to/from an usb disk to/from my boxes. I have to change permissions of ...
32
votes
10answers
20k views

Markdown Viewer

I found a file formatted with Markdown. Could you guys suggest what viewer that I could use to view this type of files? Hopefully one without gui (if it's possible) Update I was actually looking for ...
7
votes
2answers
6k views

Add Apache to Ubuntu's startup

I'm currently learning the Linux environment, and decided to manually install the Apache server. For educational purposes, I've compiled it into: /server/apache The http.conf location is configured ...
3
votes
1answer
1k views

Apache server 32 binaries vs 64 binaries? what's the difference

not sure if this is a silly question...apples and oranges maybe..but... For Windows I used to download either 32 bit binaries from ASF site or 64 bit binaries from Apache lounge site (for no ...
5
votes
2answers
252 views

What is the most advanced image editing FLOSS?

Is it still GIMP? Inkscape? Are they too different to compare? Does anything come close to the two? Are they more/less advanced than Photoshop? note: advanced = more features
10
votes
1answer
561 views

What happens to data in swap when your computer hibernates?

When a computer goes into hibernation mode, it saves the contents of the RAM into the swap space so that it can resume exactly where it left off when it powers back on. So, what if you are currently ...
474
votes
3answers
93k views

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?

I think these terms almost refer to the same thing, when used loosely: terminal shell tty console What exactly does each of these terms refer to?
11
votes
8answers
1k views

Is screen useful?

When I need to open different processes or terminals that I need to check, I just open a new tab in my terminal and use different workspaces in my machine to keep everything organized. I do some web ...
2
votes
4answers
271 views

How can I manipulate the content of a file, by duplicating and changing some parts?

I want to manipulate a text-file. It contains many blocks of the form CLASS ...some stuff ... END I want to duplicate each of these blocks and add and remove a line of it's content. Can I script ...
19
votes
3answers
4k views

ls command: what does the first line mean?

When I do ls -l I get this: calico@A000505:~/Documentos$ ls -l total 2020 -rwxr-xr-x 1 calico calico 8559 2010-11-16 11:12 a.out -rwxrw-rw- 1 smt smt 2050138 2010-10-14 10:40 Java2.pdf ...
17
votes
7answers
33k views

How do I count all the files recursively through directories

I want to see how many files are in subdirectories in there subdirectories to find out where all the inode usage is on the system. Kind of like I would do this for space usage du -sh /* which will ...
2
votes
2answers
374 views

What is the difference between X and XFree?

Why are there two programs for that?
2
votes
1answer
95 views

Broadcast to all users in friends list with kopete?

in kopete you can right click a group and send a message to the group. It also seems there's a hidden toplevel group that you can move users to. Is it possible to send a message to this toplevel group ...
7
votes
2answers
8k views

Force dhcp client to get a new lease

I have a linux DHCP server running on my network. I recently found out that I can assign specific IP addresses to clients based on their MAC address by modifying the dhcpd.conf file. Now is there ...
100
votes
5answers
26k views

Is Linux a Unix?

So, there are lots of different versions of Unix out there: HP-UX, AIX, BSD, etc. Linux is considered a Unix clone rather than an implementation of Unix. Are all the "real" Unices actual descendants ...

15 30 50 per page