14
votes
10answers
2k views

What linux is best suited for people new to computers?

What would be the easiest linux for people who are new to computers? The computers here have 256Mb RAM with 40GB hard-disks. UPDATE: Most of them apparently have more than 265MB of RAM with some ...
1
vote
0answers
120 views

Shockwave for Linux: The status today [closed]

I cannot for example, run this educational simulation in FF 7.01 Kubuntu 11.04 64-bit. Oh how Macromedia deprives us! I tried Gnash GNU but it doesn't seem to work... I and hundreds of thousands of ...
5
votes
3answers
24k views

How do I extract with tar to a different directory?

This doesn't work: tar xf /tmp/foo.tar.gz foo/bar tar: foo/bar: Not found in archive It's not obvious to me what would do this beyond extracting it in place and moving the files over.
8
votes
1answer
706 views

What is the general format of keyname for key bindings in “inputrc” file?

I understand that the format for key bindings in inputrc file is: keyname: function-name or macro For keyname, I saw things like: "\e[B" "\e[1~" "\e[5D" "\M-l" "\C-[OD" "\e\e[D" What is the ...
13
votes
3answers
490 views

When does `ls -s` print “0”

Of course, the standard way of testing if a file is empty is with test -s FILE, but one of our clients have received a script containing tests like this: RETVAL=`ls -s ./log/cr_trig.log | awk '{print ...
2
votes
1answer
1k views

libusb_init() returns -99

I have successfully built both libfreenect (driver for Xbox Kinect) and libusb (which is a dependency). However, if I try to open the Kinect using the freenect_init(...) function, it returns -99. I ...
3
votes
3answers
4k views

What are the significant differences between different shells? [duplicate]

Possible Duplicate: What are the fundamental differences between the mainstream *NIX shells? If I write a shell script in bash, will it run in ksh as well? if not, what are the ...
1
vote
1answer
2k views

CentOS 5.5 SSH with Key for non ROOT user

I tried pretty much everything I could to make this work. I spent literally 6 hours on research and nothing helps to remove "Server refused our key" error. My username I tried to make is "Testuser" ...
0
votes
2answers
622 views

Writing to /tmp is failing - returning error 22

I'm getting this weird behaviour where writing to /tmp is failing. Even try touch /tmp/foo as root fails with OS error code 22: Invalid argument. The permissions are set to 1777/drwxrwxrwt.
1
vote
2answers
102 views

Is the sticky bit not used in current file systems

Can I safely conclude that the sticky bit is not used in current file sysems and reuse the bit for my own purpose.
17
votes
4answers
43k views

Convert a .xlsx (MS Excel) file to .csv on command line with semicolon separated fields

I realize that this is not an entirely unix/linux related question. But since this is something I'll do on linux, I hope someone has an answer. I have an online excel file (.xlsx) which gets updated ...
1
vote
1answer
336 views

is it possible to recover a raid 5 array by using usb enclosures?

I had a RAID 5 (Linux software RAID) server which recently decided not to boot anymore. It seems to be a motherboard problem possibly due to not being protected by a UPS during a power failure. It ...
3
votes
2answers
222 views

Can lvm2 volumes based on device names like sda, sdb etc be mounted if their names change?

Lets say I would like to make a large volume from external usb drives. I create the lvm volume on drives that have been given certain device names sdf sdg or whatever and at some point they are ...
1
vote
1answer
674 views

Permissions for making some some (but not all) files visible directly under a directory

On wikipedia I read the following: The read permission, which grants the ability to read a file. When set for a directory, this permission grants the ability to read the names of files in the ...
1
vote
6answers
3k views

Remote control an Ubuntu machine from a Windows machine

How can I access and remotely control an Ubuntu 10.04 machine from my Windows XP machine. I googled this subject, and noticed that there are several options: someone people use VNC, while some use ...
4
votes
1answer
446 views

What filesystem has best support for shrinking?

Most mainstream filesystems can be grown fairly reliably, but what if I think I would like to shrink in future? XFS is a non runner. Reiser seems to have good support but gives scary BETA warnings , ...
1
vote
4answers
278 views

Access a linux machine from a windows machine

I have two laptops, one is installed with Ubuntu 10.04, the other one is installed with Windows XP. The Ubuntu laptop is located in one place with internet connection while the windows laptop is in ...
4
votes
3answers
821 views

What is a subshell (in the context of the documentation of make)?

I'm reading a book about the make command and there is a paragraph: If any of the prerequisites has an associated rule, make attempts to update those first. Next, the target file is considered. ...
4
votes
1answer
3k views

How to update Debian kernel to latest in backports

I have a machine running Debian stable, and I'd like to update the stock kernel to the latest kernel available in the backports repository. There are many kernel-related packages and virtual ...
8
votes
1answer
22k views

Using --exclude with the du command

This is probably something basic but I'm not able to make it work. I'm trying to use DU to get a total size of files minus certain directories. I need to exclude one specific directory called uploads ...
6
votes
3answers
447 views

I want my Ubuntu 9.04/9.10 back, is there any current similar distro?

I was switching to Linux in the optimal time, around Ubuntu 9.04/9.10. I am a programmer, so I don't want to be a "Linux guru", that's why Ubuntu was perfect for me - until Unity/Gnome3. In latest ...
2
votes
1answer
471 views

How to bypass flash version check in linux firefox and use Gnash

Is it possible, and how, for Gnash to present itself as Adobe Flash to avoid "install Adobe Flash" messages while viewing flash-based websites?
2
votes
1answer
13k views

How to start nvidia x server settings from command line?

I am using Ubuntu 10.04, I know I can start NVIDIA x server settings by choose : System -> Preference -> Monitors on the top bar. But how can I start the NVIDIA x server settings window by run a ...
2
votes
1answer
9k views

Changing user and group ID system wide (including file system attributes)?

(this question possibly related to Linux: simulating/masking user ownership upon mount of 'external' partitions? - Stack Overflow) I typically use Ubuntu (currently 11.04) as my desktop OS; let's say ...
25
votes
6answers
4k views

Why isn't there a truly unified package manager for Linux?

Why isn't there a unified package manager that acts as an interface between the end-user and the underlying low-level package manager (apt, yast, pacman, etc.)? Is it hard to do and therefore not ...
7
votes
2answers
717 views

How to use the SVN CLI effectively

How can I make myself more productive with the SVN CLI? I need to complete repetitive tasks like these: find modified files in directory commit only SOME of them selecting them somehow other then ...
1
vote
1answer
499 views

LoJack protection and recovery for Unix/GNU/Linux running systems?

The LoJack theft protection and recovery system looks very impressive, especially that they will find and return your computer for you, but the software is for Windows and OS X only. Is there an ...
11
votes
5answers
1k views

Why does mkdir not have the -p flag set by default to allow for nested directory creation?

I see no reason why the -p flag on mkdir should not be set by default. -p, --parents no error if existing, make parent directories as needed It is a non-destructive command from what I can ...
2
votes
3answers
2k views

How to shut down or reboot a machine? [on different OSes]

What parameters do the "shutdown" command [or other command?] NEED, TO BE SURE that the machine reboots or shuts down for SURE? e.x.: version for Linux: # cat /etc/SuSE-release SUSE Linux ...
8
votes
8answers
7k views

Can shell variable include - character?

I am not able to use - in variables in shell. Is there a way to be able to use it, because I have one script which depends on such named variables: $export a-b=c -bash: export: `a-b=c': not a valid ...
2
votes
2answers
2k views

