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
3answers
2k views

Persistent BackTrack on USB

Can someone explain how to make a persistent installation of BackTrack 5 on an 8GB USB drive?
1
vote
0answers
873 views

slow git performance

I have an older machine with a git repository on it that I use to keep synchronized with svn. I've noticed that with running basic commands like git status, it is ridiculously slow. I was initially ...
1
vote
2answers
595 views

No access to remote port 22

I can't use distants port 22 anymore. This problem appeared "magically" when I booted today and tried to push some files on a remote git repo. I run on Ubuntu 11.10. I tried connecting to other ...
0
votes
1answer
940 views

Defining the correct Apache document root

I am pretty new to Linux and I tried to install & configure the Apache 2 on OpenSuse 12.1. Is this the document-root? /home/username/public_html is this correct!? see the page 3 /or 4 of the ...
8
votes
2answers
5k views

find files with ACLs set

How can I find all files with some extended ACLs set, i.e. those with a little + at the end of the permission flags shown by ls -l. I could not find a corresponding flag for find. My naive approach ...
3
votes
1answer
6k views

linux change ext4 block size to 8192 now can't mount it

I've done that: mkfs.ext4 -j -b 8192 /dev/sda3 Now I'm trying to mount it with: sudo mount -t ext4 /dev/sda3 foo But I'm getting this error: mount: wrong fs type, bad option, bad superblock on ...
0
votes
1answer
4k views

How to give a user account root privileges in Fedora 14?

I want to give my user account root access rights permanently, how can I do that? I don't want to log in using the root account.
0
votes
0answers
49 views

Stop netbeans overtyping

Netbeans seems to have some ridiculous 'feature' which means that if you type the same letter as is immediately to the right of the carat, it just moves the carat instead of duplicating the letter. I'...
1
vote
2answers
352 views

Applications for OS X to manage Linux servers over SSH

Are there any applications for OS X to handle these things in SSH for a Linux server? Store list of configuration files paths (/etc/apache2 etc. to remind where they are all located) Store list of ...
0
votes
4answers
4k views

ssh freezes when trying to connect to some hosts

When I try to ssh to particular machine/s in a list, The SSH command happens to be freezing. I tried out setting ssh timeout. But then also it's freezes even after the timeout. In verbose mode : ...
1
vote
1answer
59 views

Does the Update Manager in Linux distributions update packages installed via the terminal?

If I have installed packages via the terminal e.g. apt-get install flashplugin-installer, are updates available via the Update Manager?
1
vote
2answers
159 views

What's a good resource-saving way to monitor a single Linux server?

I have a single Linux server and it's occasionally unreachable for a while. I want to know what causes this (I suspect either high CPU or Memory usage). I would like to monitor: Global CPU/Memory ...
4
votes
3answers
3k views

How to count the number of characters on each line in vim?

In vim, how can I count the number of characters on each line? how to count number of characters? For example, if I open a file with above text, I want to see counts like below 3 2 5 6 20
1
vote
2answers
559 views

Mount internal HDD - folder location convention (unix)

Is there an agreed convention exactly where to mount internal harddrives? I read people use /mnt/ is used for external space like usb drives or portable harddisks. Some people use /usr/local/share/ ...
1
vote
1answer
1k views

vmstat: What are non-nice user cpu ticks?

Anyone know what the "non-nice user cpu ticks" line in vmstat -s means? For example: # vmstat -s 127180 total memory 23436 used memory 9828 active memory 6744 inactive memory ...
0
votes
1answer
380 views

Print via terminal without usblp

I need to print in an Epson TM-U220PD model M188D for receipts (without cups support), I used to write in a terminal [text] > /dev/lp0 but now usblp is deprecated. I can use this printer enabling the ...
0
votes
1answer
691 views

Remap shift-tab to tab in bash/screen/putty in Linux?

Well I use vi-mode in bash via the set -o vi command. What's annoying is when I'm typing words in capital then try to complete using tab but don't release the shift-key fast enough, it brings me out ...
0
votes
2answers
383 views

Dual boot Windows XP and Linux-based OS

