A A A

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
bash usefull command
May 20, 2015
8:13 am
Lo0oM
Admin
Forum Posts: 217
Member Since:
September 30, 2012
Offline

Hi

 

find . -type f -name *.rpm -exec rpm -ivh --nodeps {} ;

 

This command will find all rpm files in all directories (starting from current) and install them.

 

 

for i in *.gz; do gzip -d -c $i|tar xvf -;done

 

This command will extract multiple tar.gz files in current directory

 

 

rpm -qa |grep MySQL |xargs rpm -e --nodeps;

Removing all MySQL rpm's from OS.

 

 

Thank you.

Forum Timezone: UTC 0

Most Users Ever Online: 31

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 0

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 20

Topics: 214

Posts: 214

Newest Members: Lo0oM

Administrators: Lo0oM (217)