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

4
votes
4answers
3k views

SSH Advanced Logging

I've installed OpenSUSE on my server and want to set ssh to log every command, which is send to system over it. I've found this in my sshd_config: # Logging # obsoletes QuietMode and FascistLogging ...
2
votes
2answers
15k views

How can I see all my installed program in Ubuntu from command line?

How can I see all my installed program in Ubuntu from command line?
0
votes
2answers
209 views

Untar with date filter

Is there any way to untar and only extract those files that are above a certain date including directory structure?? I restored a backup on a play server but it was a few days old. However I have a ...
1
vote
2answers
316 views

Reliable Linux RAID Card

Can anyone recommend an appropriate RAID card for use under Linux (Ubuntu)? I have three Western Digital SATA drives, and would like to setup either RAID-1 or RAID-5. Software RAID has been very ...
0
votes
2answers
3k views

Can't `mount -o loop` an ISO from an NFS share (RHEL)

I have a large NFS share with a variety of software ISOs on it. I've only tried this on Red Hat Enterprise Linux, but when trying to do the following, the mount comes back with an error indicating ...
0
votes
1answer
113 views

Counting the occurence of a word in a collection of files in Linux

I am trying to find the word count of a specific word in a collection of documents, in Linux. I have tried with grep and ack-grep in combination with wc but I can't seem to come up with a valid ...
3
votes
2answers
1k views

Linux - why am i allowed to remove root file?

Situation as follows: i do su to root, then i create admin file with cat > adminfile then i exit from root issuing exit command i can see following adminfile options -rw-r--r-- 1 root ...
0
votes
3answers
852 views

join videos split screen

I am looking for a command line tool to join 2 video files, however I want the videos joined split screen frame by frame instead of one after another. Any ideas? Seems this is not possible with ...
1
vote
3answers
3k views

Access file by its id and change file attributes

Just like every file also directories have file id. You can see them by typing ls -i How do I view file content by its id? How do I change directory attribute to file (remove D) and vice versa!
1
vote
1answer
485 views

Color Schemes don't look right in CLI vim

I was having a bit of trouble reading the dark red strings of Vim's default color scheme, so I decided to switch to a different one. ...
2
votes
1answer
415 views

My NTFS Partition keeps becoming “unusable” on Ubuntu, Any Ideas?

I just purchased a new 2TB Drive External Seagate, My main system uses both Windows and Ubuntu So I am pretty much stuck with keeping my drive as NTFS. I have done this without any problems before ...
4
votes
3answers
4k views

Enabling vim file type plugin

In my .vimrc file I have this line.. filetype plugin indent on and then in ~/.vim/ftplugin/py.vimrc (I've also tried saving it as a .vim file) I've copied and pasted a vimrc file for python ...
1
vote
1answer
199 views

“Slave” user accounts in GNU/Linux

How to make one user account to be like root for some other user account, e.g. to be able to read, write, chmod all it's files, chown from this account to master and back, kill/ptrace all it's ...
21
votes
4answers
14k views

Exclude hidden files when searching with Unix/Linux find?

What options do I need to use with find to exclude hidden files?
0
votes
1answer
825 views

virtual box strectch to fit resolution

Hey guys I have a really annoying problem, that I hope someone has figured out. I just installed ubuntu on virtual box and installed the guest additions so everything was great. I had a resolution ...
0
votes
2answers
3k views

IE Tab 2 vs IE Tab Plus

I'm wonder what the differences are, especially as it pertains to SharePoint. Why should I pick one over the other or does it matter? Also are there any Linux browser solutions for SharePoint, besides ...
2
votes
3answers
137 views

Open file without specifying exact location

Say I have a file in some obscure directory that I want to open and edit. I don't want to do something like this... vim ~/foo/bar/blah/doh/ugh.txt I'd rather be able to say find this file and open ...
1
vote
1answer
162 views

Lazy linux backup system?

Ok, so I want to say Time Machine, but that's note exactly what I'm looking for. I want to set up a system that will regularly (hourly?) back up the /home directory of our machine. time Machine style ...
3
votes
6answers
582 views

Quick introduction to Linux needed

I have to get into Linux ASAP and realy mean ASAP. I have installed Cygwin but as allways - things dont go as easy as one would like. First problem i enconter was - i choose KDE package, but there is ...
1
vote
2answers
517 views

Downloading a large site with wget

I'm trying to mirror a very large site but wget never seems to finish properly. I am using the command: wget -r -l inf -nc -w 0.5 {the-site} I have downloaded a good portion of the site, but not ...
1
vote
2answers
8k views

Block all ports except SSH/HTTP in ipchains and iptables

How can I block all ports except ssh (port 22) httpd (port 80) using iptables and iphains?
5
votes
2answers
3k views

Key is not detected in xev neither showkey -k in Ubuntu 10.04 in a Virtualbox VM

My question mark key in my keyboard isn't working. ("?"). I've tried to use xev and showkey -k to try to identify at least a keycode and manually use xmodmap to map it. Unfortunately, the keys aren't ...
0
votes
2answers
69 views

How to use the date command

How to use the date command to display, for example, 10-Mar-2010 01:01:53? What's the format string?
1
vote
1answer
1k views

Can't chgrp in NFS4 mounts

I'm using Linux in a large multi-user network. Let A be some group which I'm am member of, but which is not my primary group. According to chmod(2) I should be able to chgrp a file to group A. Trying ...
5
votes
3answers
8k views

How to “debug” a keyboard in Linux? Like pressing a key and seeing a code in a terminal

I didn't have an answer to my problem about adding additional keyboards in my Ubuntu 10.04. Questions mark is not working in my keyboard, only using Alt Gr key + W. So, I don't know if this is a ...
22
votes
6answers
50k views

why run a Linux shell command with &?

I am using Red Hat Linux Enterprise version 5. I've noticed people sometimes running commands with a couple of & options. For example, in the below command, there are two & signs. What is the ...
8
votes
4answers
2k views

Walk me through the Linux log files (please)

I just tried loading a 2MB file in gedit and it silently died on me. I was wondering if anything might appear in a log file that might help me diagnose this: I checked syslog and found out it ...
3
votes
2answers
2k views

Finding out the time a filesystem was last mounted

I want to find out the last time a filesystem was mounted on Linux (Debian). Any help?
0
votes
1answer
226 views

Why are no application folders being created in home folder?

For example, when I do something like... sudo apt-get install vim No .vim folder is created in the home folder.
2
votes
2answers
731 views

Looking for a “light” compositing manager for GNOME

I have an HP Pavilion DM3 (graphics is nVidia GeForce G105M), running Debian Squeeze with GNOME 2.30. My preference for DE is Gnome + Metacity + Nautilus. I'd like to use Docky, but it requires ...
3
votes
2answers
2k views

Killing all processes of current user

user@host$ killall -9 -u user Will it definitely kill all processes owned by user (including forkbombs)? No new processes is spawned to user from other users. No user's processes are in D-sleep and ...
1
vote
1answer
1k views

Looking for tex to html converter

I need to convert a very large latex project (made up of many .tex and style files) into .html (or something similarly non-.pdf). Can someone recommend a quality converter program? Preferably, one ...
1
vote
2answers
2k views

Ubuntu 9.04 Cannot Connect to visible open wifi ap (reason 6)

I'm travelling currently so the last network i connected successfully to was my home wpa-psk network. I hadn't tried anything until i got to my accommodation that is an open network (that I'm on now ...
1
vote
3answers
2k views

How to change the X-Windows default border width for all window frames in Ubuntu using Gnome 2.28

Way back from Windows 3.x days to the latest 64bit Windows 7 (classic/standard theme).. there is a way to make the window edge border wider then 1 pixel... I often use 3 to 5 pixel to make it easy to ...
4
votes
2answers
2k views

Allowing multiple passwords attached to one account (Linux)

Is it possible to have more than one password simultaneously attached to a login account in Linux? I'd like to be able to add a temporarily-authorized user to an account on my web server, but don't ...
0
votes
2answers
1k views

Linux- passwordless ssh from system (root) script

What's the easiest way to have a system script (running as root) execute remote commands over ssh? I've written some scripts that execute commands remotely via ssh, and they work great when I run ...
1
vote
3answers
3k views

It's the ethernet 10/100 in LAN transfer faster than USB 1.0?

I have an old laptop (PIII 800MHz, with 256 RAM) that I wish to use as my home server: it'll have to serve just two people, so I think that I'll be more than ok as for the RAM and the CPU. The issue ...
1
vote
1answer
2k views

symlink and sudo executable

If I have the below sudoers entry usera ALL=(userb) NOPASSWD: /home/userc/bin/executable-file usera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-file When I log-on as usera and ...
20
votes
4answers
26k views

Change Linux console screen blanking behavior

How do I change the screen blanking behavior on Linux virtual terminals? For example, if I switch to a VT from X, login, and leave the system alone for 5 minutes or so, the screen will blank like a ...
3
votes
3answers
1k views

Delete Directories smaller than x

How can I delete Directories which are smaller than, say, 1000 KB? I already have a file list from the command: du -sk * | sort -n > sort.txt but I don't know how to proceed. Update: du ...
0
votes
1answer
145 views

No output in Linux Keyboard Logger running in VirtualBox

I'm trying to run LKL (Linux Keyboard Logger) in a Ubuntu 9.04 VirtualBox VM (VirtualBox 2.2.2 running on a XP host). The package installs fine, but when I try to run it lkl -l -k ...
0
votes
1answer
1k views

Debian: Unable to mount a second drive as a subdirectory inside of another partition

I have the following /etc/fstab: # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> ...
0
votes
1answer
217 views

How do I make a boot loader load the existing boot loader from the first partition

I installed ubuntu using wubi and then I tried installing grub 2 but it failed. I need a way to reinstall the mbr sp it will load the windows 7 loader from the first partition.
7
votes
6answers
6k views

How to set default browser for PDF reader Evince on Linux?

I find this command sudo update-alternatives –config x-www-browser I choose Chrome. It works for xpdf, but Evince still starts Firefox after click. I feel Linux is not standard. I use Linux Mint 8 ...
2
votes
2answers
514 views

Is it possible to forbid removal of files but allow creation of them for specific directory in Linux?

I have an application that creates temp files and quickly deletes them. But I'd like to keep those files, is there a way to do that in Linux?
0
votes
1answer
126 views

Why the number of blocks is always a multiple of 8?

$ stat -c %s,%o,%b foo.txt 631,4096,8 $ stat -c %s,%o,%b bar.txt 5952,4096,16 Why the number of blocks is always a multiple of 8? I thought the number of blocks of a file is the smallest integer ...
2
votes
5answers
173 views

Favorite Linux Variety and why? [closed]

Right now I have Fedora dual booted with Windows 7. The reasoning behind that is just because windows was the first OS I ever used and has some essential software, and Fedora is the first linux ...
1
vote
1answer
1k views

Login to wireless network with WPA password on Ubuntu Server

Is it at all possible to login to a wireless network with a WPA password on Ubuntu Server with no Window System?
0
votes
0answers
867 views

Unreadable sectors reported by smartd, is it serious?

I have a RAID 5 array of 4 disks. In the last 2 days I began to see these messages in the log: Jun 13 23:01:05 localhost smartd[4537]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors ...
1
vote
0answers
49 views

Reading line for Ubuntu users

Normally when I read a book I use a bookmark held horizontally under the current line I'm reading to help me keep my eyes on the right spot. When I read a PDF or other document on my computer I would ...