Linux Commands Interview Questions and Answer C, C++,Java, Unix, Networking, Data Structure, STL,Unix Commands, Operating System
This is a free C, C++, Java, Unix, Networking, Data Structure, STL, Unix Commands, Operating System site, to help you to learn and sharpen your axe for interview.


Linux Commands, Tools, Utility And Man page information


Page 1 2 More Linux Commands & Man pages

  • archie (filename)-- search the Archie database for a file on a FTP site
  • bc --- a simple calculator
  • cal --- shows a calendar of the current month
  • cat --- for creating and displaying short files
  • chmod --- change permissions
  • chsh --- change the shell you log into
  • cd --- change directory
  • cmp: Comparing two files
  • cp --- for copying files
  • date --- display date
  • difffilename1 filename2 --- compares files, and shows where they differ
  • dos2unix (file) (new) - strips CR's out of dos text files
  • echo --- echo argument
  • ff--- find files anywhere on the system
  • fingerusername --- gives you lots of information about that user
  • ftp --- connect to a remote machine to download or upload files
  • grep --- search file
  • head --- display first part of file
  • jobs --- lists your currently active jobs (those that you put in the background) and their job numbers
  • ls --- see what files you have
  • lpr --- standard print command
  • lynx --a textual World Wide Web browser
  • more --- use to read files
  • mkdir --- create directory
  • mv --- for moving and renaming files
  • ncftp --- especially good for downloading files via anonymous ftp.
  • print --- custom print command
  • passwd--- change your password
  • pwd --- find out what directory you are in
  • rm --- remove a file
  • rmdir --- remove directory
  • rsh --- remote shell
  • setenv --- set an environment variable
  • sort --- sort file
  • tail --- display last part of file
  • tar --- create an archive, add or extract files
  • telnet --- log in to another machine
  • unix2dos (file) (new) - adds CR's to unix text files
  • wc --- count characters, words, lines
  • ·gzip filename --- compresses files, so that they take up much less space. Usually text files compress to about half their original size, but it depends very much on the size of the file and the nature of the contents. There are other tools for this purpose, too (e.g. compress), but gzip usually gives the highest compression rate. Gzip produces files with the ending '.gz' appended to the original filename.
  • gunzip filename --- uncompresses files compressed by gzip.
  • gzcat filename --- lets you look at a gzipped file without actually having to gunzip it (same as gunzip -c). You can even print it directly, using gzcat filename | lpr
Page 1 2 More Linux Commands & Man pages