[Haifux] [HAIFUX LECTURE] Command-line utilities: Tips and tricks -- Eli Billauer
On Monday, January 21st at 18:30, Haifux will gather to hear a talk by Eli Billauer: Command-line utilities: Tips and tricks Abstract Command-line utilities is the real power of a Linux computer, and yet there's always a few useful utilities that even an experienced Linux user doesn't know about. This meeting is dedicated to going through several random utilities, some of which are less known, others are known but have surprising possibilities. The range goes from things as simple as using touch to fake a modification date to using ssh for surfing the web (with your browser) as if your computer was in another country. No previous knowledge is required. Even though newbies will gain the most of this meeting, there is also room for those more familiar with the shell prompt. Those who want to take the stand for a few minutes to talk about a utility are welcome, of course. There will be no slides during this meetings, just a shell window for demonstrations. This is a list of topics that may or may not be covered, depending on interest and what time allows. Some will be mentioned in a few words, and we may spend some time with others. * find that file with complex criteria and output formatting: find * Run a quick script: perl -e and perl -pi -e * Resize (or create) a file: truncate * Fake a file's modification time: touch * Quick binary dump: hexdump -C * What's in that executable? ldd / objdump (disassembly) * Create a custom timestamp: date (with formatting) * Fetch that file from www: wget * Internet plumbing: nc / redirecting to /dev/tcp * Using ssh for port forwaring (fake your world position) * Check that you're not running out of inodes: du -i * Check up your processes: ps aux / pstree * Who's opening which files? lsof / strace * What ports are open? netstat -a -n * Munching a lot of text: cat / tac/ head / tail -f / sort / sort -n (together with du -s) * What's that file? file / identify / stat + perl's stat * Mounting an file image: fdisk -fu / mount -o loop * Convert PS to PDF: ps2pdf * pulseaudio utils: pulseaudio -k / -D + pacmd * Zenity: Plain GUI from the command line * Restore screen settings (set by mplayer): xvattr * Open a GUI explorer on the current directory: nautilus * View images on the current directory: gthumb = We meet in Taub building, room 6. For instructions see: http://www.haifux.org/where.html Attendance is free, and you are all invited! == Future lectures: 04/02/13 Bitcoin: Meni Rosenfeld == We are always interested in hearing your talks and ideas. If you wish to give a talk, hold a discussion, or just plan some event haifux might be interested in, please contact us at webmas...@haifux.org -- Web: http://www.billauer.co.il ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
[Haifux] Please upvote and add a comment for http://www.haifux.org/ on Stumble Upon
Hi all, Stumble Upon is a WWW service that allows you to recommend sites and individual pages to other people, comment on them, and to find such new and interesting pages on the web. Haifux has a page for it at: * http://www.stumbleupon.com/content/1Z4hjL I recently upvoted it, and commented on it, and you should too. Here are some related resources: * http://en.wikipedia.org/wiki/StumbleUpon * https://addons.mozilla.org/en-us/firefox/addon/stumbleupon/ - Firefox addon. * http://www.stumbleupon.com/blog/su_chrome_extension/ - Google Chromium/Chrome extension. * http://www.stumbleupon.com/home - home page. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Funny Anti-Terrorism Story - http://shlom.in/enemy Chuck Norris does not code; when he sits at a computer, it just does whatever he wants. — Kattana on Freenode’s #perl6 . Please reply to list if it's a mailing list post - http://shlom.in/reply . ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] Please upvote and add a comment for http://www.haifux.org/ on Stumble Upon
voting is cool, how about flatter ? On Sat, Jan 19, 2013 at 6:19 PM, Shlomi Fish shlo...@shlomifish.org wrote: Hi all, Stumble Upon is a WWW service that allows you to recommend sites and individual pages to other people, comment on them, and to find such new and interesting pages on the web. Haifux has a page for it at: * http://www.stumbleupon.com/content/1Z4hjL I recently upvoted it, and commented on it, and you should too. Here are some related resources: * http://en.wikipedia.org/wiki/StumbleUpon * https://addons.mozilla.org/en-us/firefox/addon/stumbleupon/ - Firefox addon. * http://www.stumbleupon.com/blog/su_chrome_extension/ - Google Chromium/Chrome extension. * http://www.stumbleupon.com/home - home page. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Funny Anti-Terrorism Story - http://shlom.in/enemy Chuck Norris does not code; when he sits at a computer, it just does whatever he wants. — Kattana on Freenode’s #perl6 . Please reply to list if it's a mailing list post - http://shlom.in/reply . ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux -- Maxim Kovgan ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] Please upvote and add a comment for http://www.haifux.org/ on Stumble Upon
Sorry, I meant flattr.com micropayments. On Sat, Jan 19, 2013 at 6:24 PM, Maxim Kovgan kovg...@gmail.com wrote: voting is cool, how about flatter ? On Sat, Jan 19, 2013 at 6:19 PM, Shlomi Fish shlo...@shlomifish.orgwrote: Hi all, Stumble Upon is a WWW service that allows you to recommend sites and individual pages to other people, comment on them, and to find such new and interesting pages on the web. Haifux has a page for it at: * http://www.stumbleupon.com/content/1Z4hjL I recently upvoted it, and commented on it, and you should too. Here are some related resources: * http://en.wikipedia.org/wiki/StumbleUpon * https://addons.mozilla.org/en-us/firefox/addon/stumbleupon/ - Firefox addon. * http://www.stumbleupon.com/blog/su_chrome_extension/ - Google Chromium/Chrome extension. * http://www.stumbleupon.com/home - home page. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Funny Anti-Terrorism Story - http://shlom.in/enemy Chuck Norris does not code; when he sits at a computer, it just does whatever he wants. — Kattana on Freenode’s #perl6 . Please reply to list if it's a mailing list post - http://shlom.in/reply. ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux -- Maxim Kovgan -- Maxim Kovgan ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] Please upvote and add a comment for http://www.haifux.org/ on Stumble Upon
Haifux is not an economic entity, I don't see how we can collect payments legally. However, Starting 2013 we are no longer hosted for free by hamakor, due to surprising DNS changes that kept happening there. Currently, we are hosted by a service that costs about 35$/year. Eli already pays for the domain haifux.org. Eli volunteered to pay this sum even if nobody else does, but I think we should divide the costs among us, if only for the feeling of a mutual deed. It does not have to be divided equally, we are not going to set up a collection system, but something is better than nothing. On Sat, Jan 19, 2013 at 6:24 PM, Maxim Kovgan kovg...@gmail.com wrote: Sorry, I meant flattr.com micropayments. On Sat, Jan 19, 2013 at 6:24 PM, Maxim Kovgan kovg...@gmail.com wrote: voting is cool, how about flatter ? On Sat, Jan 19, 2013 at 6:19 PM, Shlomi Fish shlo...@shlomifish.orgwrote: Hi all, Stumble Upon is a WWW service that allows you to recommend sites and individual pages to other people, comment on them, and to find such new and interesting pages on the web. Haifux has a page for it at: * http://www.stumbleupon.com/content/1Z4hjL I recently upvoted it, and commented on it, and you should too. Here are some related resources: * http://en.wikipedia.org/wiki/StumbleUpon * https://addons.mozilla.org/en-us/firefox/addon/stumbleupon/ - Firefox addon. * http://www.stumbleupon.com/blog/su_chrome_extension/ - Google Chromium/Chrome extension. * http://www.stumbleupon.com/home - home page. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Funny Anti-Terrorism Story - http://shlom.in/enemy Chuck Norris does not code; when he sits at a computer, it just does whatever he wants. — Kattana on Freenode’s #perl6 . Please reply to list if it's a mailing list post - http://shlom.in/reply. ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux -- Maxim Kovgan -- Maxim Kovgan ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux -- Orna Agmon Ben-Yehuda. http://ladypine.org ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] [HAIFUX LECTURE] Command-line utilities: Tips and tricks -- Eli Billauer
Hi Eli, some nitpicks. On Sat, 19 Jan 2013 18:01:51 +0200 Eli Billauer e...@billauer.co.il wrote: On Monday, January 21st at 18:30, Haifux will gather to hear a talk by Eli Billauer: Command-line utilities: Tips and tricks Abstract Command-line utilities is the real power of a Linux computer, and yet there's always a few useful utilities that even an experienced Linux user doesn't know about. This meeting is dedicated to going through several random utilities, some of which are less known, others are known but have surprising possibilities. The range goes from things as simple as using touch to fake a modification date to using ssh for surfing the web (with your browser) as if your computer was in another country. No previous knowledge is required. Even though newbies will gain the most of this meeting, there is also room for those more familiar with the shell prompt. Those who want to take the stand for a few minutes to talk about a utility are welcome, of course. There will be no slides during this meetings, just a shell window for demonstrations. This is a list of topics that may or may not be covered, depending on interest and what time allows. Some will be mentioned in a few words, and we may spend some time with others. * find that file with complex criteria and output formatting: find * Run a quick script: perl -e and perl -pi -e * Resize (or create) a file: truncate * Fake a file's modification time: touch * Quick binary dump: hexdump -C * What's in that executable? ldd / objdump (disassembly) * Create a custom timestamp: date (with formatting) * Fetch that file from www: wget * Internet plumbing: nc / redirecting to /dev/tcp * Using ssh for port forwaring (fake your world position) * Check that you're not running out of inodes: du -i You probably mean df -i instead of du -i. * Check up your processes: ps aux / pstree * Who's opening which files? lsof / strace * What ports are open? netstat -a -n * Munching a lot of text: cat / tac/ head / tail -f / sort / sort -n (together with du -s) * What's that file? file / identify / stat + perl's stat * Mounting an file image: fdisk -fu / mount -o loop * Convert PS to PDF: ps2pdf * pulseaudio utils: pulseaudio -k / -D + pacmd * Zenity: Plain GUI from the command line * Restore screen settings (set by mplayer): xvattr * Open a GUI explorer on the current directory: nautilus On KDE the konqueror, dolphin, and kfmclient commands are also useful for it. XFCE has Thunar for that (but I don't like it). * View images on the current directory: gthumb There's also gwenview (which is a KDE app), which starts kinda slowly, and fotoxx is also nice - http://www.kornelix.com/fotoxx.html . Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Stop Using MSIE - http://www.shlomifish.org/no-ie/ To err is human; to apologise — divine. Please reply to list if it's a mailing list post - http://shlom.in/reply . ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] Please upvote and add a comment for http://www.haifux.org/ on Stumble Upon
On 01/19/2013 06:30 PM, Orna Agmon Ben-Yehuda wrote: Eli volunteered to pay this sum even if nobody else does, but I think we should divide the costs among us, if only for the feeling of a mutual deed. It does not have to be divided equally, we are not going to set up a collection system, but something is better than nothing. Thanks for the offer, but the more I think about it, $45/year is not a sum that is worth the fuss. I mean, the accumulating annual fuel expenses for showing up to the meetings are in the same order of magnitude. Besides, I saved some 300 NIS incidentally lately, on a completely unrelated matter, so let's say it evens out, at least for this year. Eli ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] Please upvote and add a comment for http://www.haifux.org/ on Stumble Upon
How one presents a foundation expenses paid by a private person in the annual report ? If there is a bank account, the only thing to add to that is to print the receipt/invoice, and add a line. Is it more complicated ? If not, I'd think of funds raising for a project (h/w purchase, for example): it would be legally feasible. otherwise - a real fuss. On Sat, Jan 19, 2013 at 6:42 PM, Eli Billauer e...@billauer.co.il wrote: On 01/19/2013 06:30 PM, Orna Agmon Ben-Yehuda wrote: Eli volunteered to pay this sum even if nobody else does, but I think we should divide the costs among us, if only for the feeling of a mutual deed. It does not have to be divided equally, we are not going to set up a collection system, but something is better than nothing. Thanks for the offer, but the more I think about it, $45/year is not a sum that is worth the fuss. I mean, the accumulating annual fuel expenses for showing up to the meetings are in the same order of magnitude. Besides, I saved some 300 NIS incidentally lately, on a completely unrelated matter, so let's say it evens out, at least for this year. Eli -- Maxim Kovgan ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] Please upvote and add a comment for http://www.haifux.org/ on Stumble Upon
We do not have any annual report. To follow the law to the letter, Eli would have had to give each donor a receipt. And pay VAT. And increase his circulation. This is why we set up hamakor to begin with - to have an economic entity for things like August Penguin, and to represent us officially (e.g., in the knesset meetings). But the current board is quite different from the people who founded hamakor. And we just made the ultimate move to be separated from the current Hamakor, since we have been having trouble collaborating with their current board for a while now, even at the level of sharing a virtual machine. BTW, there is no hardware to purchase - it is something like a virtual machine. On Sat, Jan 19, 2013 at 8:42 PM, Maxim Kovgan kovg...@gmail.com wrote: How one presents a foundation expenses paid by a private person in the annual report ? If there is a bank account, the only thing to add to that is to print the receipt/invoice, and add a line. Is it more complicated ? If not, I'd think of funds raising for a project (h/w purchase, for example): it would be legally feasible. otherwise - a real fuss. On Sat, Jan 19, 2013 at 6:42 PM, Eli Billauer e...@billauer.co.il wrote: On 01/19/2013 06:30 PM, Orna Agmon Ben-Yehuda wrote: Eli volunteered to pay this sum even if nobody else does, but I think we should divide the costs among us, if only for the feeling of a mutual deed. It does not have to be divided equally, we are not going to set up a collection system, but something is better than nothing. Thanks for the offer, but the more I think about it, $45/year is not a sum that is worth the fuss. I mean, the accumulating annual fuel expenses for showing up to the meetings are in the same order of magnitude. Besides, I saved some 300 NIS incidentally lately, on a completely unrelated matter, so let's say it evens out, at least for this year. Eli -- Maxim Kovgan -- Orna Agmon Ben-Yehuda. http://ladypine.org ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] [HAIFUX LECTURE] Command-line utilities: Tips and tricks -- Eli Billauer
Whats in that executable, you can add the utility strings. strings filename. wget, if you can give more complex flags like how to overcome cookies, it will be nice. ltrace is also useful (library trace) On Sat, Jan 19, 2013 at 6:01 PM, Eli Billauer e...@billauer.co.il wrote: On Monday, January 21st at 18:30, Haifux will gather to hear a talk by Eli Billauer: Command-line utilities: Tips and tricks Abstract Command-line utilities is the real power of a Linux computer, and yet there's always a few useful utilities that even an experienced Linux user doesn't know about. This meeting is dedicated to going through several random utilities, some of which are less known, others are known but have surprising possibilities. The range goes from things as simple as using touch to fake a modification date to using ssh for surfing the web (with your browser) as if your computer was in another country. No previous knowledge is required. Even though newbies will gain the most of this meeting, there is also room for those more familiar with the shell prompt. Those who want to take the stand for a few minutes to talk about a utility are welcome, of course. There will be no slides during this meetings, just a shell window for demonstrations. This is a list of topics that may or may not be covered, depending on interest and what time allows. Some will be mentioned in a few words, and we may spend some time with others. * find that file with complex criteria and output formatting: find * Run a quick script: perl -e and perl -pi -e * Resize (or create) a file: truncate * Fake a file's modification time: touch * Quick binary dump: hexdump -C * What's in that executable? ldd / objdump (disassembly) * Create a custom timestamp: date (with formatting) * Fetch that file from www: wget * Internet plumbing: nc / redirecting to /dev/tcp * Using ssh for port forwaring (fake your world position) * Check that you're not running out of inodes: du -i * Check up your processes: ps aux / pstree * Who's opening which files? lsof / strace * What ports are open? netstat -a -n * Munching a lot of text: cat / tac/ head / tail -f / sort / sort -n (together with du -s) * What's that file? file / identify / stat + perl's stat * Mounting an file image: fdisk -fu / mount -o loop * Convert PS to PDF: ps2pdf * pulseaudio utils: pulseaudio -k / -D + pacmd * Zenity: Plain GUI from the command line * Restore screen settings (set by mplayer): xvattr * Open a GUI explorer on the current directory: nautilus * View images on the current directory: gthumb = We meet in Taub building, room 6. For instructions see: http://www.haifux.org/where.html Attendance is free, and you are all invited! == Future lectures: 04/02/13 Bitcoin: Meni Rosenfeld == We are always interested in hearing your talks and ideas. If you wish to give a talk, hold a discussion, or just plan some event haifux might be interested in, please contact us at webmas...@haifux.org -- Web: http://www.billauer.co.il ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux
Re: [Haifux] [HAIFUX LECTURE] Command-line utilities: Tips and tricks -- Eli Billauer
Thanks. I've added "strings" and please remind me to say a work about cookies and wget. As for ltrace, I've never actually used it, but it's so simple that I'll relate to it too. Eli On 01/19/2013 10:38 PM, Sorana Fraier wrote: Whats in that executable, you can add the utility strings. strings filename. wget, if you can give more complex flags like how to overcome cookies, it will be nice. ltrace is also useful (library trace) -- Web: http://www.billauer.co.il ___ Haifux mailing list Haifux@haifux.org http://haifux.org/mailman/listinfo/haifux