5
votes
1answer
370 views

Problem on Linux NAND Root Filesystem

I'm have a JFFS2 root filesystem running on a large NAND device. Every once in a while, when I restart the computer, I get error messages about invalid ELF headers when /sbin/init or /bin/login try ...
4
votes
4answers
5k views

Why are partion size and df output different?

I have a partition /dev/sda1. Disk utility shows, it has capacity of 154 GB. df -h shows Filesystem Size Used Avail Use% Mounted on /dev/sda1 123G 104G 14G 89% / devtmpfs ...
8
votes
6answers
9k views

Find biggest files or directories

Which command will print the sizes of all files and directories in the tmp directory (including hidden ones) and sort them by sizes from largest to smallest in human readable format (e.g. 2 GB)? The ...
3
votes
2answers
509 views

Change the time format for the touch command in BSD

I am wondering how to change the time format when I am modifying a time with the touch command in the c shell. For example I need to use touch -a -t 051512002015 file.txt This will change the ...
3
votes
3answers
16k views

How to remove GNOME 3 and restore GNOME 2

I am on Debian Squeeze. In over-enthusiasm I added an experimental repo and installed GNOME 3 (here is the evil discussion on installing GNOME 3 http://forums.debian.net/viewtopic.php?f=6&t=60481) ...
1
vote
1answer
608 views

Getting “Protocol not supported” from setkey: why?

I'm trying to setup an IPsec connection between two Linux systems. I've enabled the kernel options mentioned on the IPsec Howto. I've setup a setkey script like this: #! /usr/sbin/setkey -vf add ...
2
votes
1answer
196 views

imaging/cloning with DHCP network rebuilding/recovery of solaris 9 and 10 sparc servers [closed]

I have a number of Solaris 9 and 10 sparc servers (no RAID) that are custom DVD jumpstarts provided by SONUS Networks for their softswitch VOIP products. The normal install process would be to use the ...
5
votes
1answer
894 views

How to determine if disk is compact flash or standard hard drive

I need to determine in a shell script if a given block device (e.g. /dev/sda) is a compact flash disk or a regular hard drive. Google did not help me out for once, and while udevadm info --query=all ...
9
votes
3answers
5k views

Is there a “Open terminal here” from File Browser?

Something equivalent to Windows' "cmd prompt here", that will open a gnome-terminal on a specific folder?
25
votes
6answers
36k views

How can I remove Orphan Packages in Fedora?

I just switched from Ubuntu to Fedora14. In Ubuntu we had the apt-get autoremove thing to remove orphan/unused packages. What is the counterpart in Fedora?
1
vote
1answer
2k views

Cron: My crontabs don't seem to be doing anything at all

I think I'm missing something. I've set up some crontabs to handle rsyncs over ssh in my office to handle some backups, but they don't seem to be running OR logging, for that matter. Am I missing ...
17
votes
4answers
26k views

Why is Debian's root shell colorless?

Are there any security concerns? What is the best way to enable it?
4
votes
2answers
3k views

How do I time a specific command?

(The linux equivalent of TimeThis.exe) Something like: timethis wget foo.com Receiving foo.com ... wget foo.com took 3 seconds.
4
votes
3answers
6k views

What to do to run GUI Java app in chrooted environment?

In my case Java app is JDownloader. I prepared chroot environment as explained here: http://www.0x61.com/forum/post5240333.html#p5240333 and here: http://interreality.org/~reed/java-chroot.html ...
2
votes
2answers
4k views

Samba reporting not enough free space

After having some problems with my NAS, I switched to Debian/Lenny. I've managed to install and configure most of the software I need, but I've hit a brick wall with Samba. I can access the shares ...
18
votes
6answers
22k views

Linux: allowing an user to listen to a port below 1024

I need to allow an user (different from root) to run a server listening on port 80. Is there any way to do this?
3
votes
6answers
1k views

Common multiple SSH connections file handling issue

often I have to download a file that isn't directly accessable via the first SSH connection. For example I'm on a Windows machine and I want to access another machine that is only accessable from lan. ...
1
vote
0answers
249 views

How can I make scripts run when a file/directory changes in Linux (like Mac OS X’s launchd)? [duplicate]

Possible Duplicate: Can a bash script be hooked to a file? On Mac OS X, there’s a handy daemon called launchd which (amongst other things) allows you to have scripts run when files or ...
1
vote
1answer
176 views

Aliases for programs in /sbin/

I have a weird problem, unfortuantely I don't know what I did to cause this, since I tried out lots of stuff on my Linux (Archlinux, 2.6.38 kernel). The problem is: My shell is not finding programs in ...
27
votes
4answers
19k views

What is the mknod command used for?

I just started using Ubuntu as my main OS and I wanted to learn about things I should not do, and learn by the bad things people have done in the past. I came across these email about horror stories ...
3
votes
3answers
6k views

Copy-pasting in gnome-terminal

Can I configure it to allow: select right-click to copy right-click or ctrl-v to paste?
5
votes
1answer
462 views

How do I get back to X?

I pressed some key combination and got a big full screen black terminal screen with a login prompt. After logging in, I tried startx to get the UI back, but got a message Fatal server error: Server ...
3
votes
4answers
1k views

How to get size of a block special file? [duplicate]

I need to be able to determine the size of a block special file. For example, given /dev/sda, I need a command that will provide the size of the device. (By size I mean capacity, since this is a ...
2
votes
3answers
903 views

Overriding the shade of color displayed

I have to work on systems which display some colors that are hard to read. I ssh into these systems, but don't have management permission to change the colors they display. Is there any way I can ...
2
votes
3answers
3k views

Trouble RDPing to Windows 7 Service Pack 1 from Remmina Remote Desktop

After adding Service Pack 1 to my work computer, I get permissions errors when trying to RDP to work. I have no issues if I'm using the Microsoft Remote Desktop client. I'm using Ubuntu 10.10 with ...
2
votes
2answers
1k views

setting up ssh public key

Okay, so I'm trying to setup a login for logging in with ssh, using a public key. First, I am using puttygen to generate a rsa-ssh2 public key using a passphrase. I followed the directions and ...
1
vote
1answer
108 views

How can I test the system footprint of applications?

I am about to develop a piece of software and I want to ascertain the impact it has on my system. The main things I am look for are load times, memory and CPU usage and shutdown time, although I would ...
36
votes
5answers
6k views

Timing out in a shell script

I have a shell script that's reading from standard input. In rare circumstances, there will be no one ready to provide input, and the script must time out. In case of timeout, the script must execute ...
4
votes
3answers
457 views

Do I need to halt in order to really turn power off?

I tried shutdown -f now, thinking it will do a full power off sequence. Instead, it ends with *Checking battery state... and just hangs there. Should I add -h switch to fully take power off, ...
5
votes
1answer
5k views

How do I get which to show aliases? [duplicate]

Possible Duplicate: How to use which on an aliased command? I'm used to working on systems where which would list aliases, so e.g. if I have an alias like this: alias ...
21
votes
1answer
4k views

How can I tell if I'm in a tmux session from a bash script?

I like to keep my bash_profile in a git repository and clone it to whatever machines I have shell access to. Since I'm in tmux most of the time I have a user@host string in the status line, rather ...
2
votes
3answers
6k views

How do I install mono's System.Windows.Forms on Ubuntu?

I haven't found any concise explanation of this.
5
votes
2answers
2k views

rsync-like tool that supports compression and maintains hardlinks?

I use an rsync-based backup scheme to maintain daily (and soon weekly and monthly as well) "snapshots" of my file server, using rsync's link-dest feature to store hardlinks between the snapshots for ...
4
votes
3answers
4k views

How to copy a file from my home folder to /usr

I'm trying to copy a file from my homedir to /usr. How do I setup the permissions to allow this? $ chmod 777 KeePass-2.14.zip $ cp KeePass-2.14.zip /usr/keepass/ cp: cannot create regular file ...
5
votes
3answers
3k views

USB performance/traffic monitor?

First of all, I found a similar question but it doesn't really solve my problem. I am trying to discover if the USB bus for a device I am using is the bottleneck in my program. How can I monitor a ...
3
votes
2answers
640 views

Oneliner for slicing an image?

I'm looking for a oneliner command that would slice an image into given proportions. Say input would be filename and slice dimensions. Are there any standard command-line tools for this? I tried ...
4
votes
3answers
748 views

Why is Run Application (Alt-F2) very sluggish on a new computer?

I just got a new, strong ubuntu desktop. First time linux user. I'm trying the Run Application app ( Alt+F2 ), try "Ch" for Chrome, and the app thinks for 2-3 seconds before displaying the list of ...
4
votes
5answers
418 views

Can I change a shortcut key to Windows key?

I'm trying to change the shortcut key for "Run Application" ( Alt+F2 ) to the Windows key. When I click "Show the panel's Run application dialog box" in Keyboard Shorcuts, it says "New Shortcut", ...
1
vote
1answer
1k views

Where to find file transfer history from a SSH client (Debian/Linux)?

Help!! Have you ever tried dragging a folder to another folder by mistake in a graphical SSH client? Well, I did this morning, and since I wanted it to stop immediately (I could see it was about to ...
0
votes
1answer
313 views

Kile freezes running pdflatex

When I run kile I get the message: QStatusBar::insertWidget: Index out of range (4), appending widget and I am not able to compile from Kile. While I press pdfLatex inside Kile, it freezes. What ...
1
vote
4answers
307 views

linux shell global linux memory in mem variable - from shell

Is there any way for me to set an env variable without editing files to be in memory and effect other shells as well, which will take effect on any new user who connects that machine and will take ...
0
votes
3answers
2k views

send mail using external mail server

I'd like to send mails using a PHP script that has been deployed on a CentOS machine. Problem is there is no mail server configured. There is, however, another linux machine that has a mail server ...
3
votes
0answers
168 views

How to copy a long textfile to clipboard on gnome-terminal? [duplicate]

Possible Duplicate: How do I send stdin to the clipboard? What's the best way to copy a long text file to keyboard? I'm imagining something like: cat longTextFile | straightToClipboard
1
vote
1answer
4k views

How to run sh from sh file

I developed a Java application. I divided the application into 5 sub-applications, and created a service wrapper to each sub application using shell scripts: subaap1/bin/app.sh subaap2/bin/app.sh ... ...
0
votes
1answer
323 views

Error installing gmrun via apt-get

$ sudo apt-get install gmrun Reading package lists... Done Building dependency tree Reading state information... Done gmrun is already the newest version. 0 upgraded, 0 newly installed, 0 to ...
3
votes
1answer
1k views

A tee >( process ) is truncating its stdout when writing a file

When I use tee to pipe stdout directly to a "specific block of code" (which then writes the modified data to a file), I always get the full complement of exptected output lines in the file. ...
2
votes
1answer
922 views

Compiled a Kernel (2.6.39-rc1), where is the corresponding initramfs?

as I've already wrote in the topic, I compiled a new Kernel with make defconfig, the bzImage is where it there, so is vmlinux.bin. I've installed modules with make modules_install. Now, what is the ...
3
votes
2answers
5k views

Arch Linux not booting after system update

After running a system update pacman -Syu with the testing repo not commented, my computer no longer boots. It shows the udev loading, then shows a black screen with a cursor blinking in upper left. I ...
7
votes
2answers
2k views

Adding Ctrl-L as “clear” hotkey in OpenBSD's ksh

I've been looking for a way to use Ctrl-L to clear the monitor instead of typing clear in each time. I found nothing except a patch which didn't work for me. How do I add hotkeys/shortcuts to my ...
2
votes
0answers
4k views

Ubuntu online installer? [closed]

Is it possible to install ubuntu (or preferably mint 9) on my toshiba notebook, using an online installer like the one on mintPPC? The one I am referring to is found here, but many can not access it. ...

15 30 50 per page