Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello everyone!
I am new baby in Linux & need some troubleshooting commands as I am preparing for my AWS Interview & Linux is main part which attracts lots of questions.Hope to get some good responses.
Hello everyone!
I am new baby in Linux & need some troubleshooting commands as I am preparing for my AWS Interview & Linux is main part which attracts lots of questions.Hope to get some good responses.
Happy to give you some answers, as soon as you ask questions. We can help with specific things, but 'troubleshooting commands' is FAR too vague and broad for anyone to even guess at. And add to that, an interviewer can as ANYTHING they want, and accept ANY answer they want. No way to know, except for you to actually know the subject of the job you're interviewing for. If you have the skill and qualifications, you should be all set.
If not, there is nothing here that will do you any good, to be honest. Because even IF we knew the questions they were going to ask, and gave you all the answers...you would not be able to actually do the job after you're hired, would you? Take an honest look at your skills and compare them against the job listing...the worst thing you can do is to get a job you're not qualified for.
I would rather say, there is no such thing "troubleshooting commands". There are commands available on linux and they can be used to develop something, calculate something, executing/drawing/whatever and also for troubleshooting.
Troubleshooting can be considered an art. You first need to identify the problem and that can be done using logs in '/var/log' or even 'dmesg' to hopefully indicate the issue. If diagnosing a network issue/problem I would likely use the commands; ifconfig, iwconfig and route to certify the setup is correct. You can use 'man command' to get useful information. Your techniques for such issues will be derived from experience to allow you to form proper procedures. If for example you are using wired inet then I would check to make sure the driver is correct for the device from 'lspci' information. If that is correct then I would ping from command line a known location using the proper information. If you get errors then I would then ping the IP of the named location, if that checks OK then my suspicions would be faults with the 'nameserver'. Check to be sure the 'nameserver' is functional with proper IP. If not then check the routing table by using 'route -n' command.
But you must be aware that most issues are from a previous operating hardware can turn out to be a hardware fault. If so then proper hardware diagnostics can be performed on the device in question. These diagnostics are generally provided by the device manufacture.
-- Memory: memtest86 <- 'Memtest-86 is a very thorough stand-alone memory test for x86 and Pentium systems (and compatibles). It currently does 11 tests to fully determine whether you have faulty RAM or not.' memtest86+ <- 'memory tester which is based on memtest86 v3.0, and provides an up-to-date version of this useful tool, which aims to be as reliable as the original. It has been fixed to work on AMD64 systems, and also properly detects all current CPUs and motherboard chipsets. The project supports ECC polling for AMD64, i875P, and E7205, and displays some useful settings for the most popular chipsets' Recovery & Diagnostic: Howto Reboot or halt Linux system in emergency <- 'This is quite useful when Linux based system is not available after boot or after a X server crashed ( svgalib program crashes) or no display on screen.' + Good read Slax Downloads <- LiveCD, useful recovery tool - Your Pocket OS + Slax FTP (R)ecovery (I)s (P)ossible <- RIP SlackwareŽ Linux rescue system UBCD Ultimate Boot CD <- 'UBCD allows users to run floppy-based diagnostic tools from most CDROM drives on Intel-compatible machines, no operating system required. The cd includes many diagnostic utilities.' TRK <- Trinity Rescue Kit + 'Aims specifically at recovery and repair operations on Windows machines, but is equally usable for Linux recovery issues.' Knoppix STD 0.1 <- Security & Recovery Tool + Knoppix STD description SystemRescueCd <- 'is a Linux system on a bootable CD-ROM for repairing your system and recovering your data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the partitions of the hard disk. It contains a lot of system utilities (parted, partimage, fstools, ...) and basic tools (editors, midnight commander, network tools).' + 'Online-Manual TestDisk <- 'tool to check and undelete partition, supports reiserfs, ntfs, fat32, ext2/3 and others' + Above Livecds contain TestDisk + TestDisk Wikipedia + wiki + Data Recovery using TestDisk PhotoRec, Digital Picture & File Recovery <- 'PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (thus, its 'Photo Recovery' name) from digital camera memory. PhotoRec ignores the filesystem and goes after the underlying data, so it will still work even if your media's filesystem has been severely damaged or re-formatted'+ After Using PhotoRec + PhotoRec Wiki Windows Vista Recovery Disc Download<- 'Windows Vista Recovery Disc Download ' + 'If you're like most PC users, you probably got Windows Vista with a new PC or laptop. And if you're like 99% of the population, you get your new machines from one of the major manufacturers. Dell, Acer, HP, Toshiba, Lenovo, they all have one thing in common: they don't give you a real Windows Vista installation disc with your purchase. Instead, they bundle what they call a "recovery disc" (that's if you're lucky - otherwise you'll have a recovery partition instead) with your machine and leave it at that.' Do Everything Boot Disks <- 'OlderGeeks.com Free Software Downloads' + 'Loads of diagnostics & other media' + 'Not just for old geeks '
Remember that experience will always help you to form a diagnosis. By learning to ID the problem then break things down to the problem area to scope into a point to start testing. Thus allowing the repair either by tweaking or replacing the faulty hardware.
Quote:
"Knowledge is of two kinds. We Know a subject ourselves, or we know where we can find information upon it."- Samuel Johnson
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.