473,388 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Calling all experts: Linux and Unix Tips and Tricks

Nepomuk
3,112 Expert 2GB
As Linux and the various flavours of Unix are slowly spreading into the world of personal computers, I thought we could collect a few Tips and Tricks here to help each other making the best out of our distributions!

Ideally any Tips posted here should be available for several distributions, but we won't reject any that aren't. :-)

Please state, which distribution(s) the tips were tested with.

I'll start with posting some of my favourites.

*EDIT: For more extensive Tips, check the Linux and Unix articles section
Nov 18 '08 #1
20 12282
Nepomuk
3,112 Expert 2GB
Colours in the console

bash is one of the most popular shells in the Linux and Unix world and many distributions use it as their standard.

Often however, it's just black and white. But, with a little trick we can make it nice and colourful.

We'll have to edit the file ~/.bashrc - you can use your favourite editor for that (I normally use vim, but nano, gedit or emacs or example will do the job just as well). I'll show how to do the job with vim. Type
Expand|Select|Wrap|Line Numbers
  1. vim ~/.bashrc
in a console window. Normally such a file will already exist, so you'll see some text straight away.
First of all, check if you have these (or similar) lines somewhere, by scrolling down with the arrow keys:
Expand|Select|Wrap|Line Numbers
  1. case "$TERM" in
  2. xterm-color)
  3.     PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
  4.     ;;
  5. *)
  6.     PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
  7.     ;;
  8. esac
  9.  
If so, we'll have to comment it out. To do so, first of all press the key i on your keyboard to start editing mode. Then go to the beginning of each of those lines and enter a # symbol.

Next, we'll add a line underneath. So, go underneath the lines you just edited, press Enter to start a new line and enter the following text:
Expand|Select|Wrap|Line Numbers
  1. PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
  2.  
Now press the Esc key and type
Expand|Select|Wrap|Line Numbers
  1. :wq
to save and exit. To test the settings you just made, type
Expand|Select|Wrap|Line Numbers
  1. bash
now - and voilą, the shell shows colours!


This tip was tested under Ubuntu, Debian and Fedora.
Nov 18 '08 #2
Nepomuk
3,112 Expert 2GB
Creating aliases for bash

If you work in bash a lot (or in any other shell for that matter, but we'll concentrate on bash), there might be commands you call again and again and again. Especially if these are relatively long, it can be a good idea to create shortcuts for them. A great option here is using aliases. Let me give you two examples:
  • You want to list more details with ls and preferably do so in colour. The normal command would be
    Expand|Select|Wrap|Line Numbers
    1. ls --color=auto -l
    But we'll define an alias for that called ll, which makes life much easier.
  • You connect to a certain server via ssh frequently and don't want to call
    Expand|Select|Wrap|Line Numbers
    1. ssh -X 123.456.78.9
    every time. No problem - we'll define an alias (say tux) to do that.
OK, so how do we do this? First of all, let's create a file ~/.bash_aliases with the command
Expand|Select|Wrap|Line Numbers
  1. vim ~/.bash_aliases
Now press the i key and type the following lines:
Expand|Select|Wrap|Line Numbers
  1. ## some ls aliases
  2. alias ls='ls --color=auto'
  3. alias la='ls -A'
  4. alias lh='ls -l -h'
  5. alias ll='ls -l'
  6. alias l='ls -CF'
  7.  
  8. ## some other aliases
  9. alias tux='ssh -X 123.456.78.9'
  10.  
OK, so we've defined those now. Finish editing by pressing the Esc key and save and quit by writing
Expand|Select|Wrap|Line Numbers
  1. :wq
and hitting the Enter button.

Now we'll just have to let bash know about those aliases. Like before, we'll edit a file for that:
Expand|Select|Wrap|Line Numbers
  1. vim ~/.bashrc
Go to the bottom of that file, press i to start editing and in new lines write:
Expand|Select|Wrap|Line Numbers
  1. if [ -f ~/.bash_aliases ]; then
  2.     . ~/.bash_aliases
  3. fi
  4.  
Now, press Esc, type :wq, hit Enter and run
Expand|Select|Wrap|Line Numbers
  1. bash
Your new aliases should work now - just type
Expand|Select|Wrap|Line Numbers
  1. ll #that's two small 'L's
for example!


This Tip was tested under Ubuntu, Debian and Fedora
Nov 18 '08 #3
AmberJain
884 Expert 512MB
subscribing .................................................. .................:)
Nov 18 '08 #4
Nepomuk
3,112 Expert 2GB
Having a personal welcome in bash

When you start a new terminal window, you will get a little welcome message like
Linux tux 2.6.24-my-superkernel #1 SMP Sun Oct 31 24:00:01 UTC 2008 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
This can become pretty boring, so we'll change it. How? Now that's easy!

You'll need to work with root privileges, so either use sudo if installed or change to your root account with su.

Now, you'll want to edit the file /etc/motd - I'll be using vim again:
Expand|Select|Wrap|Line Numbers
  1. sudo vim /etc/motd
Keep the d key pressed to delete everything first (the command dd means "delete this line"), then press the i key to start editing. Enter the text you want it so say every time now. When finished, quit editing mode by hitting Esc, then save and close the file with
Expand|Select|Wrap|Line Numbers
  1. :wq
When you start a terminal window next time, it should show you your new message! :-)


Should work on any Linux distribution.


@ambr: There's a "Subscribe" link in the first post, so you don't have to post something to subscribe any more.
Nov 18 '08 #5
Nepomuk
3,112 Expert 2GB
Installing Google Chrome (BETA) under Linux

Not long ago, Google presented it's own webbrowser: Google Chrome. It was praised quite a lot, but one of the problems with it was, that it's not officially available for anything but Windows yet. However, there is a project to get it running on Linux and Mac OS X. It's not perfect, but it works. Here's how to install it:
  1. Go to http://www.codeweavers.com/services/ports/chromium and download the newest version for your system.
  2. Install the file you just downloaded. If double clicking on it doesn't work, try this:
    • On Debian or any deb-based system (like Debian, Ubuntu or Knoppix), open a console and direct to where the download is saved. Then enter
      Expand|Select|Wrap|Line Numbers
      1. sudo dpkg -i cxchromium_*
    • On a rpm-based system (e.g. Fedora, openSuSE, Mandrivia,...), open a console and direct to where the download is saved. Switch to your root account with
      Expand|Select|Wrap|Line Numbers
      1. su
      Then enter
      Expand|Select|Wrap|Line Numbers
      1. rpm -i cxchromium_*
    • On any other type of Linux distro, open a console and direct to where the download is saved. Switch to your root account with
      Expand|Select|Wrap|Line Numbers
      1. su
      . Then enter
      Expand|Select|Wrap|Line Numbers
      1. chmod +x cxchromium_*
      2. ./cxchromium_*
    • On a Mac, just drag the .dmg file into your Applications folder
  3. Either start Chrome via an icon (if you can find one) or use the command
    Expand|Select|Wrap|Line Numbers
    1. chromium
    in a console window.
  4. Enjoy!
I admit, it's not that fast yet, as this is actually a windows build using wine (so you may have to install wine too - check your distribution to find out how to do that), but it works!


Tested on Ubuntu 8.04, but should work on most other systems too.


NOTE: If you're interested in a real version for Linux, you can register to receive information as soon as it's available here or here for Mac versions.
Nov 18 '08 #6
Nepomuk
3,112 Expert 2GB
Useful key combinations

In the command line:
  • If you've started a command in the command and realise you don't want to complete it (e.g. copying loads of files to the wrong destination), there's a simple method to stop the command: Crtl + C
  • If your screen is full of old output, you can easily clear it with Crtl + L
  • To log out in a console, press Crtl + d. (Note: If this is a terminal emulator in your graphical environment, it will probably exit.)
  • To jump within one command in the command line, use Crtl + A to jump to the beginning and Crtl + E to jump to the end.
In the graphical environment:
  • You want to switch to a console quickly? Maybe even without login on to your graphical environment? Easy: Use Crtl + Alt + F1 to Crtl + Alt + F4 (and sometimes more) to get a basic console. To change back, it's normally Crtl + Alt + F5, Crtl + Alt + F7 or Crtl + Alt + F9
  • Your desktop environment has crashed? Doesn't happen very often, but it happens. The solution? Restart the X-Server with Crtl + Alt + Backspace
Hint: Sometimes when talking about key combinations on Linux, you read about the Super key. This is normally the Windows key of your keyboard.


Tested on Ubuntu, but should work on any Linux distribution.
Nov 18 '08 #7
Nepomuk
3,112 Expert 2GB
Surfing the web from the command line