I have a PC with Windows XP SP3, a 250GB HD (C,D,E,F drives) and 1GB RAM. XP got corrupted while working on the internet (happened 3 times this week), so I am going for a dual boot. If I install ...
0
votes
1answer
900 views

Do the “follow TCP stream” option in wireshark include duplicate packets?

When I tried to follow a TCP stream in wireshark, I found some duplicate packets. I wanted to know whether wireshark excludes duplicate(or retransmission) TCP packets from the "follow TCP stream" ...
1
vote
1answer
2k views

Use a remote linux bloated graphical application from OS X

I need to use remotely some graphical application in a linux machine. For very basic applications, I just connect remotely from my OS X Lion using ssh -X machine: and then ./gedit & and it ...
1
vote
1answer
7k views

How do I upgrade Sun Java (JRE) on Ubuntu 11?

On Ubuntu I've installed the Sun JRE from http://ppa.launchpad.net/ferramroberto/java/ubuntu oneiric and am at Version 6 update 26. (Outlined in the accepted answer here) I downloaded the bin file ...
2
votes
5answers
21k views

How to recover Linux from 'repair file system' error

Unfortunately my mom did something that I don't know and Linux is in command-line mode. What is the key for exiting from the shell and going to the desktop? I tried Alt + F2 Alt + F6 Ctrl + Alt + ...
1
vote
4answers
302 views

sed -e “s/-.*$//”

What does the -.*$/ in this command mean? Please help me decipher this. echo -n full | sed -e "s/-.*$//" I know what sed does and all that, I just want to know what this -.*$ part is.
0
votes
1answer
3k views

Using a custom lib path

I'm trying to build Android on a remote trough ssh. However, I was presented with the problem: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: /lib32/libc....
1
vote
1answer
151 views

What is the difference between the dialogs “Network” and “Network Connections”?

I have attached a screenshot of the options available and would like to understand what the differences are. Is there any reason why you would use one over the other apart from a simpler interface for ...
0
votes
2answers
1k views

How to add files to the root of a RAR archive in Linux

I have an Ubuntu Server and use rar with the exec() function. When I want to create a RAR archive from my files, this program uses their path in my RAR archive. For example, if my file is in /home/...
1
vote
3answers
825 views

Bash Loops and Text Editors

I've got a handful of servers which have a log file I'd like to monitor. Because the project is new and most of the errors so far have been unique, I'd like to monitor these logs manually for a while. ...
0
votes
2answers
476 views

rogue process consumes too much memory in linux

I was going through the output of top when i saw a process listed as pine -i I don't have pine in my system ! Then i got into proc and did a `ls -l /proc/9827/exe` 9827 is the process id. It ...
1
vote
2answers
2k views

Sending ^] in a nested telnet session

Following is the sequence: Telnet from a terminal session to a remote linux machine, Call it A. Telnet to some device, Say B, that is accessible only from A. Now, How do I quit the telnet session ...
8
votes
1answer
28k views

Retrieve Linux command line history by date

I want to see what I typed on my bash command line on a certain day a week ago. Is there a way to retrieve command line history? Something like below, perhaps? > history --include-date | grep 2012-...
2
votes
1answer
246 views

Bind actions to mouse motion in linux (X)?

