For some commands additional or alternative documentation is provided via the command info. (Why are there two? "Historical reasons" probably.) Type info info for more information about this command.
For files, information about the file is displayed; for directories, information about its contents (directories) is displayed. Normally "hidden" files or directories (those whose names start with ".") are not shown, but you can include them with -A.
If you include -l, more information is printed for each file, including the date of last modification.
mypgm < inputfile
mypgm > outputfile
mypgm < inputfile > outputfile
Example: ls produces the following output:
program1.c program2.c another_program.cTo edit another_program.c, you can type vi an and then press the TAB key. The shell should fill in the rest of the file name another_program.c on the command line; you can then press ENTER to execute the command. To edit one of the other C files, you might type vi p and press the TAB key. The shell should then fill in as much of the name as it can and beep. You will see
vi programon the command line. You can then enter the rest of the name (1.c or 2.c) and press ENTER to execute the command. (Or you can just type the 1 or 2 and press TAB again to let the shell fill in the rest of the name.)
redefines the cp and mv commands to always use the -i option, and defines new commands rmi (rm with the -i option) and l (ls with options -Al). (Note that ls -Al is the same as ls -A -l.)alias cp='cp -i' alias mv='mv -i' alias rmi='rm -i' alias l='ls -Al'