2
votes
3answers
2k views

Manipulate file name piped from find command

I'm relatively new to Bash and am trying to do something that on the surface seemed pretty straightforward - run find over a directory hierarchy to get all of the *.wma files, pipe that output to a ...
0
votes
1answer
151 views

Using ssh_alias with ssh tunneling

I am using ssh tunneling to login to system behind gateway. Problem is that I have ssh_alias defined in ~/.ssh/config on gateway server. Where I have key and ip setup. But those alias don't work ...
2
votes
3answers
928 views

Is there a way to have regular expression in ~/.ssh/config

I have two set of server. Test on production. All server have internal ip. currently I am using alias to login: Host pro-10 Hostname 192.168.1.10 ProxyCommand ssh production-server nc %h %p For ...
0
votes
2answers
1k views

How to find last deleted files on OpenSuse?

I didn't lock the screen on my OpenSuse Linux and let my girlfriend do all evil things when I was sleeping. Is there a way to find out if she deleted any files from my PC? I was looking at the "Date ...
7
votes
2answers
547 views

Are SUSE servers intended to be used graphically?

After being a long-time Debian Linux user, I decided to give SUSE a try. One of the major selling points of SUSE is the YaST configuration system. It provides a set of wizards for common configuration ...
16
votes
4answers
5k views

How to scroll in a terminal using keyboard?

How can I scroll in bash using only the keyboard? If it's not possible in bash, are there any other shells that support this?
3
votes
3answers
2k views

Check whether files in a file list exist in a certain directory

The runtime arguments are as follows: $1 is the path to the file containing the list of files $2 is the path to the directory containing the files What I want to do is check that each file listed in ...
2
votes
1answer
230 views

Alix Board write performance

I have an alix board on which I have installed debian4alix (sqeeze). After using it for a while I noticed that the write performance of the board was pretty low. I ran the following test: dd ...
1
vote
1answer
223 views

Rip audio CDs while keeping extraction and encoding separate

I'd like to rip my audio CDs to mp3. I know this has been discussed to a good extent but I'm not sure if my setup makes sense, though. I want to use an older PC for that and I have read on the net ...
1
vote
1answer
767 views

run a remote process via autossh in background

In Ubuntu I'm trying to run the geany editor on my local X display via the command: autossh -o StrictHostKeyChecking=false -XCg me@otherDYNDNShost geany & Trouble is, after the first ...
1
vote
1answer
324 views

Installing GRUB from scratch

I am trying to make a scratch linux installation on a PC board that has an x86 processor running on it. It also has a compact flash drive on it to which I have copied my compiled kernel image. The ...
3
votes
3answers
819 views

after replacing motherboard, Debian gets blank screen while booting

I have Debian installed on one computer. I just replaced its motherboard and CPU. And graphics card, because I use onboard one. I kept my old hard disk. Now machine boots well, grub starts well, ...
0
votes
0answers
2k views

Install Broadcom wifi adapter driver in BackTrack 5 R1

How can I install the Broadcom BCM43142 driver in BackTrack 5 R1? Please can anyone guide me with step by step instructions as I am new at Linux.
0
votes
0answers
27 views

How to upgrade Local Server with Local Upgrade Server

This is the case We have One Upgrade Server and it is connected to Redhat Network and it downloads all the updates. Means it is fully up to date. What I need is that I need to connect the client ...
1
vote
0answers
249 views

How to backup virtual drives with PlayOnLinux?

PlayOnLinux installs the applications in separate virtual drives. Each virtual drive represents a different windows machine. I have configured PlayOnLinux on my laptop and installed several programs ...
3
votes
1answer
195 views

Why do I get this 'Erase is backspace' message after I do a reset in xterm?

So when I do a reset in xterm I get something like this: Erase is backspace. [omarg@computer]: I've already checked my .bashrc and .Xdefaults files but it doesn't seem like that message is being ...
1
vote
2answers
13k views

Slacko vs Precise vs Lucid Puppy Linux

On this site you will find the 3 flavors of Puppy Linux in the question. I am not looking for an exhaustive list, but just a few differences between the three. This way I can make an informed decision ...
4
votes
2answers
2k views

