qbi
  • Member for 11 years, 3 months
  • Last seen more than a week ago
2 answers
25 votes
72k views
Can I Remove GUI From Debian?
Accepted answer
29 votes

Debian uses tasksel for installing software for a specific system. The command gives you some information: > tasksel --list-tasks i desktop Graphical desktop environment u web-server Web ...

View answer
2 answers
7 votes
2k views
show hostname in top
Accepted answer
8 votes

As far as I see it, there is no possibility to do it in top. I would suggest using htop. If you open the programm press F2 and move with Tab to the column available meters. You'll find an entry ...

View answer
1 answers
9 votes
7k views
Checking linux Kernel for RT-Preempt Patch
Accepted answer
7 votes

In the case of preempt you can just use uname: uname -v #23 SMP PREEMPT RT Fri Oct 16 11:52:29 CET 2012 The string PREEMPT shows that you use a kernel version with the realtime patch. Some other ...

View answer
5 answers
6 votes
1k views
Open-source computer algebra systems for linux
Accepted answer
6 votes

I would suggest SAGE. It is GPL-licensed software and includes lots of components. SAGE also has a nice tutorial for the first (and second) steps.

View answer
7 answers
8 votes
5k views
How to prevent a mistaken rm -rf for specific folders?
5 votes

If you are using rm * and the zsh, you can set the option rmstarwait: setopt rmstarwait Now the shell warns when you're using the *: > zsh -f > setopt rmstarwait > touch a b c > rm * ...

View answer
11 answers
22 votes
8k views
Need advice in choosing a tiling WM
5 votes

Have a look at awesome, name says it all. :-) The awesome wiki has lots of configuration advice.

View answer
1 answers
2 votes
9k views
How to add header and footer to the flat file
4 votes

You can put the header and footer in separate files and cat all together: cat header original_file footer > new_file mv new_file original_file This command concatenates three files into one new ...

View answer
2 answers
6 votes
2k views
FHS differences between OS X, Linux and FreeBSD
3 votes

You can find the Filesystem Hierarchy Standard (FHS) version 2.3 at pathname.com/fhs. There is a section about the usr hierarchy. The FHS lists /usr/local as a required directory and writes: local ...

View answer
3 answers
4 votes
796 views
Something like pwgen-win for linux?
2 votes

You could also give Duckduckgo a try. It is basically a search engine with many nice features, i.e. generating passwords: strong password with 17 chars. The best thing is: You can use it with any ...

View answer
3 answers
7 votes
42k views
Recovering from "chmod -R 777 /" in Ubuntu
2 votes

Giving the whole world read, write and execute access to your filesystem is usually a very bad idea. On the one side everyone with access to your computer can do basically anything with the system. ...

View answer
1 answers
4 votes
2k views
Setting Mod4 in awesome
Accepted answer
2 votes

The awesome FAQ provides an answer: Why does Mod4 "swallow" succeeding key presses? On some systems xkb by default maps the left windows key to "Multi_key" (at least in us and de layouts). ...

View answer
2 answers
1 votes
1k views
Split large txt file into certain small file
2 votes

I would suggest writing a small script: NR_LINES=$(wc -l your-file | awk '{ print $1 }') for line in {1..$NR_LINES}; do head -n $line your-file | tail -n 1 > your-file.part$line done This saves ...

View answer
1 answers
3 votes
272 views
Syntax highlighting of latex code blocks in ikiwiki
Accepted answer
2 votes

For syntaxhighlighting in Ikiwiki there is a plugin called highlight. You can use it like [[!format tex """ \documentclass{scrartcl} … """]] This will give you nice syntax highlighting. It uses Perl ...

View answer
1 answers
3 votes
2k views
ZSH autocomplete
Accepted answer
2 votes

unsetopt automenu from man zshoptions: AUTO_MENU Automatically use menu completion after the second consecutive request for completion, for example by pressing the tab key repeatedly. This ...

View answer
2 answers
14 votes
2k views
Dynamically update completion list in zsh
1 votes

One way which might offer the solution you want, is incremental-complete-word: zle -N incremental-complete-word bindkey '^Xi' incremental-complete-word This loads the funtion and binds it to Ctrl-X ...

View answer
2 answers
4 votes
347 views
Make ls distinguish scripts from binaries in output
1 votes

You could play around with dircolors. Have a look at the output of dircolors -p. On my systems I find the following relevant definitions: # This is for files with execute permission: EXEC 01;32 … # ...

View answer
3 answers
0 votes
117 views
Fixing header and print
1 votes

Similar to the answer using awk is cut: cut -d' ' -f 1 input.txt > output.txt The -d option sets the delimiter to one space and -f selects the first field. However you can also use sed: sed 's,^...

View answer
2 answers
3 votes
6k views
ffmpeg and libvpx: error while loading shared libraries
1 votes

As far as I remember there were compatibility issues between various libvpx-versions and software like totem, ffmpeg etc. So usually newer versions of libvpx were not installed. You'll have to look ...

View answer
1 answers
2 votes
2k views
Can't delete symbolic links, permission denied
Accepted answer
1 votes

Actually you also do not use sudo (at least not in the sense you think): only the ls command is run under sudo, then the output of sudo ls -l . goes through the pipe. Try your line with: \ls -l . | ...

View answer
5 answers
16 votes
38k views
What is sendmail referring to here?
1 votes

This output refers to a Fully-qualified domain name (FQDN). Which is either an IP address or a domain name (something with a dot in it).

View answer