When we think of surfing the internet, it's usually combined with a graphical browser like Firefox, Opera, Konqueror, etc. However in some cases, you don't need that much or can't use a graphical interface. Does that mean, you can't surf the internet?

No, it doesn't. There are actually some pretty good command line browsers available. My favourite is w3m, but lynx and links are also quite popular choices.

So, how does this work? Basically, you just enter
Expand|Select|Wrap|Line Numbers
  1. w3m www.bytes.com
to get here and then use your keyboard to navigate. To get help, press Shift+H. Some of my most used commands are:
  • u : Show the address a link points to
  • Crtl+t : Opens a link in a new tab
  • { and } : Switch between your tabs
  • Shift+B : Go back in the browser history
  • Shift+U : Enter an URL to browse to
  • q : Quit w3m
  • Shift+Q : Quit w3m without asking
Another tip: starting w3m with the option -F makes w3m automatically render frames. As I like it to do so automatically, I created an alias
Expand|Select|Wrap|Line Numbers
  1. alias w3m='w3m -F'
(See one of the earlier posts to find out about aliases.)


This Tip was tested on Ubuntu and Debian, but should work on any Linux distribution.
Nov 25 '08 #8
Nepomuk
3,112 Expert 2GB
Downloading from the command line

When you download something, you either do so via a browser or a programmed designed for downloading. I've already talked about command line browsers, now I'll talk about a command line downloader: wget

wget works pretty easily: simply type something like
Expand|Select|Wrap|Line Numbers
  1. wget http://mirrors.us.kernel.org/ubuntu-releases/intrepid/ubuntu-8.10-desktop-i386.iso
to download an Ubuntu 8.10 ISO for example. But wget can do much more than that.

For example, it can resume downloads. Say you started downloading that Ubuntu ISO, but had to cancel the download. Then you can continue it with
Expand|Select|Wrap|Line Numbers
  1. wget -c http://mirrors.us.kernel.org/ubuntu-releases/intrepid/ubuntu-8.10-desktop-i386.iso
It's that simple.

Of course, there are much more functions as well - check man wget to find out more.


This Tip was tested on Ubuntu and Debian, but should work on any distribution.
Nov 25 '08 #9
Nepomuk
3,112 Expert 2GB
Viewing text files

If you want to view a text file in the command line, first choice is cat:
Expand|Select|Wrap|Line Numbers
  1. cat textfile
But this isn't always the best choice.

Say, you have a very long file and want to look at it from top to bottom. In that case, have a look at less:
Expand|Select|Wrap|Line Numbers
  1. less textfile
You can quit viewing by pressing q.

If you only want to view the first 15 lines of a file, head would be the tool of choice:
Expand|Select|Wrap|Line Numbers
  1. head -N 15 textfile
Leaving out the -n 15 will show the first 10 lines of the textfile.

Now, you can also view the last 15 lines of a file of course - try tail:
Expand|Select|Wrap|Line Numbers
  1. tail -n 15 textfile
The options are similar to those of head. However, there is a further very useful option:
Expand|Select|Wrap|Line Numbers
  1. tail -n 15 -f textfile
will show any updates to the bottom of the file too.

Of course, you can combine these commands. For example
Expand|Select|Wrap|Line Numbers
  1. head -n 100 textfile | tail -n 50 - | less
will show you the lines 50 - 100 and allow you to scroll through them.


These Tips were tested on Ubuntu, but should work on any distribution.
Nov 25 '08 #10
Nepomuk
3,112 Expert 2GB
Showing and editing system time

