1
vote
1answer
663 views

Is Native Language Support (NLS) kernel support still necessary?

Does ext4 / cifs system need kernel NLS support ? I'm not sure if it's being handled by user-space program (decoding / encoding) ?
1
vote
1answer
814 views

AES-NI accelerated ZFS v31 encryption in Solaris 11

I'm not quite sure if this is the right place to ask this, if not, feel free to migrate it to wherever it fits in. I'm testing the encryption feature in ZFS v31 in a Solaris 11.11.11 VM under ESXi ...
0
votes
2answers
3k views

Replacing one test string with another in particular column

I would like to replace "CC" with "C" and "AA" with A" in a particular column of Tab delimited file (using awk probably).
1
vote
2answers
2k views

Help understanding `find` syntax on Solaris

Consider the following files: $ find findtest findtest findtest/test1 findtest/test1/start.ksh findtest/test2 findtest/test2/start.ksh findtest/test3 findtest/test3/start.ksh ...
2
votes
0answers
129 views

Forcing X to recognise video ram, saving the file 99-vesa file

So I was looking at a question about forcing X to recognise video memory to achieve 1080p resolution, however when I finished the following piece of code: Section "Device" Identifier ...
1
vote
1answer
519 views

Control Initial size of xfce4-terminal?

As I didn't see the option to configure start window size of xfce4's terminal program , is it configurable ?
2
votes
0answers
75 views

Which GNOME themes are suitable for black and white printing?

I need to place some screenshots of GNOME applications, such as the file manager, in a book. The book will be printed in black and white, and, although shades of gray are okay, it is best that I avoid ...
19
votes
11answers
2k views

Remove duplicate $PATH entries with awk command

I am trying to write a bash shell function that will allow me to remove duplicate copies of directories from my path environment. I was told that it is possible to achieve this with a one line ...
4
votes
1answer
329 views

StackExchange with Elinks

I use Elinks to browse while I am connected remotely. I am unable to login to stackexchange using my OpenID. I enter the correct URL, and upon submission, I get the "No OpenID endpoint found." text. I ...
1
vote
1answer
1k views

How to create an user only with SSH -access and easily-set-up .ssh -dir perms?

I often mess up when I manually set up the .ssh -dir, easy to forget some flag. I often need to create a new user and only allowing access with SSH, how can I do that? Basically, I want to stop doing ...
4
votes
2answers
1k views

Two-step remote ssh without password

I'm looking to ssh from my localhost to a remote server, and from there to a remote computer. I currently have it set up so that the remote computer and remote server have passwordless ssh-ing set up ...
1
vote
0answers
415 views

RT2800USB wireless adapter stops scanning

I have a Linux machine, and I'll switch between using an RTL8187 based card, and a RT2800USB based card (the cards are both USB dongles by the same manufacturer). I've loaded the drivers for both ...
2
votes
1answer
223 views

How to utilize extended attributes for image preview?

Is there any file browsers for Linux that cache image previews, just like Windows Explorer cache them to a file named Thumbs.db? As in the latest ext3/4 filesystems, an inode can hold extended ...
0
votes
3answers
359 views

Open file from particular position?

I was wondering, if you had a particularly large file, saying 64 MB, is it possible to figure out the physical hard drive location of the file, and then read bytes from a particular offset into the ...
3
votes
1answer
743 views

How do you make DISPLAY variable undefined?

I am using Ubuntu, but I think this applies to all Linux. What's the command to set DISPLAY to be undefined in the shell?
4
votes
3answers
893 views

Can it harm if I shutdown without closing applications?