Is anyone aware of way of binding actions to some key combination + mouse motion? Primary idea would be lets say if alt is pressed and mouse is moved - it would act like scroll wheel (sending scroll ...
0
votes
3answers
965 views

Grub help, deleting partition without deleting grub

I have a triple boot windows 7, ubuntu 10.10, ubuntu 11.10 and i want to delete the partitiion containing 11.10 but that's where my grub is located I believe. Because it updated to grub 1.99 when I ...
0
votes
2answers
199 views

Is it safe to have 32-bit libs in 64-bit Linux?

I am running Fedora 16 x86-64. Wanting to run some games that were released for 32-bit Linux, I've installed the 32-bit versions of the required libraries. Works very well. My question is; In the ...
4
votes
2answers
2k views

Touch Change Access, Modify AND Change

I know you can use "touch" to change the access and modify timestamps of a file using the "-t" flag but is it possible to change the "change" timestamp. If so how would I go about doing this? Thanks ...
1
vote
2answers
245 views

Sym-linking windows with linux

Is it possible to make a sym-link in linux that can be used by windows? I have a dual boot system of Ubuntu 10.10 and Windows 7 and I want to move my AppData folder to another drive. I was planning on ...
2
votes
1answer
6k views

Howto install and configuring grub2 on a USB thumb drive

I'm wanting to play around with grub2 with linux on a thumb drive. My host OS is Kubuntu. grub-install allows you to write the grub bootloader to the MBR of a disk which is great. However, uodate-...
0
votes
1answer
152 views

Multiple Live CDs on a Single USB using a Mac

Okay, so after searching high and low, trying YUMI and XBOOT with zero success (and probably causing damage to my drive for so much reading and writing), I'm turning to the StackExchange community! ...
0
votes
0answers
295 views

Restoring XP using Linux Live with fdisk tool

I am trying to create a restore a windows operating system using Linux Live. I have formatted the hard drive using FAT 32 format (mkfs.vfat) command. I have created the partitions using the fdisk ...
1
vote
1answer
145 views

Moving linux partition so to be next to free space

I had a triple boot windows 7, Ubuntu 10.10 and Ubuntu 11.10. I deleted the partition that the 11.10 was in and now I have free space on my ext4 partition. I want to use that space which is located ...
0
votes
3answers
991 views

Linux Memory Displays Half Used But No Processes Seem to Be Using It

I am running a Java script on a Fedora Core Release 6 server (Linux 2.6.19-1.2911.6.5.fc6xen x86_64) and am concerned about a lack of memory. The box has 2 GB of memory in total. Running "free -tm" ...
1
vote
1answer
512 views

Getting the cache hit ratio (read / writes)

Is there any way to find out what the read/write cache hit ratio is in a Red Hat Linux Server (64 bit)? I tried to use sar (9.x), but can't find it. The reason is, because I'm migrating to another ...
1
vote
2answers
887 views

Tear-free videos for HDTV

Long story short: I use HD6450 to output signal to an HDTV via HDMI. I'm using the proprietary fglrx drivers and like others before me, I'm getting ugly tearing when I play videos (mplayer, VLC, ...) ...
1
vote
1answer
186 views

Disable network access until reboot under Linux

Is it possible to disable network access until a reboot under Linux? I am interested in creating a Freedom equivalent for Linux (currently only available on Windows/Mac)
2
votes
2answers
199 views

Linux: Finding the largest directories on web host

I've got a web host (linux hosting) whose disk is almost completely full. How do I list out directories (and their subdirectories) by largest size to figure out where the biggest disk hogs are?
0
votes
1answer
225 views

Program/script to 'walk' through svn revision history

Looking for a program, or script, I can use to easily 'walk' through an SVN revision history for a specific file. Anyone know if this exists? Can I achieve this with the command line client for svn? ...
12
votes
4answers
5k views

How to remap CAPSLOCK to ESC in Linux Mint 12

I would like to remap the CAPSLOCK key to ESC as this is easier to use in Vim. I can make it in Ubuntu 11.04 as there's an option for this in Keyborad configuration. But recently I switched to use ...
4
votes
3answers
2k views

how to find bunch of files and archive them in one line of bash

let's say I'd like to find all the files with suffix .wzd under the current directory and archive all the files founded at a time, how can I do it? the following doesn't work, by the way find . -...
3
votes
1answer
2k views

Use su to switch to a local (mutually-trusted) user, without a password?

I'm curious if there is a way to enable one user to login (via su) into another user, without needing to know that users password. For instance, if I'm logged in as user1, I would like to give user2 ...
3
votes
1answer
15k views

Can't ping ip's or hostnames on fresh CentOS 6.2 install

I just installed CentOS 6.2 on a box using ipmi and have tried setting up the network with no luck. I've got a 66.x.x.56/29 allocation of ip addresses on vlan (66.x.x.56 to 66.x.x.63), so I have set ...
0
votes
1answer
208 views

How to find candidates of file duplicates based on a similarity of their names?

I am not searching similar images or photos (imagedupe) nor audio files! I have a lot of media data here and I want to spot duplicates based on their file name. I know that there is fdupes, etc. but ...