≡ Menu

Programming Tutorials and HowTos

Programming related tutorials, topics, howtos, tips, and hacks under Linux, OS X, *BSD and Unix like operating systems with special focus on sys admin/devops tasks ( rss feed ).

HowTo: Compile And Run a C/C++ Code In Linux

[icon type="linux"]I am a new Linux user and student who used to write C or C++ programs on MS-Windows. Now, I am using Ubuntu Linux. How can I compile a C or C++ program on Linux operating systems using bash Terminal application?

{ 18 comments }

Python: Get Today’s Current Date and Time

[icon type="python"]How do I find out the current date and time in Python? What is the module or function I need to use to get current time or date in Python programming language?

{ 9 comments }

HowTo: Python Convert a String Into Integer

[icon type="python"]How do I convert a string such as x='12345' to an integer (int) under Python programming language?

{ 1 comment }

Linux: Set OR Change The Library Path

I've compile and installed a library at /usr/local/lib/libapp2.so -> libapp2.so.1.4.3. How do I set the Library path under Linux operating systems?

{ 3 comments }

How do I find out the size of the bss, text segment and data segment for each object or binary file under Linux operating systems?

{ 2 comments }

gedit: Add Python / C++ Autocomplete Support

How do I add Autocomplete support to gedit text editor under Linux Gnome desktop operating systems?

{ 12 comments }

UNIX Get An Alert When Disk Is Full

I want to get an alert when my disk is full under UNIX and Mac OS X? How do I set a a specified threshold and run the script via cron?

{ 28 comments }