Is it normal that Fedora's yum list kernel-* shows two versions of kernel being used?

Is it true that the following shows that two versions of the kernel are being used? (Is the bold face -- the one enclosed in ** showing what is currently loaded / used). Basically, I just created a ...
2
votes
2answers
258 views

Where did Redhat derive from?

Where did Redhat derive from? Did it derive directly from Linus Torvaldis linux distro (2 years earlier) or did it have roots in BSD or System-V ?? I am just wondering how to classify Redhat in the ...
1
vote
1answer
226 views

Environment auto-install script

When I work, I often have to switch computers or virtual machines which means that every time I switch, I have to set up my (Linux) environment again. Is there a tool (in contrast to a simple bash ...
4
votes
1answer
412 views

How do I stream a top snapshot into a file

Is there any way to persist the snapshot of top at that given moment into a file? I tried top > top.out but the contents were nothing like top in STDOUT: ^[[H^[[2J^[(B^[[mtop - 16:09:49 up 18 ...
0
votes
2answers
1k views

Replace matches with multiline string using sed [duplicate]

Possible Duplicate: Insert a multiline string into another string I have a file called foo.txt containing: foo bar baz I want to replace every occurence of bar with a multiline string, ...
0
votes
3answers
103 views

Wget images issue from api_key

We have a vendor that sends us xml feeds of new items with the appropriate path and image name. I created script that will strip the web address path for the image, but if I try to obtain these with ...
0
votes
1answer
487 views

use CEC with my TV

When I plug my Raspberry Pi to my TV (which supports SimpLink, or respectively CEC) the TV automatically turns on from standby. This is due to the fact that the Raspberry Pi also supports CEC: ...
1
vote
2answers
352 views

Convert discus output into readable HTML mail

How can I take the DISCUS command output below: and convert it into something HTML email friendly? I've bash scripted something like this: #!/bin/sh discus > /tmp/discus.log touch ...
2
votes
3answers
2k views

How should I prevent data corruption on an NTFS partition shared by Windows and Linux?

I use Linux for most of the things but I still need Windows sometimes. So, I have Linux Mint 14 and Windows 8 installed (dual-booting) on my computer with the following disk setup: sda1: The 350 MB ...
1
vote
1answer
234 views

How to set metadata for music files?

In windows music files have metadata like artist name, album name associated with them. How is this metadata stored. Is it stored in file system like other file attributes or is it part of MP3 data ...
14
votes
8answers
6k views

How to determine which sd* is usb? [duplicate]

Possible Duplicate: How to know if /dev/sdX is a connected USB or HDD? The output of ls /dev/sd* on my system is - sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sdb sdc sdc1 sdc2 ...
5
votes
2answers
261 views

What is BS"D in Mac OS X and iOS Internals?

I just received my copy of Mac OS X and iOS Internals, and there is something a little strange: Chapter 13: BS"D: The BSD Layer Is there an explanation for the extra quote ?
2
votes
1answer
410 views

Why is a echo-request ping packet 84 bytes in the log of iptables?

When I log the length of a echo-request packet, iptables -A OUTPUT -p icmp -m icmp --icmp-type 8 -j LOG I saw the length was LEN=84, but in wireshark, the captured packet size was 0x60, why does it ...
9
votes
1answer
226 views

How to manually install linux on a USB?

I have been using unetbootin to create bootable Linux USBs. I want to do this manually using command line. What is the procedure that unetbootin uses to prepare a bootable USB? How would you go ...
1
vote
0answers
123 views

Directly convert Archbang live on a USB drive to one such with persistent file-system

I have installed Archbang 2012.12.03 from ISO image on my USB drive, now I have a USB drive with a live Linux installed on it but at end of every session and rebooting system I faced with a fresh ...
1
vote
1answer
583 views

Reserve Ports for modem

I have a modem with 16 ports using for sending SMS. When it's connected to my Linux machine, I get 16 ports from ttyUSB0 to ttyUSB15. Currently if I remove this modem and attached another it,I get it ...
11
votes
3answers
585 views

Groups differ from the local ones when logging in remotely

We store our users in LDAP, alongside some groups that have meaning across different systems (organizational roles including wheel). There are also groups local to workstations, e.g. audio or video ...
1
vote
2answers
144 views

I deleted the /boot server is still running is reinstall necessary?

This is stupid. I ordered 2SSD from a provicer. Usually I am the one doing the partitioning and formatting. I will then know which one is the SSD by looking at disks that's not partitioned yet. Turns ...
2
votes
1answer
2k views

Can one install an armel Ubuntu package on armhf Ubuntu system?

My particular concern is about installing "coq" in Ubuntu 12.04 for Toshiba AC100 (armhf distro), which hasn't been built successfully for armhf, but is available for armel -- ...
1
vote
2answers
800 views

Max password size in AIX 6.1

I found on the AIX documentation some rules to set about passwords length : minlen Defines the minimum length of a password. The value is a decimal integer string. The default is a value of 0, ...
10
votes
5answers
1k views

Why is the terminal case-sensitive?

When I do - CD .. instead of cd .. it gives me error saying - CD: command not found Why is the terminal case sensitive when it comes to linux commands? I mean you should be able to execute the ...
1
vote
1answer
2k views

Trouble adding existing user to existing group in ubuntu

I was trying to add a user called bill to www group useradd -G www bill It gives me error UX: useradd: ERROR: bill is already in use. Choose another. I checked if this user already in the group ...
0
votes
2answers
124 views

How to know which hard disk is the new one and which one is the old one

I ordered 2 SSDs from my provider. However, which drive is the main drive? How do I know which drive is the new SSD drives?
4
votes
1answer
1k views

What is the use of literal command in ftp?

Browsing through FTP help (i.e. ftp> ?), showed me a command name literal, description of which is ftp> ? literal literal Send arbitrary ftp command I tried to do some trial and ...
3
votes
1answer
466 views

Jump between the “if” and “fi” in vim, while editing a bash script?

Just like you could jump between pairs, i.e (), can I extend this feature to jump between beginning tags and ending tags? i.e in bash, jump between if and fi
9
votes
2answers
587 views

“grep -r foo *” vs “grep -r foo .”

When using grep -r you could search in all files with either * or . and it seems to return the same thing but is it really the same? Let's say I search for "foo", then I could write grep -r foo * ...
6
votes
5answers
4k views

How to create a sequence with leading zeroes using brace expansion

When I use the following, I get a result as expected: $ echo {8..10} 8 9 10 How can I use this brace expansion in an easy way, to get the following output? $ echo {8..10} 08 09 10 I now that ...
9
votes
3answers
1k views

what is wild card to select all directories in a directory

i want to set sticky bit for all directories in a directory excluding files. is there any wild card to do this? #sudo chmod g+s /var/www/<WILD_CARD_FOR_ALL_DIRECTORIES>
1
vote
1answer
476 views

linux driver installation error - “/lib/modules/2.6.18-194.el5/build: No such file or directory. Stop.”

I got an error /lib/modules/2.6.18-194.el5/build: No such file or directory. Stop. while installing moxa driver, following is the shell screen shot. [root@lnx149-252 driver]# pwd ...
4
votes
1answer
2k views

EXT4 FS needs journal recovery. What does this mean?

$ sudo file -s /dev/sdb1 /dev/sdb1: Linux rev 1.0 ext4 filesystem data (needs journal recovery) (extents) (large files) (huge files) What does "needs journal recovery" mean? Do I need to do ...
0
votes
2answers
1k views

I think somebody tried to hack me

root@host [/var/log]# tail -f secure Jan 3 20:16:10 host sshd[22670]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.142.131.120 user=root Jan 3 20:16:12 ...
0
votes
1answer
737 views

Root password keep changing

This is frustrating. I am often able to login with a root password. Then I cannot login again. However, I am still logged in. Hence my password must be correct. I changed the root password with ...
1
vote
1answer
263 views

Mapping Super Keys to Control without Xmodmap

I've been attempting to switch my super and control keys in X on a macbook and have been half successful. I'd like to avoid creating a custom .Xmodmap if possible, as there is a temporary 100% cpu bug ...

15 30 50 per page