Can it hurt if I shut down my machine without closing all programs? I normally close all of them by hand, but have heard from others that this is really not necessary anymore (i.e. Linux will take ...
2
votes
1answer
244 views

Prevent specific USB device from automounting

I have a SD card which is always inserted in my SD-card slot. However, I do not often use it (but do not want to take it out). Currently, it's being auto-mounted every time I start my computer. I feel ...
4
votes
2answers
886 views

Preventing access to TTY when X is killed

Assume I start an X server manually from a virtual console /dev/tty1 with xinit or startx, with the line id:3:initdefault: set in /etc/inittab. The X server gets run and put on another virtual ...
5
votes
2answers
1k views

Stay at same working directory when changing to sudo

When working on the command line, I often change to sudo using sudo -i. However, my working directory changes automatically to /root. I never want to go there; I want to stay where I was! How can I ...
5
votes
1answer
360 views

Console ScreenSaver without X11

I'm trying to setup a very slimmed down console only Debian system to act as a simple slideshow photo display. I know that it is possible to show graphics (I guess using the framebuffer) in the ...
1
vote
2answers
91 views

SSNiper SSN Scanner support

I work for a major university and we have a policy that requires annual scanning of all computers for social security numbers (SSNs). I started using a utility called SSNiper that was created at UIUC. ...
4
votes
1answer
292 views

How can I git diff markdown (.md) files

I have some markdown files but I can't git diff them. No result at the command line and not supported in gitg (visual git) Is that possible with the files as they are, without converting them to ...
2
votes
3answers
650 views

How can I restore the changes to shell variable?

For the purpose of an experiment... Suppose I did this bash="unset DISPLAY; export DISPLAY" so I can make DISPLAY undefined. How can I restore the original value set? Or at least know what it was? ...
4
votes
3answers
1k views

Opening a PDF file by typing its name

I am on Mac OS X and I usually open PDF files from the terminal (using bash) open myfile.pdf Now I'd be able to type only myfile.pdf and have that opened with the command above. Is there any ...
13
votes
2answers
6k views

What is the difference between ~/.profile, ~/.bashrc, ~/.bash_profile, ~/.gnomerc, /etc/bash_bashrc, /etc/screenrc …?

Answers to the questions on SO and askubuntu, along with poking through (and reading headers of) $HOME and /etc/, indicate a number of files that can be used to set environment variables, including: ...
3
votes
4answers
2k views

Advantages (or downsides) of GVim over Vim to edit code

Should I install vim or GVim ? I develop mainly Ruby on Rails (I also use IDE's, but different topic). Are there any differences or advantage of using Gvim vs vim ?
2
votes
1answer
98 views

How to upgrade SSHD without the change of the server key?

So... we need to upgrade the SSHD. How can we do this without having that issue that the people (who are signing in through ssh) would see the message: ...
1
vote
1answer
1k views

Why can't I add any iptables rule?

Why can't I add any iptables rule? root@ROUTER:~# iptables -L INPUT -v Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 6934 685K ACCEPT 0 -- any ...
5
votes
2answers
453 views

How can I make bash not match `.` and `..` with `.*`

When I try to match all dot files in a directory with .* it seems to have a nasty side-effect: besides matching all (real) files and directories, it matches . and ... bash-3.2$ mv test/.* dest/ mv: ...
3
votes
2answers
337 views

Trying to create tunnel to mysql through SSH

Im in a bit of a bind here. I have a client that want's me to set up his website, but he runs the server w/ SSH and CentOS 6.2 as it's OS. Now, I'm trying to add the sql server on Mysql Workbench for ...
8
votes
2answers
2k views

Why real time can be lower than user time

I have a script converting video files and I run it at server on test data and measure its time by time. In result I saw: real 2m48.326s user 6m57.498s sys 0m3.120s Why real time is that ...
1
vote
0answers
89 views

Have network always wait for a network connection?

Just as the title says, is there a way to tell Ubuntu Server to constantly wait for an ethernet connection after it gets disconnected? Use case: Ethernet cable gets unplugged (intentionally) for a ...
1
vote
1answer
6k views

disabling journal vs data=writeback in ext4 file system

What is the difference between disabling journal on ext4 file system using: tune2fs -O ^has_journal /dev/sda1 and using data=writeback when mounting? I thought ext4 - journal = ext2. means when we ...
3
votes
1answer
580 views

Where do the .deb files go when I select “download only” in Synaptic Package Manager?

Here is the situation. In Synaptic Package Manager, suppose I want to download package files of package_name. I follow following steps: Select package_name> Mark for installation > Accept additional ...
1
vote
1answer
556 views

Problem with keyboard and mouse in gdm3 and lightdm

Linux anarki 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64 GNU/Linux Distributor ID: LinuxMint Description: Linux Mint Debian Edition Release: 1 Codename: debian When my ...
2
votes
3answers
195 views

Emacs Message: save sent mails

How do you make Emacs Message (C-x m) save outgoing mails? Is there a standard way to do this? You could C-x C-s but this is inefficient and easy to forget, besides, you can't be 100% it is the mail ...
3
votes
0answers
473 views

Memory mapping of the Linux kernel : how extended (4MB) and regular (4KB) paging coexist?

On x86 architecture, "Extended paging" allows page frames (physical memory) to be 4 MB instead of 4 KB. The book "Understanding the Linux Kernel, 3rd" at chapter 2 "Memory Addressing", sub-chapter ...
6
votes
1answer
541 views

Can I make “There are stopped jobs” harder to kill?

Typical scenario: I temporarily need to access a file that my vhost prevents me from accessing. I fire up vim, edit the settings and background vim to tell apache to reload its configuration. ...
2
votes
3answers
472 views

USB external drive not working

I have an external usb drive that is not working properly: Jun 13 10:36:38 sleipneir kernel: [ 1022.548241] usb 1-3.1: new high speed USB device using ehci_hcd and address 28 Jun 13 10:36:38 ...
1
vote
1answer
52 views

cclive: what kind of regexes are allowed?

Is there a place where I can look, what kind of regexes I can use with the --tr option from cclive?
1
vote
0answers
189 views

Dual/Triple Booting with dmraid and non-raid disk

I currently have 3 hard drives in my computer The first two disks are in a RAID-1 array, using an Intel P55 chipset, and accessed through dmraid, with the third drive partitioned like so: Filesystem ...
5
votes
2answers
3k views

How do I share internet with Windows from my Linux box?

I have a Linux (Ubuntu 12.04) PC connected to the internet with a Greenpacket WiMax USB modem. I want to share the Internet connection with another computer running Windows 7 Home Premium, connected ...
6
votes
2answers
308 views

What is the setting in bash for globbing, to control whether * matches dot files

I was surprised recently when I did something like mv ./* ../somedirectory and found that files like .gitignore were not moved. I do most of my work in zsh on OS X, and this surprise bit me in bash ...
1
vote
2answers
136 views

Running 64bit OS , Find all 32bit programs on a system

How should I locate all 32bit programs on my system ? I'm running a 64bit OS. (There might be some , but I forget)
4
votes
3answers
7k views

Applying changes to xorg.conf without restarting

I'm using Ubuntu 12.04 and making some changes to /etc/X11/xorg.conf. I now need to restart X server to apply the changes, but I don't want to restart my machine. I know restarting the display ...
3
votes
3answers
706 views

Infinitely Nested Directories

Let me start off by saying this is a Mac Terminal I'm using. Not Linux, but I assumed I would get the best answers here as it has to do with Unix and the command line not really anything about Mac ...
3
votes
4answers
817 views

Is there a way to increase `find` speed

I am wondering is there a way to increase find speed in terminal, it doesn't make sense that using internet google to search will have a better speed than doing a local search for strings or just file ...
0
votes
1answer
56 views

Will SGE output slow down my simulation, if so, how much?

I am using clusters at my university's high performance computing center, they are using SGE system to do the job management. You might know that by default the SGE will output two files: NAME.oXXXXX, ...
1
vote
0answers
39 views

understand if systray displayed in a desktop environment

I'm author of a couple off apps that make use of systray. Recently, since in some desktops only the indicator is supported (see ubuntu unity), I introduced a check and if indicator is supported the ...
1
vote
1answer
4k views

How to do I convert an animated gif to an mp4 or mv4 on the command line?

What command would I use to convert an mp4 or mv4 video file to an animated gif, and vice versa. That is, convert a animated gif to a mp4 or mv4.

15 30 50 per page