How to create a new partition in Ubuntu

I want to build my own Linux as "Linux From Scratch". I need to get a new partition from my hard disk. I checked and saw I have sda1. (I have about 20G empty) When I use the fdisk command n, I can ...
1
vote
2answers
1k views

Monit won't execute commands

Running Monit 5.2.5 on Fedora 15 All standard alerts are working, however just cannot get exec to run anything. I have tried more than ten different configurations based on examples from the Monit ...
2
votes
3answers
4k views

Bash string replace multiple chars with one

I'm replacing, from a feed title, all chars except letters and digits with a dash to use the result as a safe filename for any filesystem: $ t="Episodie 06: No hope of riding home (NEW) - Advanced ...
3
votes
2answers
1k views

How do I stop gnome's disk-utility from spamming me with disk error messages until my X session freezes?

I have a headless computer running ubuntu 11.04 with metacity. I vnc into it every now and again. It has a failing disk attached which I am trying to get some data off. Every now and again a friendly ...
1
vote
1answer
1k views

Mount a Rackspace drive in Linux

Is there any software that will allow me to mount a Rackspace drive in linux? I want to copy SQL files from my database onto my Rackspace. I have web min running a backup nightly and copying those ...
1
vote
2answers
1k views

rpm --upgrade not upgrading?

