Tag Info

Hot answers tagged

18

Advanced Bash Scripting Guide from The Linux Documentation Project pages. (Also available as a PDF file if you prefer that). Recommended online resources for learning bash scripting How to learn your way through Linux’s shell General search tags: Stackoverflow: bash+scripting, bash+script Serverfault: bash+scripting, bash+script, etc Command Line Fu -- ...


17

I think that the similitude with biological system (from which the word virus has been taken from) is good. Like biological viruses causes the cells behavior to be subverted, computer viruses do the same with computer programs. They also have other similar behavior: both computer viruses and biological ones are self-replicant both can't live without an ...


15

I just saw this post on http://linux.byexamples.com/ Basically you use a simple one line awk script history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 A full explanation can be found at the link above. Example of out put on my machine is: ...


10

awk '{print $1}' ~/.bash_history | sort | uniq -c | sort -n The awk command will print the first string from ~/.bash_history (not showing command options or arguments), then sort will order all lines alphabetically, then "uniq -c" will remove duplicated lines (your typed commands) and count them, and the last sort will order your commands by the count ...


9

It might help to clarify your objective a bit further: Why do you want to learn Linux? What do you want to use Linux for? For example, do you want to be: a Linux power user? a Linux systems administrator? a Linux developer? From there you can pick a small project to work on e.g.: write a shell script. configure a service (e.g. Apache). fix a bug. ...


9

Ubuntu is the best given the amount of searchable Ubuntu content on the internet. If Google is your guru till you get one, then Ubuntu is the way to go. Having said that, i strongly advise using VirtualBox - so that you can test any of the distributions you want to inside your base distro. Since you want to learn command line operations, using ...


8

The system internals tools are excellent for this. You can download regmon free of charge and then you can see all the access that occurs in the registry. I learnt about how it all works by reading a book about Windows95 and the registry, but it should also be covered in Windows Internals what can I say but Mark Russinovich is a god when it comes to this ...


7

In my experience, you have to use it or lose it. The best programmers I know are the 'total geeks' who love programming. They write code of all sorts every day. That C# client might pay the bills, but when they go home they are writing expert systems or contributing to open source projects. There is some research that indicates it takes 10 years to ...


7

For a more general answer, enable "process accounting" on your system. You can get not just frequency of use, but aggregate CPU, memory, and I/O stats.


7

You can use the hash command in your terminal, which keeps a hash entry of every command that you use along with the number of hits and based on the hits you can sort them out and process. Check this article for more information.


7

Why it's possible: Von Neumann architecture The coolest virus: Backdoor : Reflections on Trusting Trust Some nice discussion on why malicious code is so difficult to detect: Rootkit Explain the importance of only executing trusted code, but make sure to give some explanation as to why it's OK to execute arbitrary JavaScript for example in a browser.


6

You should really specify what OS your young friend will be using, to help responders. Given the remark about lack of funds, I assume your young friend will use free software instead of paying M$ for a proprietary system. Under gnu/linux there is a plethora of such software. Just three examples amongst the many others: ktouch klavaro nlkt EDIT: as you ...


6

I highly recommend TCP/IP Illustrated, Volume 1 by Stevens. Around here, this is the go to book when it comes to anything IP related, and many folks refer to it as The Bible.


6

Read DNS For Rocket Scientists This is an open source guide, so its free; and it will teach you everything you need to know about how DNS Address translation works... and then some. For more of the ins-outs of networking and how IP addresses are assigned (think, anything on the local end of the router/gateway) check out Head First Networking. I admit, the ...


6

I switched to another free and open source SRS called Anki based on this blog entry: Six reasons why Anki beats Mnemosyne. Reasons I personally switched to Anki: Can study from web-based client or mobile device like iPhone/Windows Mobile by syncing via free online service. Study history is also synced! It is possible to link directly to any URL with the ...


6

I find Greg's Bash Guide and Bash FAQ very helpful, even for beginners. Also, I remember learning bash from Daniel Robbins' series, Bash by example, which is a very good read in my opinion.


5

There's an online Dvorak typing tutor. It basically just follows you through repeating patterns of letters and gradually introduces more letters and builds up words from the letters you've learnt so far. (Just click on "Lessons" in the menu along the top, and select which lesson you want to start with)


5

http://www.apple.com/support/switch101/


5

One way to get familiar with the command line is to run a personal website on your own server. Set up apache, set up ssh. Set up a firewall from the command line. Learn to read the error logs and access logs using the command line. Learn to make backups using rsync. Web + server admin gives you a lot of practical problems that can be effectively solved with ...


5

The word "virus" helps. Most genetic material is beneficiary, but some is dangerous. Similarly, most computer software is written for the benefit of the user, but a computer virus is not. Note that I am using the colloquial usage of the word "virus" to refer to all malware. When describing things yourself, be sure to use the term malware to refer to ...


4

Everyone who uses a computer knows what computer viruses can do (like steal files or cause physical damage, especially because some viruses have already caused physical damage), but not many know how they do it. I think this is what you are getting at with your question. It also is worth mentioning that a computer has no awareness (yet, for those ...


4

Most computer programs are designed to help you. They edit documents, calculate numbers, or play games. Computer viruses are programs that are designed to harm you. They steal credit card details, send spam, or show advertising. For example, one common virus is designed to look like an anti-virus program. However, unlike real anti-virus programs, all ...


4

Describe the Trojan Horse the Trojans used as an example. It's disguised as something useful, but will kill you if you let it in. Mention that Malware isn't considered a virus, but mostly a data thief or ad pusher that makes the thief money of them, even if they aren't aware of it


4

There is a huge amount of real world data freely available on various EU websites, such as Eurostat. All can be exported as .xls or .xml. Most national governments will have some similar statistics portal, although some require login/subscription for the raw data.


4

The game, Typing of the Dead. Wiki entry Coding horror review


4

I would not worry so much about forgetting what you've learned. I think Richard Feynman said too many people memorize useless facts that could just as easily be looked up in a book. Concentrate on recognizing problems and knowing where to look up the information on how to solve it. When you start your programming career, problems aren't going to pose ...


4

My advice to people on what version of Linux to install at the start is always: whatever your guru uses. That is, find someone who is willing to help you over the rough spots, and use what they know. But if you have a MacBook, consider installing fink, and using it to provide a full set of GNU tool which will make you environment closer to that of a Linux ...


3

The father of all of them: SuperMemo. I believe that it has the best algorithm after 24 years of development and experimentation (since 1985). It can be a bit overwhelming at first, but luckily you have the ability to switch all the complexity by choosing beginner or basic level, which leaves you with only the essential functionality, and you can always turn ...


3

Well, first DOS Prompt = Utilities --> Terminal. Now if you want to customize the prompt in the terminal, type man prompt... There's all the instructions... Second, why not check Apple's web site? Switch 101 Welcome to the Mac family! If you're a PC user who has just switched to the Mac and want to find out how to adapt your old working habits to ...



Only top voted, non community-wiki answers of a minimum length are eligible