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

1
vote
3answers
602 views

any way to sudo root but use the non-root command settings?

For example, for command sudo vim /var/log/errors.log, I want vim to be lanuched with my own user settings instead of root settings. I know I could set up vim for root account, but it is not what I ...
2
votes
1answer
1k views

Zip/gzip compression ratio much less in Linux than in Windows

I have a bunch of very huge files located on a Linux machine that I would like to compress and save some space. I have tried using the tar/gzip combination and I have noticed that the compression ...
1
vote
2answers
1k views

Boot iso images from bootable USB

I'm trying to figure out an universal solution to have a multi-boot usb memory stick. I have some ISO images like: knoppix, debian, ubuntu, etc. Is there any way to do the following procedure: List ...
0
votes
2answers
971 views

What happens to wget when the ssh pipe gets broken?

Say, I'm downloading a file using wget on the server machine via SSH and due to some internet connectivity issues, ssh kicks me out saying broken pipe. What happens to the wget download? Would it stop ...
1
vote
1answer
1k views

Bluesnarfer in Backtrack 5

I'm new to backtrack and I am learning to hack Bluetooth . As you know I must use Bluesnarfer. But when I use it I get this error: Can someone help me to solve this, I searched the Internet but I ...
0
votes
1answer
545 views

How can the Network Administrator check the Transfer files History between remote PCs? [closed]

I wonder how could the network administrator check the history of the transferred files between different users or remote PCs, and in case if someone transferred data from a network PC to his external ...
2
votes
5answers
641 views

How can I pipeline specific line of file as a command in linux command line?

I am trying to execute specific line of text file in bash. I was wondering is it possible to do that without copying that line in a new file and executing it?
3
votes
1answer
5k views

How to set line length limit when using grep (Filter result by line length)?

The use case is that I am searching for a particular CSS attribute in a directory of HTML/CSS/JS files (including sub-directories). Some one-liner JS libraries also have the CSS attribute that I'm ...
0
votes
1answer
209 views

How do I install snipMate?

I have downloaded snipMate.zip form vim.org. The install instruction says that: unzip it and paste it in .vim directory. There should be :filetype plugin on in .vimrc file I have did both but non ...
3
votes
2answers
264 views

Cat command output varies unusually in regards to * character

I'm running the following command on a fairly standard Ubuntu 11.04 installation running under vSphere: sudo cat /home/*/.ssh/authorized_keys Basically, I am using puppet for ssh key management and ...
14
votes
3answers
2k views

How can I make “ls” show dotfiles first?

Somewhere along the way I screwed up my ls command and now I get this ordering when running $ ls -AhHl --color=auto -rwxr-xr-x 1 clang clang 640 Mar 1 02:46 apple-touch-icon-precomposed.png ...
3
votes
2answers
1k views

How do I run Chromium on Ubuntu Server

I am running ubuntu server (no gui). I am trying to run Chromium and somehow view the gui using another tool (vnc?) When I try to run chromium-browser I get this error: (chromium-browser:3869): ...
3
votes
2answers
268 views

How do I copy a file and append a number inside?

This one has baffled me – I'm actually trying to make a Thunar custom action to copy the selected file into the same directory appending a number before the extension, e.g. cp file.ext file_1.ext ...
0
votes
2answers
412 views

Linux crashes due to what looks like a hardware related fault, with nothing in the logs. How to troubleshoot?

I got a Dell Latitude E6520 with NVIDIA GF119 [Quadro NVS 4200M] video card and a SAMSUNG SSD PM810 2.5" 256GB (firmware AXM06D1Q) hard disk. Occasionally (used to be once every few months, now more ...
3
votes
2answers
2k views

linux terminal, see the output one page at a time

I am running a make file and when it runs it prints a whole bunch of log with errors and warnings. Please let me know how will I be able to see the output one page at a time. Or after the make file is ...
3
votes
1answer
317 views

Software for recombining two dvd iso's

I have two DVD's which I converted into two iso files. The problem I'm facing is that I need to combine the two DVD's into one, but I also need to cut out a part of one DVD. The question is if ...
1
vote
1answer
94 views

Brasero Disc Burner does not behave. How to address it in command line?

As you know the Brasero Disc Burner is the default disc burner in some Linux environments. I used Brasero a few times, each time choosing a different speed at the outset. But no matter which speed I ...
0
votes
1answer
3k views

USB wireless adapter driver for Ubuntu

I lost the CD with driver to my USB wireless adapter and Ubuntu does not recognize my adapter. The sad thing is, I don't even know the manufacturer or brand of my adapter. It is just a small little ...
4
votes
1answer
10k views

Cheat Engine for Mac OS X or Linux

Cheat Engine is an open source tool designed to help you with modifying single player games running under window so you can make them harder or easier depending on your preference(e.g: Find that ...
3
votes
1answer
3k views

Why is my tar.gz file corrupt after using bash ftp to move file to a remote server?

I back the tar.gz file up on the local server, then ftp it to a remote server. If I pull it to my desktop via ftp client from the local server, the file works fine. If I pull it to my desktop via ftp ...
4
votes
2answers
122 views

Shared desktop for multiple Linux installations

Is it possible to set up a single shared desktop folder for multiple linux installations on a dual-boot computer? I'd like multiple Linux installations on one computer to share a single desktop. I'm ...
1
vote
2answers
1k views

grep -r and searching in whole disk

grep -r xxx" /* grep: /dev/log: No such device or address grep: /dev/dvd: No medium found grep: /dev/cdrw: No medium found grep: /dev/cdrom: No medium found but it takes more then 2 hours without ...
1
vote
0answers
549 views

Bind mouse button to Control_L or Super_L keys

I'm trying to make mouse button act exact as Control_L or Super_L keys. In lots of applications (firefox, konsole, etc.) Ctrl+Scroll has special actions like zooming, so assigning mouse button to ...
1
vote
0answers
175 views

Linux Ubuntu Server x32 not recognizing my hard drive

I am trying to install Ubuntu Server x32 on my IBM eServer xSeries 365. The installer says it can not recognize my drive. I have 2 hot-swap Maxtor ATLAS 10K V 73GB Ultra320 SCSI drives and both are ...
1
vote
1answer
496 views

Cannot read /proc/<pid>/smaps, despite having mode 444 permissions

I'm trying to write a script that examines memory usage for running processes. To do this, it needs to read /proc/*/smaps files. Processes owned by root have the permission set to '-r--r--r--', which ...
10
votes
2answers
272 views

Is it bad practice to create a non user directory in /home?

I installed ubuntu on a computer and I have the OS installed on a solid state drive, and the home directories mounted from a separate hard drive. I wanted to create a folder proj which lived on the ...
1
vote
2answers
4k views

How can we burn an iso image to hard disk?

I know that: An ISO image can be burned to a CD/DVD. It can be mounted to any directory in the hard disk. It can be burned to a CD, and then the contents be copied to the hard disk. But can we ...
1
vote
1answer
9k views

Mount laptop built-in SD Card reader to VMware Workstation (Ubuntu)

Can anyone point me to the right instruction to mount a laptop built-in SD Card reader to Ubuntu via VMware Workstation 8? Although I am able to mount a drive to the vmware client via shared folder, ...
0
votes
2answers
2k views

Fastest way to get creation and last modification times of a lot of files

Given a directory a sh pattern which yields a subset of files directly in this directory (like *.log) a sh pattern which can, given a filename, what is the fastest way (in ksh) to obtain for each ...
0
votes
1answer
241 views

Free software/open source remote process execution and management system for linux?

I have the following requirements for a remote process execution/management system and thought I'd ask if anyone had seen something similar available under free software/open source licensing terms ...
0
votes
3answers
607 views

Best way to partition 1 TB (Linux and Windows 7)

Is there an intelligent way to partition 1 TB and be prepared for resizing/adding/deleting partitions? I was thinking about LVM, but as far as I remember, Windows 7 can't be installed on ...
2
votes
1answer
360 views

How to ask Debian not to check last mount time of its file system?

I'm using Debian 6.0.5. To test a feature of my product, I need to modify the system date&time back and forth frequently. Once a time I set the system date back to one month ago, then I reboot the ...
0
votes
3answers
748 views

How to bulk rename files from windows in linux with accents?

I've got many files which came from windows zipped file. The files has accents in names like: "partyku?y no.doc" (this is the string displayed in linux terminal) How to unpack or maybe rename with ...
0
votes
1answer
112 views

Linux: script won't start at boot

I've a python server wich I want to start at boot. This server is listening to a specific port for input. I've created a new cronjob crontab -e @reboot /path/to/script Put the script in ...
5
votes
3answers
621 views

Search for files with more than one term (grep, awk?)

I am using a command like this to find files with the word 'term' in them: grep -l term * But I now want to be able to find files which have two different words in them (let's call them termA and ...
2
votes
1answer
100 views

who -t showing nothing in command prompt

In [root@localhost ~]# man who -t means t, --time print last system clock change I changed the system time using using [root@localhost ~]# date -s 05:27:00 Thu Jul 12 ...
2
votes
4answers
461 views

How to get a Linux MAC address from a Windows machine?

i have a two systems, one Windows, one Linux. Both are connected to a local network. How can I get the Linux MAC address from Windows?
1
vote
2answers
2k views

How can I automatically lock the screen when idle in CentOS?

How can I automatically lock the screen when idle in CentOS? I would like it so that a user has to re-enter their password once the machine has been idle for a period of time. If there is no option ...
0
votes
1answer
122 views

What's the difference between mounted file system and active file system?

Just go over the VFS interface of linux. It is said that There is one VFS structure per mounted filesystem in the kernel and one vnode structure for each active node. Then what's the ...
0
votes
1answer
496 views

find hostname and current user of all computers on my network

I want to get the hostname and user info who is currently loggedin on the network. It can be a shell script or a command. I have tried the following, but it only states the connected ipaddress. for ...
5
votes
2answers
1k views

Detect long-running commands and notify when they complete

This is a long shot -- I don't think it's possible, but I figured I'd ask. I frequently run commands that take a few minutes to complete, and while they run I check my email or browse the Internet. ...
1
vote
2answers
611 views

Missing text/blank space on Ubuntu web sites using Google Chrome

When visiting ubuntu.com or askubuntu.com, Google Chrome displays blank spaces instead of most of the expected text of the web site. The sites look like this: I am using Google Chrome 20.0.1132.47 ...
0
votes
2answers
390 views

A live CD that provides system information?

Is there a live CD distro out there with the sole purpose of booting, telling me everything that the system has (CPU, GPU, motherboard, HDD capacity & Manufacture, etc) and all with out having to ...
0
votes
3answers
3k views

Share wifi internet (wlan0) over ethernet (eth0)

On my CentOS system, Wifi Interface (wlan0) is connected to the internet through an access point. The IPV4 for it is assigned dynamically by the ISP. The eth0 for this machine is manually configured ...
2
votes
2answers
8k views

Running android apps on a linux PC

How can I run android apps, i.e. from the android marketplace on a linux PC? Does there exist any easy-to-use android emulator or virtual machine environment? FWIW, I'm running arch linux and ...
0
votes
1answer
615 views

Multiple Wifi Cards for Seamless Handoff in Linux

So I'm trying to make a system in which I can walk through a building with my laptop and have no delay when switching access points. I have no control over the network itself. I am currently ...
1
vote
0answers
101 views

Multiple viewports into the same Virtual Desktop

I have been looking around for window manager solutions that would work nicely for me. While I have found a number of things, I have not yet found anything that really works well for my needs. Usage ...
1
vote
1answer
1k views

How to mix S/PDIF input and PCM Out (to hear PCM and S/PDIF simultaneously) in Linux?

In alsamixer I can select either PCM Out or IEC958 In (that's my S/PDIF input) but not both. Is there a solution? Note: I need stereo sound, so selecting IEC958 In for one channel, and PCM Out for ...
4
votes
2answers
6k views

“Cannot allocate memory” while no process seems to be using up memory

I am not competent on server issues, any help is much appreciated. When try to start a python/django shell on a linux box, I am getting OSError: [Errno 12] Cannot allocate memory. free -m seems to ...
2
votes
2answers
2k views

Linux file permissions not being preserved

I am deploying some custom software as root (a necessity for this situation). I set the owner/group to user1:user1 and set all the files to 644 beforehand in shell, then copy and deploy with ant. ...