« first day (299 days earlier)      last day (4649 days later) » 

12:02 AM
hi
Does anybody know how to print all elements in an array except the last?
 
What language?
 
12:21 AM
1
Q: How to get information about word, address size, address bus size, data bus size and instruction size?

TimIn Linux, I was wondering how to get from command line information about: word (i.e. the size that the CPU can process at one time), address size (ie the number of bits in an actual address), address bus size (not sure if it is the same as address size by definition, but I think they are differ...

 
12:39 AM
0
Q: Why doesn't vim ask for password when reopenning an encrypted file?

ivotronIf I run Vim and then open an encrypted file it asks for the encryption password. If I close the window where the file was opened (without closing vim) and then reopen the file, the password prompt is not shown anymore. Is there any setting to modify this behavior? I'd like vim to ask the passwor...

 
 
2 hours later…
3:05 AM
We're doing well with drive-by chat questions
 
 
3 hours later…
6:28 AM
0
Q: ACPI problem with recent kernels

phuneheheIn recent versions of popular Linux distributions (Ubuntu, Fedora, Mint, Debian) I always have to put acpi=off into the kernel parameter list before I want to boot the computer. This happens to both the live CDs and the installed version. I have been unable to find information on fixing this. I g...

 
7:05 AM
0
Q: Font for zeros in question titles

jasonwryanCurrently, the font specification calls Georgia as the primary serif for question titles. While undeniably an attractive font, its zero renders almost exactly the same as a lower case o. This introduces a significant level of ambiguity: While I think it extremely unlikely that there is a serif...

 
@MichaelMrozek You'd think they'd answer follow up questions if they bothered to be in chat at all, but they never seem too. Anyway the first one (Thursagan) was from a <13 yo minor whos account is also linked with a high rep / low credibility user on EL&U that has been suspended recently for smurfing.
 
7:22 AM
1
Q: Font for zeros in question titles

jasonwryanCurrently, the font specification calls Georgia as the primary serif for question titles. While undeniably an attractive font, its zero renders almost exactly the same as a lower case o. This introduces a significant level of ambiguity: While I think it extremely unlikely that there is a serif...

 
 
5 hours later…
12:45 PM
1
Q: Rewrite a Vim function to a one-line map

l0b0This works: nmap <silent> <S-t> :call InventTab()<CR> function InventTab() set expandtab! if &expandtab retab echo 'spaces' else retab! echo 'tabs' endif endfunction I've tried to change it to a one-liner: nmap <silent&g...

0
Q: How to list files and folders that are not maintained by any DEB package

Daniel TrebbienI am in the process of moving my files from one Debian machine to another so that I can use the old machine for a different purpose. I do not want to miss any file because I will be formatting the old machine's hard drive irrecoverably. Thinking about this more, I realized that all of the files...

 
1:03 PM
0
Q: Linux + how to verify mirror configuration on linux red-hat

davidI have an IBM blade server and we've installed RedHat Linux on the machine. How can we check if we have both disks running as a mirror, or if everything is only running on a single disk? What commands can I use to discover this? Diana

 
1:54 PM
0
Q: List only bind mounts

l0b0Rather than using mount | grep, I'd like to use mount -l -t bind, but that doesn't work, and -t none shows all mounts.

 
2:12 PM
0
Q: create and grant a normal user with root privileges

alwaysonnethow to create & grant a normal user like 'sybase' with root privileges? i found useradd, adduser, passwd to be useful, but are there any other files to modify to get 'root' like privileges so that user can do installation tasks.

 
2:27 PM
0
Q: nautilus -terminal on fedora 15 won't work

AsherMaximumI am trying to setup nautilus with the nautilus-terminal plugin. I installed it with yum, and yum list installed shows version 0.7-2.fc15 installed. Files nautilus-terminal.py, nautilus-terminal.pyc, and nautilus-terminal.pyo are in the python folder in /usr/lib64/nautilus/extensions-2.0. There i...

 
3:03 PM
0
Q: Convert a folder of images into a multi-page pdf file usind command line tools?

Somebody still uses you MS-DOSI have a folder with 100 jpg images. I want to convert these images into a multi-page pdf file, with all the images (cropped to A4 size). They are already in the correct rotation. Which tools should I use?

0
Q: Problem : how can i copy/paste this in vim editor?

mr_eclairI'm working with vim editor and I found y,yw respectively to copy a line and a word but how can i do following task in vim? www.pack.google.com From this line how can i copy and paste ack.goo using vim editor? hoping for quick and positive response.

0
Q: dracut and separate /usr?

lytenynI would like to use systemd on my Gentoo box. Unfortunately, I have /usr on a separate partition and Gentoo puts libdbus into /usr/lib, leading to a segfault on boot, since systemd relies on dbus. Hence I would like to generate an initramfs using dracut that mounts /usr for me. This partition is...

 
3:18 PM
0
Q: Why does sh say "not found" when it's definitely there?

Shawn J. GoffI'm trying to add ebtables to a little router box. I went and got a binary compiled for the correct architecture, and put it on the box in /sbin/. When I do /sbin/ebtables, the shell says /bin/sh: /sbin/ebtables: not found, but I can do ls -l /sbin/ebtables and it shows up perfectly: -rwxr-xr-x ...

 
3:31 PM
@Gilles have you seen this?
7
Q: Does Debian 6.0 (Squeeze) have buffer overflow protection mechanisms?

Jesper MortensenMy question is: Which buffer overflow / stack smashing defenses (if any) are enabled by default in Debian 6.0 (Squeeze)? Ubuntu has a handy summary table showing the main security features of each Server edition release, but I haven't found something similar for Debian. Ubuntu mentions: Stack ...

are those things major enough to get one worried
 
3:55 PM
0
Q: If I connect a physical device, how can I ever know which device file belongs to it?

WTPSay I plug in several USB drives which don't get automatically mounted. How can I find out which device file belongs to which physical device, so I can mount it for example? I'm running Mac OS X but I rather like an answer that works on all (or at least the most popular) Unix systems. I had this...

 
4:13 PM
0
Q: What are your best practices and future plans for deploying unixoid desktops?

jstarekI have been setting up Linux desktops for a non-profit radio observatory. For me, this was the first time I had to think about "deploying" several identical machines, centralizing login, home directories and so on. It quickly became clear to me that, perhaps contrary to intuition, the "everything...

 
 
1 hour later…
5:19 PM
0
Q: How to determine if a font is available

mattalexxHow can I determine if a font is available on a user's system using bash? If it matters, I'm using Gnome.

 
6:10 PM
0
Q: Permanently switching to zsh in a script, without being root and without being asked for the password

mattalexxIs there any way to run chsh -s /bin/zsh without being root and without being asked for the password? I want to put it into a non-interactive script that isn't called by root.

 
7:04 PM
0
Q: How can I use 2 bash commands in -exec of find command?

Luc MIs it possible to use 2 commands in the -exec part of find command ? I've tried something like find . -name "*" -exec chgrp -v new_group {} ; chmod -v 770 {} \; and I get find: missing argument to -exec chmod: cannot access {}: No such file or directory chmod: cannot access ;: No such file...

 
7:17 PM
@Tshepang Not really. These defenses only make exploits harder, they don't make the vulnerabilities themselves inoffensive. Exploit writers have learned to work around these defenses, so you only get protection from older or less polished exploits.
 
7:51 PM
@Gilles I was just surprised cuz I considered Debian generally secure, and not any worse than other distros
 
0
Q: What are the difference between man1, man2, man3... folders?

TyiloWhat are the differences between manX pages? Why are they separated?

 
@UnixandLinux dupe
16
Q: What do the numbers in a man page mean?

WilduckSo, for example, when I type man ls I see LS(1). But if I type man apachectl I see APACHECTL(8) and if I type man cd I end up with cd(n). I'm wondering what the significance of the numbers in the parentheses are, if they have any.

I didn't know that flagging question as dupe leaves a comment automatically
nice
 
8:13 PM
@Tshepang It's wired to the same thing as the vote-to-close button that auto-adds comments if there is not already a comment with the link somewhere. If you want to re-word it you can always delete and repost since the comment is owned by you.
 
kool
 
8:44 PM
@Gilles: Where did you learn that trick?
1
A: How do I kill all a user's processes using their UID

GillesIf you pass -1 as the process ID argument to either the kill shell command or the kill C function, then the signal is sent to all the processes it can reach, which in practice means all the processes of the user running the kill command or syscall. su -c 'kill -TERM -1' bob In C (error checkin...

 
@Caleb er, man kill
 
0
Q: Can I get individual man pages for the bash builtin commands?

TyiloIs there anywhere you can download a manpage for every builtin commands? I know you can just use help or man bash and search to find info about it, but I want them separated, so I can just do man read and get the read manpage.

 
@Gilles I presume we're reading the same man pages, but when I read mine and see the -1 flag I think "this is an easy way to make the whole system crash and burn" and you think "this is a clever substitute for pkill -u if I run it as that user."
 
@Caleb If you run kill -1 as root, then yes, this kills everything except init
If you run kill -1 as another user, it just logs you out
 
@Gilles Oh it makes perfect sense, it's just a matter of thinking to put the pieces together.
 
8:52 PM
pkill is the right answer for most process matches, but there's a POSIX-compliant syscall for targetting all of a user's processes
kill -1 has the advantage that it's atomic, it'll kill all of the user's processes. Other methods take two steps: collect the PIDs, then kill, and a process could fork in between.
 
9:22 PM
What is going on at SE today? On English.SE everybody is using greek characters in their names. On ServerFault everybody is using the same gravitar and coyping each others answers.
 
0
Q: What's up with the strange characters in some display names?

drm65I assume it's not just me: Why do some users have added special characters in their usernames? The list includes: Kit (now KitΘδς) z7sg (now z7sg Ѫ) JSBangs (now JSBᾶngs) Martha (now Marthaª) aedia λ Alain Pannetier Φ Rhŵdri RegDwight Ѭſ道 ♦ Matt Ellen Д

55
Q: What is the meaning of CHAOS? Is it related to the PSI (Ψ) character?

Joel SpolskyI've seen a number of users with a PSI character in their names doing strange mysterious things on some Stack Exchange sites. What does it all mean?

16
Q: Paddington Bear Choppertar

Kyle BrandtMany of our top users seem to have avatars with a picture of themselves in a car with what appears to me to be Paddington Bear: So what is the story behind this?

 
@Gilles Ya I was in chat there when that wave started to break. Crazy folks.
 
9:38 PM
@Caleb Not half as crazy as the ServerFault crew tho.
The Comms Room user block looks like a blood bath.
It is an interesting exercise in noticing how much affect the gravitars actually have. I realized a while back that anybody with pink made me cringe on the chance that it might be Lance. Even if I don't actually bother to read names they are still a visual clue that unconsciously identifies some of the frequent contributors.
 
@Caleb <considers changing avatar to this pretty nice photo (unfortunately not free)>
 
@Gilles are you a mycologist by any chance?
 
@jasonwryan No, it's a pun on my name (Gill(e)s)
 
9:56 PM
@Caleb it's not mushrooms, it's gills
@Caleb This is a plot to distract me from answering on U&L, right?
 
10:11 PM
0
Q: Error message (sig_complete event failed) when running an executable on Cygwin Bash Shell

AndrewI am running an executable in Cygwin Bash Shell. The executable is compiled Fortran code; I have placed a Fortran statement PRINT *, "done" at the end of my code (just before the final line of code, END PROGRAM aug3, where aug3 is the name of my program. The code appears to compile fine and I g...

 
I'm building up a collection. Pity that most of these look crappy if you crop them to a square.
I might use the pink one as my April Fools gravatar
last 04-01 I used a picture of fish gills
 
11:20 PM
0
Q: How do I configure ssh tunneling past a firewall?

JoshI have a NAS running Linux behind a firewall at home. I want to access it remotely using a few services such as a Transmission GUI (port 9091) and webmin (port 10000), but through an SSH tunnel on port 22. For simplicity, I wanted to leave as many net-facing ports closed and only opened up port ...

 
11:39 PM
0
Q: CLI filesystem benchmark for random read/write with specified block size

thpetrusI'm in search of a filesystem benchmark utility. I basically want to run a test which should be able to do random reads/writes on a specified drive with a given block size. e.g. a 4K random write on a linux system. Thanks in advance.

 
11:54 PM
0
Q: In Linux, "Write" Permission Is Equivalent To "Execute" For Directories?

AahanThe Execute permission makes sense for files (which include scripts etc), but when it comes to directories, write (w) permission works the same way as execute (x), right? Which means, if we are giving write permission to a directory we also normally check "x" (for execute) for that directory as w...

 

« first day (299 days earlier)      last day (4649 days later) »