Basically any modern desktop environment will offer a clock and calendar of some kind, but you're not limited to those - you can get those in the command line too!
  • Current time and date
    To show the current date and time as saved by the OS, call
    Expand|Select|Wrap|Line Numbers
    1. date
    To set that date, use something like
    Expand|Select|Wrap|Line Numbers
    1. date -s "Wed Dez 03 21:38:59 GMT+1 2008"
    (You'll have to be logged in as a superuser for this to work.)
    This will set the date, but that setting will disappear with a system restart. To save it, you'll have to use the command
    Expand|Select|Wrap|Line Numbers
    1. hwclock --utc --systohc
    which will set the hardware clock to whatever the system clock is currently set to.

  • Calendar
    By simply entering the command
    Expand|Select|Wrap|Line Numbers
    1. cal
    or
    Expand|Select|Wrap|Line Numbers
    1. ncal
    you'll see a calendar, displaying the current date. For the calendar of a complete year, use
    Expand|Select|Wrap|Line Numbers
    1. cal 2008
    (or whichever year it's supposed to be.) You can also display a different month than the current one:
    Expand|Select|Wrap|Line Numbers
    1. cal may 2008
    If you want to see the previous and the following month too, try
    Expand|Select|Wrap|Line Numbers
    1. cal -3
    If you want Monday to be the first day of the week (as opposed to Sunday), use
    Expand|Select|Wrap|Line Numbers
    1. cal -m
    The date of easter for the current year can be called with
    Expand|Select|Wrap|Line Numbers
    1. ncal -e
    for western churches or
    Expand|Select|Wrap|Line Numbers
    1. cal -o
    for Greek and Russian Orthodox Churches
    If you want to know the number of the week, use
    Expand|Select|Wrap|Line Numbers
    1. ncal -w
Note, that all dates are saved and interpreted as after the 1st Jan 1970, 00:00:00, so if you want to use a date prior to that, you'll have to use an alternative method.


These Tips were tested on Ubuntu, but should work on any distribution.
Dec 3 '08 #11
Nepomuk
3,112 Expert 2GB
Comparing files

Sometimes, you want to compare two files and spot the differences. Of course, you can do that manually, but there's also the tool diff, which can automate this. Here's how you use it.

Say, you want to check what device name a usb pendrive gets. First of all, you make a list of the current devices:
Expand|Select|Wrap|Line Numbers
  1. ls /dev/* > before
Now, plug the device in and wait for a few seconds, so that the system can recognise the new device. Then run
Expand|Select|Wrap|Line Numbers
  1. ls /dev/* > after
You now have a list of the devices before and after plugging in your pendrive.
To compare the two, use
Expand|Select|Wrap|Line Numbers
  1. diff before after
The output will be something like this:
Expand|Select|Wrap|Line Numbers
  1. > /dev/sdd
  2. > /dev/sdd1
  3.  
So, the entries after ">" have been added in the "after" file. If you do it the other way round (diff after before), you'll get
Expand|Select|Wrap|Line Numbers
  1. < /dev/sdd
  2. < /dev/sdd1
  3.  
Here, the entries after "<" have been removed.

Of course, this tool can be very useful in other scenarios, especially programming.


This Tip was tested on Ubuntu, but should work on any distribution.
Dec 3 '08 #12
Nepomuk
3,112 Expert 2GB
Looking at running processes and stopping them

When you want to look at what processes are running, there are three main command line programs: ps, top and pgrep. Here's how to use them:
Expand|Select|Wrap|Line Numbers
  1. ps aux
This will list all running processes by all users. One interesting thing that we'll need later is the column PID.
Expand|Select|Wrap|Line Numbers
  1. top
This will display an updating screen which shows the processes that use up most CPU power with some further information.
Expand|Select|Wrap|Line Numbers
  1. pgrep -l -u username
This will list all processes that the user username is currently running, including their PIDs. If you want to filter for certain processes, you can use
Expand|Select|Wrap|Line Numbers
  1. pgrep -l bash
instead (to filter out everything containing the word bash). These can be combined of course:
Expand|Select|Wrap|Line Numbers
  1. pgrep -l -u username bash
If you want to close a process, you can use the commands kill and pkill for that. Here's how they are used:
Expand|Select|Wrap|Line Numbers
  1. kill pid
Now, that pid is the Process ID we noticed before. If you don't know the PID (or want to kill all processes with something specific in their names), use
Expand|Select|Wrap|Line Numbers
  1. pkill name
instead.

What both of these commands will do is send those processes a signal saying something like "Hey, please abort." However, if those processes have truly crashed, then that won't work. You should certainly try that first, but if the process doesn't shut down, use the following:
Expand|Select|Wrap|Line Numbers
  1. kill -9 pid
or
Expand|Select|Wrap|Line Numbers
  1. pkill -9 name
This sends a KILL signal, that can not be blocked.


This Tip was tested on Ubuntu, but should work on any distribution.
Dec 3 '08 #13
anijos
52
Alphabetical Directory of Linux Commands with Description

Linux Command Directory: Index
Dec 9 '08 #14
Nepomuk
3,112 Expert 2GB
Adding own scripts and binaries

Let's say, you wrote a little tool called myTool and the binary is saved in your home directory under ~/myTool/bin/ - you won't be able to run it if you're not in that directory or if you don't use the full path. This is because it isn't in the so called PATH variable. You can have a look at this PATH variable by calling
Expand|Select|Wrap|Line Numbers
  1. echo $PATH
in command line - it may look something like this:
Expand|Select|Wrap|Line Numbers
  1. /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/real/RealPlayer
The directories listed here and separated by colons (":") are those, that are in the PATH variable and that you can therefore call from anywhere.

There are two realistic ways to add a command to the PATH variable: Add that tool to a directory, which is already listed or add a directory to the list. If this tool should be available to everyone using the system, the first option is best. The directory /usr/bin should be the best choice here in most cases. So either copy your tool there, create a link or write a little script, that will call your tool.

If only you want to use your tool, add the directory it's in to the PATH directory. For the current session, this command should do fine:
Expand|Select|Wrap|Line Numbers
  1. export PATH=$PATH:/home/user/myTool/bin
If you want to have it available permanently however, write that line into the .bashrc file in your home directory.


This Tip was tested on Ubuntu using bash, but should work on any distribution that uses bash. The syntax may be different for other shells.
Jan 31 '09 #15
vl4kn0
5
logging on console
My first tip is about logging, especially logging system logs on 11. and 12. console like it is in gentoo. If we are using common linux logger syslog the way is add this lines to /etc/syslog.conf
Expand|Select|Wrap|Line Numbers
  1. # Log everything on tty12 
  2. *.*     /dev/tty12 
  3.  
  4. # Log kernel messages on tty11 
  5. kern.*  /dev/tty11
this lines says that syslog will log system logs to 12. console and all kernel logs to 11. console

Now we need restart syslog
Expand|Select|Wrap|Line Numbers
  1. /etc/init.d/syslogd restart
or
Expand|Select|Wrap|Line Numbers
  1. /etc/init.d/sysklog restart
it depends on distribution you are used.

we can view the console by pressing alt + F12 for system logs or alt + F11 for kernel logs, if we are in GUI we must press alt + ctrl + F11 or alt + ctrl + F12.
for return to GUI we press alt + F7 becouse default console for GUI is 7 ;)

advanced uninstall packages in slackware
if we want to remove some package on slackware we have to write whole name of package and it removes without asking. i solved this problem with very simple script. here it is:

Expand|Select|Wrap|Line Numbers
  1. #!/bin/bash
  2.  
  3. if [ -z $1 ]; then
  4.         echo "Missing arguments";
  5.         exit 0;
  6. fi
  7.  
  8. PKG_DIR=/var/log/packages
  9.  
  10. for ARG in $*; do
  11.         PACKAGES=`ls $PKG_DIR | grep $ARG`;
  12.         for PKG in $PACKAGES; do
  13.                 echo "Do you really want to remove $PKG (y|n) ?";
  14.                 read ANS;
  15.                 case $ANS in
  16.                 y) removepkg $PKG > /dev/null;
  17.                    echo "Package $PKG successful removed";
  18.                 ;;
  19.                 *) echo "Skipping $PKG...";
  20.                 ;;
  21.                 esac
  22.         done
  23. done
we write this into file for example rempkg, copy this to /usr/sbin and give execute bit.
Expand|Select|Wrap|Line Numbers
  1. cp rempkg /usr/sbin/rempkg && chmod +x /usr/sbin/rempkg
console resolulution
My last tip is about freebsd, I hope this topic isn't only for linux :)

I use freebsd but wihout x windows system and I don't like big resolution what is used by default. So I compiled vesa support into the kernel for better resolution.

first step what we need to do is change directory to /usr/src/sys/i386/conf architecture select which you use.
Expand|Select|Wrap|Line Numbers
  1. cd /usr/src/sys/i386/conf
then we copy old config to new file.
Expand|Select|Wrap|Line Numbers
  1. cp GENERIC VESAKERN
add this line to the new config
Expand|Select|Wrap|Line Numbers
  1. options      VESA 
  2. options      SC_PIXEL_MODE
save & exit

change directory to /usr/src and compile new kernel
Expand|Select|Wrap|Line Numbers
  1. make buildkernel KERNCONF=VESAKERN 
  2. make installkernel KERNCONF=VESAKERN
  3. reboot
after reboot we can show list of all resolutions by
Expand|Select|Wrap|Line Numbers
  1. vidcontrol -i mode
for change resolution run this command
Expand|Select|Wrap|Line Numbers
  1. vidcontrol  MODE_<NUMBER OF RESULUTION>
when we are definitely decided for resolution we can change it permanently by editing /etc/rc.conf and adding this lines
allscreens_flags="MODE_<NUMBER OF RESOLUTION>"
save & exit & reboot ;)

ps. I'm really sorry for my english but I'm not native english speaker so keep it in mind ;)

REGARDS,
vl4kn0
Feb 23 '09 #16
To run different window managers simultaneously

1) Take a new virtual console ( ctrl + alt + F1/F2/F3)

2) for X server Secession without window manager type "xinit -- :2"

3)from here we can run

a) "startkde" for KDE

b) "gnome-session" for GNOME
Jun 8 '09 #17
drhowarddrfine
7,435 Expert 4TB
Most or all of these tips also work in the BSDs

Linux is not BSD Unix or Solaris but they are in the same family and most, if not all, of the tips here will work in those operating systems, too.
Jun 8 '09 #18
Nepomuk
3,112 Expert 2GB
@drhowarddrfine
Thanks for that hint, I've changed the subject accordingly.

Greetings,
Nepomuk
Jun 9 '09 #19
Markus
6,050 Expert 4TB
Middle Mouse Button Auto-Scroll (Firefox)

I have one for you.

Coming from a long-time Windows background, I was very used to doing middle-button click and drag to scroll much quicker in Firefox. I was disappointed to find that this did not happen in Ubuntu. The fix is simple, though.

Navigate to about:config in Firefox (type that in your address bar, hit enter). Then search for 'autoScroll'. Double clicking the 'general.autoScroll' entry should change it's value from false to true. If not, you can manually edit it by right clicking the entry and then selecting 'toggle'.

Hey presto, you can now scrub through pages as quickly as you used to do!
Jun 11 '09 #20
your one line webserver

Expand|Select|Wrap|Line Numbers
  1. cat index.html | nc -l 80

to search for phrase from disk and replace back in (check if it works)

Expand|Select|Wrap|Line Numbers
  1. dd if=/dev/sda10 | sed 's/aaa/bbb/' | of=/dev/sda10
Aug 20 '09 #21

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Francesco Bochicchio | last post by:
Hi all, anybody knows if there is a (standard, portable) way to dinamically build a list of parameters to call a C function? Something like va_start & co, but to be used on the calling side? ...
48
by: Daniel Rudy | last post by:
Hello, On a x86 machine, what is the format of a pointer in C? I know for a fact that the x86 p-mode uses a /selector:offset/ notation where the selector is defined in either the GDT or LDT. ...
4
by: Gibby Koldenhof | last post by:
Hiya, I'm setting up some code in the spirit of Design Patterns, OOP, etc. All nice and well, it handles pretty much all OO style things and serves my purposes well. There's one last final...
18
by: John Friedland | last post by:
My problem: I need to call (from C code) an arbitrary C library function, but I don't know until runtime what the function name is, how many parameters are required, and what the parameters are. I...
0
by: travolta003 | last post by:
Windows XP tips and tricks. Learn how to bypass very common windows problems, speed up your system and make it more reliable with useful tips and tricks. http://windowsxpsp2pro.blogspot.com
0
by: travolta004 | last post by:
Windows XP tips and tricks. Learn how to bypass very common windows problems, speed up your system and make it more reliable with useful tips and tricks. http://windowsxpsp2pro.blogspot.com
68
bartonc
by: bartonc | last post by:
I've decide to compile a bunch of your favorite tips and tricks for the Articles section. I found a post yesterday by Chrisjc that is a perfect example. I copied his post over to create Dealing with...
2
bartonc
by: bartonc | last post by:
I've decide to compile a bunch of your favorite tips and tricks for the Articles section. Post your favorite tips and tricks here, in this thread, and I'll copy the best ones to a Tips and Tricks...
8
Frinavale
by: Frinavale | last post by:
Edit Many times we spend hours and hours trying to solve a problem. When we finally figure it out, we want to share it to keep others from suffering the same way! That's why we have this "Tips...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.