ls --- lists files ls -l --- lists files in 'long format', I.E. size of the file, owner of the file, who has the right to look at it or the privileges and last modification information. ls -a --- lists all files, including the ones whose filenames begin in a dot more filename --- shows the first part of a file, that much is displayed on one screen. To see more spacebar is returned or q can be pressed to quit. / pattern can be used to search for a pattern. emacs filename --- is an editor that allows to create and edit a file. mv filename1 filename2 --- moves a file i.e. gives it a different name, or moves it into a different directory cp filename1 filename2 --- copies a previously existing file. rm filename --- removes a file. The option rm -i, asks for confirmation before actually deleting anything. diff filename1 filename2 --- compares files, and shows where ...
Everything is Shortcut. Learn Shortcut and Do differently