Sponsored Content
Top Forums UNIX for Beginners Questions & Answers What is the best way to remember UNIX / Linux Commands? Post 303012905 by hicksd8 on Monday 12th of February 2018 09:59:25 AM
Old 02-12-2018
You will soon (with use) get to know all the simple commands that are used every day. A Unix book for beginners is a good start. What is more difficult are the many various 'switches' that can be used on command lines which vary between different Unix/Linux OS's, and for this purpose, unlike OS's like Windows, the user manual is always online by using the man command.

e.g.

Code:
man ls

Like all of us, you will never remember all the possible switches for a particular command but you can always refer to the user manual on-screen. Great isn't it!!
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix commands in linux-red hat

hi, can i have a unix like environment where i can do things like chmod, shell scripts and etc.. in redhat instead of the GUI that redhat ofters? (4 Replies)
Discussion started by: yls177
4 Replies

2. Shell Programming and Scripting

AWK--does anyone remember it

I am trying to run awk on a 55 page Word document. I wanted to delete every occurrence of <company>, <script>, </scripts> from the file then cut & paste all of the appropriate fields to an Excel spreadsheet. Also the code is suppose to replace the dates in a new format such as "xxxx-xx-xx" ... (2 Replies)
Discussion started by: cnitadesigner
2 Replies

3. News, Links, Events and Announcements

All Linux and Unix commands Links

http://www.computerhope.com/unix.htm http://www.linuxdevcenter.com/linux/cmd/ (0 Replies)
Discussion started by: devotedsinner
0 Replies

4. UNIX for Dummies Questions & Answers

Name 10 commands every Linux and Unix admin should know

I'm working on further developing my Unix skills and I'm just curious what some of the experienced admins out there would consider to be 10 essential commands every admin should know. (12 Replies)
Discussion started by: Arkitech
12 Replies

5. What is on Your Mind?

Most deadly commands on Unix/Linux !!

lets list the most deadly commands on Unix/Linux and what they do.... > sudo rm -rf / (27 Replies)
Discussion started by: Rahulpict
27 Replies

6. UNIX for Dummies Questions & Answers

Unix and Linux Commands

Hi All I have found that few basic commands in unix have the same syntax in linux as well. I need those commands which differ on Linux platform, with some more advanced options.. For example... awk, sed, tr ... and some more commands with advanced options. I am trying to search on the linux... (1 Reply)
Discussion started by: vee_789
1 Replies

7. What is on Your Mind?

Anyone remember this cute unix ad?

It showed a cleaning woman (probably in the evening, after most of the other employees had left work) happily typing commands on a dot matrix terminal (could've been a DEC LA120, IIRC) just because "unix is so easy to use, even a cleaning woman can use it!". If you know where to find a scanned... (2 Replies)
Discussion started by: mathiasbage
2 Replies
set_display_switch_mode(3alleg4)				  Allegro manual				  set_display_switch_mode(3alleg4)

NAME
set_display_switch_mode - Tells Allegro how the program handles background switching. SYNOPSIS
#include <allegro.h> int set_display_switch_mode(int mode); DESCRIPTION
Sets how the program should handle being switched into the background, if the user tabs away from it. Not all of the possible modes will be supported by every graphics driver on every platform. The available modes are: SWITCH_NONE Disables switching. This is the default in single-tasking systems like DOS. It may be supported on other platforms, but you should use it with caution, because your users won't be impressed if they want to switch away from your program, but you don't let them! SWITCH_PAUSE Pauses the program whenever it is in the background. Execution will be resumed as soon as the user switches back to it. This is the default in most fullscreen multitasking environments, for example the Linux console, but not under Windows. SWITCH_AMNESIA Like SWITCH_PAUSE, but this mode doesn't bother to remember the contents of video memory, so the screen, and any video bitmaps that you have created, will be erased after the user switches away and then back to your program. This is not a terribly useful mode to have, but it is the default for the fullscreen drivers under Windows because DirectDraw is too dumb to implement anything better. SWITCH_BACKGROUND The program will carry on running in the background, with the screen bitmap temporarily being pointed at a memory buffer for the fullscreen drivers. You must take special care when using this mode, because bad things will happen if the screen bitmap gets changed around when your program isn't expecting it (see below). SWITCH_BACKAMNESIA Like SWITCH_BACKGROUND, but this mode doesn't bother to remember the contents of video memory (see SWITCH_AMNESIA). It is again the only mode supported by the fullscreen drivers under Windows that lets the program keep running in the background. Note that you should be very careful when you are using graphics routines in the switching context: you must always call acquire_screen() before the start of any drawing code onto the screen and not release it until you are completely finished, because the automatic locking mechanism may not be good enough to work when the program runs in the background or has just been raised in the foreground. RETURN VALUE
Returns zero on success, invalidating at the same time all callbacks previously registered with set_display_switch_callback(). Returns -1 if the requested mode is not currently possible. SEE ALSO
set_display_switch_callback(3alleg4), get_display_switch_mode(3alleg4), exmidi(3alleg4), exswitch(3alleg4) Allegro version 4.4.2 set_display_switch_mode(3alleg4)
All times are GMT -4. The time now is 04:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy