[Haifux] [HAIFUX LECTURE] Command-line utilities: Tips and tricks -- Eli Billauer

Sorana Fraier sf10095 at gmail.com
Sat Jan 19 23:38:20 MSK 2013


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 <eli at 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 webmaster at haifux.org
>
> --
> Web: http://www.billauer.co.il
>
> _______________________________________________
> Haifux mailing list
> Haifux at haifux.org
> http://haifux.org/mailman/listinfo/haifux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://haifux.org/pipermail/haifux/attachments/20130119/95e378e4/attachment.html 


More information about the Haifux mailing list