Can someone please help me understand the rpm command. From the rpm man pages: rpm {-U|--upgrade} [install-options] PACKAGE_FILE ... This upgrades or installs the package currently installed to a ...
3
votes
1answer
155 views

how to disallow user to change process group

Is it possible to restrict a process from changing it's process group? For example, user nobody seems to be able to call setpgid(0, 0) which sets process group of current process to pid of that ...
3
votes
2answers
2k views

(G)VIM uses a different $PATH than my system

Because Ubuntu provides no up-to-date packages for TeXLive, I installed it manually. However, some programs need TeXLive as dependency. So what I did is I installed the TeXLive package from the Ubuntu ...
11
votes
1answer
4k views

While there is C++ why most of Linux programs are written in C?

Why most of linux programs are written in C? Why they are not written with C++ which is newer than C?
3
votes
1answer
376 views

Is there an in-memory compressed swap facility (like Compcache) for FreeBSD?

Is there anything like CompCache for FreeBSD?
11
votes
3answers
891 views

Two commands, one pipeline

I need these two commands to be one (so I can pipe them further): dig +nottlid -t any bix.hu | egrep -v "^;;|^;|^$" | sort dig +nottlid -t any www.bix.hu | egrep -v "^;;|^;|^$" | sort I mean I ...
2
votes
2answers
291 views

How to deny rdesktop access to others?

Someone keeps trying to connect to my Ubuntu machine through remote desktop. Is there any way I can determine who it is, and permanently block access to my machine?
1
vote
0answers
284 views

Gentoo Gnome 3.2 Wireless “Connecting…”

I recently updated my Gentoo with GNOME 2.x to GNOME 3.2. My NetworkManager applet refuses to connect to my network; however, it does not give an error as it simply hangs as "Connecting..." I checked ...
-2
votes
2answers
375 views

How to delete the second column from this input?

INPUT bix.hu. 42433 IN A 193.239.149.1 bix.hu. 42433 IN MX 10 deneb.iszt.hu. bix.hu. 42433 IN NS ns.iszt.hu. bix.hu. 42433 IN NS ns.iszt.hu. bix.hu. ...
4
votes
1answer
221 views

Any cd shortcut to switch an intermediate directory in current path?

if I have current path as a long one..and I want to switch to a directory with just one word from path replaced by something else..like say when using maven , I want to switch from main path to test ...
0
votes
2answers
98 views

How to write in directory out of home?

I have my Apache server running in the /srv/http/ directory. I changed the group of it to httpadmin and then added my user to that group. Then, I changed the permissions of that directory to ...
0
votes
1answer
922 views

How to find out that someone is using a Keylogger on the machine I am using?

HW/SW/whatever keyloggers are there. How to find out? E.x.: Regularly check the cable of the keyboard, because there could be HW keyloggers: http://i.imgur.com/TeMwo.jpg But what about other HW ...
2
votes
1answer
291 views

How to set parameter i486 on glibc compiling process of x86_64 system?

My host: lfs@sam:/mnt/lfs/sources/glibc-build$ uname -m x86_64 lfs@sam:/mnt/lfs/sources/glibc-build$ In lfs(LFS-BOOK-6.8-HTML/chapter05/glibc.html) It says case `uname -m` in i?86) ...
3
votes
1answer
1k views

How to recursively synchronize file timestamps across servers?

Suppose I run an rsync command to mirror a server, but forget to supply the -t option. The mirror will now have different timestamps to the original. What is the easiest way to fix this, without ...
3
votes
2answers
500 views

Uppercase input turns on periodically

I have some problem. Every 3-5 second everything, that I input from keyboard became UPPERCASE only. I also have two keyboard layouts: us and ua. And when uppercase happens - I can't switch my keyboard ...

15 30 50 per page