Q. I'm an MCSE/MCITP have my bachelors, and 8 years experience but never touched Linux. I noticed a lot of jobs require some Linux. Obviously I'll never be a guru as I don't use it on the job and never have, but what's a good place to start and how much of it do I need to know to get around comfortably?
A. Get a hold of a few old computers, set up a LAN, and learn how to do anything you can think of. Start learning basic shell commands and how to look up such commands, "man" looks up the manual (docs) for each command, "apropos" searches man pages for a word to find a related command, etc.
If you have a network printer figure out how to use that. Set up apache webserver. Play around with bind9 configuring DNS zones for your LAN. Learn how "samba" interacts with Windows file and printer sharing and WINS. Set up a couple of mail servers using sendmail or postfix and learn how to successfully send mail between them.
And when you get comfortable enough with it, set up a Linux computer as your internet router, masquerading your private LAN from the internet, port forwarding, and other firewall rules (basically learning "iptables").
I am 1700 miles from our factory, so I am not sure what all they use Linux for. But it has been used as a safe public smtp interface for our mail, forwarded into/out of our internal Exchange server. They use Smoothwall Linux for "squid" web proxy (I use IPCop on an old K6-2/400 cpu for squid). Our document retrieval system for literature and drawings is apache webserver in Linux with search pages/scripts written by our network guru.
If you have a network printer figure out how to use that. Set up apache webserver. Play around with bind9 configuring DNS zones for your LAN. Learn how "samba" interacts with Windows file and printer sharing and WINS. Set up a couple of mail servers using sendmail or postfix and learn how to successfully send mail between them.
And when you get comfortable enough with it, set up a Linux computer as your internet router, masquerading your private LAN from the internet, port forwarding, and other firewall rules (basically learning "iptables").
I am 1700 miles from our factory, so I am not sure what all they use Linux for. But it has been used as a safe public smtp interface for our mail, forwarded into/out of our internal Exchange server. They use Smoothwall Linux for "squid" web proxy (I use IPCop on an old K6-2/400 cpu for squid). Our document retrieval system for literature and drawings is apache webserver in Linux with search pages/scripts written by our network guru.
How to cut and paste something in Linux, using the terminal?
Q. How do I go about cutting something in one directory and placing it into another directory in the terminal?
What are the "commands" (not sure if that's what they're called) and what are their arguments? I would appreciate anyone with helpful information's assistance.
Thank-you.
What are the "commands" (not sure if that's what they're called) and what are their arguments? I would appreciate anyone with helpful information's assistance.
Thank-you.
A. 1) If you are talking about copying text from the terminal, you can copy with ctrl+shift+C, and paste with shift+insert (might be 'ins' on the keyboard).
2) I'm assuming that you are actually talking about moving, or copying files in your computer. Here are some basic commands;
ls - lists files in the current dictory
[john@Aaarch ~]$ ls
43375-coolarch.png 64roms Desktop
[john@Aaarch ~]$
cd - change dictory
[john@Aaarch ~]$ cd ./Desktop/
[john@Aaarch Desktop]$
cd ./ will let you change to a subdictory within the dictory you are already in. cd / will change to a dictory from the beginning of the filesystem. cd /home/john/Desktop is would be the same as cd ./Desktop, if I are already located in /home/john. To move to /home/john, my home dictory, I could also use cd ~/.
so, I could also do cd ~/Desktop, because "Desktop" is a subdictory within /home/john. If you login as another user, you will have a different home dictory, and to change to john's dictory, you will have to use cd /home/john. Home dictories are usually located in the /home dictory.
Another feature is to move up to the parent dictory with cd.
[john@Aaarch Desktop]$ cd ../
[john@Aaarch ~]$ ls
43375-coolarch.png 64roms Desktop
[john@Aaarch ~]$
Simply type cd ../
To switch to another user, you would use su. Don't worry, this will only effect the terminal use issue su on, and you can always switch back.
To switch to the root user (administrative user), you can simply type in su. You will be prompted for the password. Be very carefull when working with the root user. You can damage your system. Only use the root user when needed.
If you get lost, you can use pwd to find your location.
[john@Aaarch Desktop]$ pwd
/home/john/Desktop
[john@Aaarch Desktop]$
To copy and remove files you would use these to commands:
cp - copy
rm - remove
There is as a command to just move files (cut and paste), but I don't use it too often.
mv - move
Too copy and remove dictories, you can use the -r arguement.
cp -r
rm -r
[john@Aaarch ~]$ cp ./43375-coolarch.png ./Desktop/
[john@Aaarch ~]$ cd ./Desktop/
[john@Aaarch Desktop]$ ls
43375-coolarch.png
[john@Aaarch Desktop]$
Keep in mind that Desktop is a dictory. Dictories are usually a different color, if your terminal supports that. To get even more information of files, you can use ls -l instead.
Another useful command is man. man will let you view the manual pages of a command, if there is any availabe. Most distros come with the manual pages installed, and can be very help if learning new commands.
These are just some of the basics, but you will be using these commands as long as you use the terminal. I suggest you read some linux guides and documentation. I'll list a few that I know of, but remember that google is your friend, and also try posting on some forums as well.
http://www.linux.org/docs/
http://www.linuxhq.com/guides/LUG/guide.html (pretty old, but explains the basics)
http://learnlinux.tsf.org.za/
2) I'm assuming that you are actually talking about moving, or copying files in your computer. Here are some basic commands;
ls - lists files in the current dictory
[john@Aaarch ~]$ ls
43375-coolarch.png 64roms Desktop
[john@Aaarch ~]$
cd - change dictory
[john@Aaarch ~]$ cd ./Desktop/
[john@Aaarch Desktop]$
cd ./ will let you change to a subdictory within the dictory you are already in. cd / will change to a dictory from the beginning of the filesystem. cd /home/john/Desktop is would be the same as cd ./Desktop, if I are already located in /home/john. To move to /home/john, my home dictory, I could also use cd ~/.
so, I could also do cd ~/Desktop, because "Desktop" is a subdictory within /home/john. If you login as another user, you will have a different home dictory, and to change to john's dictory, you will have to use cd /home/john. Home dictories are usually located in the /home dictory.
Another feature is to move up to the parent dictory with cd.
[john@Aaarch Desktop]$ cd ../
[john@Aaarch ~]$ ls
43375-coolarch.png 64roms Desktop
[john@Aaarch ~]$
Simply type cd ../
To switch to another user, you would use su. Don't worry, this will only effect the terminal use issue su on, and you can always switch back.
To switch to the root user (administrative user), you can simply type in su. You will be prompted for the password. Be very carefull when working with the root user. You can damage your system. Only use the root user when needed.
If you get lost, you can use pwd to find your location.
[john@Aaarch Desktop]$ pwd
/home/john/Desktop
[john@Aaarch Desktop]$
To copy and remove files you would use these to commands:
cp - copy
rm - remove
There is as a command to just move files (cut and paste), but I don't use it too often.
mv - move
Too copy and remove dictories, you can use the -r arguement.
cp -r
rm -r
[john@Aaarch ~]$ cp ./43375-coolarch.png ./Desktop/
[john@Aaarch ~]$ cd ./Desktop/
[john@Aaarch Desktop]$ ls
43375-coolarch.png
[john@Aaarch Desktop]$
Keep in mind that Desktop is a dictory. Dictories are usually a different color, if your terminal supports that. To get even more information of files, you can use ls -l instead.
Another useful command is man. man will let you view the manual pages of a command, if there is any availabe. Most distros come with the manual pages installed, and can be very help if learning new commands.
These are just some of the basics, but you will be using these commands as long as you use the terminal. I suggest you read some linux guides and documentation. I'll list a few that I know of, but remember that google is your friend, and also try posting on some forums as well.
http://www.linux.org/docs/
http://www.linuxhq.com/guides/LUG/guide.html (pretty old, but explains the basics)
http://learnlinux.tsf.org.za/
What is the Fastest way to teach myself EVERYTHING about computers?
Q. Without taking classes, or minimal classes, considering I have basic computer skills. How can I learn programming, web design, hacking, and other basic IT skills? What books should I read? Best answer gets the points.
A. You could study the rest of your life and you still would never know EVERYTHING about computers. I'll recommend a few books though.
Install Linux on your computer (you want to know EVERYTHING, right? That must include Linux) and get comfortable with it. I recommend Ubuntu because it's easy for beginners. Here's a link to a free ebook that will you help you get acquainted with it:
http://www.ubuntupocketguide.com/index_main.html
If you want more advanced Linux skills, I recommend Linux Command Line and Shell Scripting Bible by Richard Blum. It's pretty detailed and by the end of it you'll be good with the command line and bash scripting.
If you want to learn web design, you should learn HTML - no book recommendation here because you can just google for an HTML tutorial. It's not a programming language, it's not hard, and if you find a long book on HTML it's surely a waste of time.
You'll also want to learn Javascript, probably, for web design. I recommend Object-Oriented Javascript by Stoyan Stefanov. It's a pretty concise book and might be hard to follow if you haven't had any previous programming.
If you want to learn PHP for web development, I really can't recommend anything. I read a fabulous PHP book a few years ago, but it was on PHP 4, and PHP 5 is standard now, so I'm not going to recommend a PHP 4 book. I think PHP may be losing favor to Python though.
Everyone seems to love Python nowadays. Try Learning Python by Mark Lutz. It's 1200 pages long and rather detailed, and the author seems to assume you've had some math, but you need to learn math anyway if you're going to learn EVERYTHING about computers.
That'll keep you busy for a while. After that, you might see how impossible it really is to try to learn everything. You can learn a lot though, and sometimes it's more important to be able to find the information you need than to have things memorized.
Install Linux on your computer (you want to know EVERYTHING, right? That must include Linux) and get comfortable with it. I recommend Ubuntu because it's easy for beginners. Here's a link to a free ebook that will you help you get acquainted with it:
http://www.ubuntupocketguide.com/index_main.html
If you want more advanced Linux skills, I recommend Linux Command Line and Shell Scripting Bible by Richard Blum. It's pretty detailed and by the end of it you'll be good with the command line and bash scripting.
If you want to learn web design, you should learn HTML - no book recommendation here because you can just google for an HTML tutorial. It's not a programming language, it's not hard, and if you find a long book on HTML it's surely a waste of time.
You'll also want to learn Javascript, probably, for web design. I recommend Object-Oriented Javascript by Stoyan Stefanov. It's a pretty concise book and might be hard to follow if you haven't had any previous programming.
If you want to learn PHP for web development, I really can't recommend anything. I read a fabulous PHP book a few years ago, but it was on PHP 4, and PHP 5 is standard now, so I'm not going to recommend a PHP 4 book. I think PHP may be losing favor to Python though.
Everyone seems to love Python nowadays. Try Learning Python by Mark Lutz. It's 1200 pages long and rather detailed, and the author seems to assume you've had some math, but you need to learn math anyway if you're going to learn EVERYTHING about computers.
That'll keep you busy for a while. After that, you might see how impossible it really is to try to learn everything. You can learn a lot though, and sometimes it's more important to be able to find the information you need than to have things memorized.
Nec Projector Review
Plastic Shed Reviews
Ati Graphic Reviews
Nurse Uniforms Reviews
Cabochons Reviews
Inflatable Water Slides Reviews
Barcode Scanner Reviews
No comments:
Post a Comment