![]() ![]() ![]() cat infilename | tr -d "\r" > outfilename more file read as much as the screen can display and wait untill Enter shows a new line less file the opposit of more Editing/comparing files nano file an easier editor on debian 4 with syntax highlighting set globally in /etc/nanorc vi file complicated but enhanced command line editor with syntax highlighting, auto indent and macro functionality. #Treesize for linux windows└── If the file has been edited on a Windows machine it can sometimes add CR/LF (VM) characters on the end of each line (hidden by default on most editors), so #!/bin/sh becomes #!/bin/shVM. Use option -prune to remove empty directories from the output Use option -F to append / to directories and append other characters (read "man tree") Use option -dirsfirst to list directories first directories at first, format trailing slash to directory/, one level down: tree -dirsfirst -FL 1 /etc/ Disk space manager TreeSize scans Windows, Linux, Unix and Amazon S3 storage and creates cross-system transparency with uniform reporting and management of. Ls -lap -sort=extension or ls -lap -sort=extension -reverse sort by file extension or in reversed order tree show directory and files as a tree, e.g. Ls -lap -sort=time or ls -lap -sort=time -reverse sort by time modified or in reversed order Ls -lap -sort=size or ls -lap -sort=size -reverse sort by size or in reversed order also hidden ones, -p to see folders marked with trailing “/” Ls -d */ list only directories in the current path ls -lap to better see all files, -l use long listing, -a list all files/directories, i.e. e/ -regex '.*ä.*\.svg' # find via regex using egrep, finds 8 numbers followed by optional _ followed by at least one number to the end of the search string # e.g.: /var/www/v-dina/w_20160403_0049įind /var/www/ -maxdepth 5 -type d -regextype posix-egrep -regex '.*_' \ ' ' \Ī source helping to understand the Linux file system is: ls -directory */ svg and ä-something in the current subdirectory. # regular expression search: # find a file with extension. #Treesize for linux softwareOne of my favorite pieces of software on windows is a little app called treesize free by Jam Software. Safe handling can be achieved by appending a " - ", e.g. A simple treesize shell script for Linux. This tool makes it easy to investigate why decreasing the disk. file names starting with a - (dash) will cause errors because a "-string" or "-string" triggers a command line option. Treesize Free is a free powerful software utility to view the space usage on the hard drive.to stop or interrupt a command line process immediately type Control-c.grep - (no space after -) then twice ⇄ (tab), it will show all available options that use two dashes ⇄ (tab) works for command line options as well, e.g.if you have typed an “a” and then ⇄ (tab) it will auto-complete all available a… command line programs.use auto-completion via ⇄ (tab) or twice ⇄ (tab):.type Control-r and start typing to retrieve the last commands you have used before, repeat to input Control-r to get the next matching command(s) that match your typing input.7.1 Changing permission of files/drectories. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |