Posts Tagged With: list

Show all Installed Packages in Debian

Tagged with: , , , , ,

Show all deb packages installed on the system


dpkg -l
1 Comment »

Update Package List in Apt

Tagged with: , , ,

Update the package list - do this after you change the source in /etc/apt/sources.list .


apt-get update
No Comments »

List Encoding - iconv

Tagged with: , , , , ,

This command lists all known encodings


iconv -l
No Comments »

List all Installed RPMs

Tagged with: , , , , ,

List all packages installed on the system


yum list
No Comments »

List all Installed RPMs by Size

Tagged with: , , , , , , ,

Show space used by rpm packages installed sorted by size (fedora, redhat and like)


rpm -q -a --qf "%10{SIZE}\t%{NAME}\n" | sort -k1,1n
No Comments »

Linux Command to List all the Files Recursively

Tagged with: , , , , ,

Recursively list all files in the current folder and all the sub folders


ls -R

ls -R1
No Comments »

Listing all Files Recursively in Windows

Tagged with: , , , , , , ,

Save the list of all files in a folder in windows - recursively.


dir /s /b>FileList.txt

[tags]command, dir, directory, folder, windows, list, ls ,recursive[/tags]

No Comments »

Remove Extension in Shell Scripting

Tagged with: , , , , , , ,

This command will list all the files a folder without their extensions. Comes handy when doing shell scripting


perl -e 'while(<*.*>){s/\..{3}$//i;print "File \"$_\"\n";}print "\n";'
No Comments »

List All Files in a Folder Recursively

Tagged with: , , , , , , ,

Save the list of all files in a folder - recursively.

find .|sed 's/\.\///;'

Another option is

ls -R -1

Kind of like the DOS command ‘dir /s

[tags]dir,ls,command,linux,folder,list,recursive,directory[/tags]

No Comments »